Using procmail as MDA with postfix as MTA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use postfix as my MTA. I also use spamassassin for spam filtering and
have been using procmail to pipe messages through it. In order to do
that I have the following ~/.forward

"|exec /usr/bin/procmail"

and the following ~/.procmailrc

INCLUDERC=/etc/mail/spamassassin/spamassassin-spamc.rc

However, I have just discovered the following line in
/etc/postfix/main.cf:

#mailbox_command = /some/where/procmail

If I uncomment that line and change it to

mailbox_command = /usr/bin/procmail

then I assume that I can remove my ~/.forward. Is that correct? If so,
then I wonder if someone could tell me the following things:

     A. Will invoking procmail directly from within postfix give me
        *exactly* the same behaviour as I have at present by invoking it
        with ~/.forward?
     B. Is there any difference in efficiency, or any other reason you
        can think of to prefer one way to the other?
     C. If procmail is called from within postfix's main.cf will it
        still spawn spamc running as me? This is important because I use
        the Bayesian filtering in spamassassin and all my Bayesian data
        is in ~/.spamassassin.

TIA.

Best, Darren

-- 
=====================================================================
D. D. Brierton            darren@xxxxxxxxxxx          www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
=====================================================================


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux