(Postfix/Cyrus)+SpamAssassin ?

Wil Cooley wcooley at nakedape.cc
Tue Mar 16 19:13:17 EST 2004


On Tue, 2004-03-16 at 15:41, Ian Beyer wrote:

> Has anyone implemented this successfully? If so,how? Everything I've
> found from Google uses the old cyrdeliver methods.

Postfix main.cf:

mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp

For SpamAssassin, I use amavisd-new
(http://www.ijs.si/software/amavisd/).  It doesn't give you all of the
per-user config you can have using SA w/in procmail or other pipeline,
but it's pretty fast and works pretty well.  If you need all the
per-user settings possible with SA, then you do have to use 'deliver'.  

Again in main.cf:

content_filter = smtp-amavis:[127.0.0.1]:10024

And master.cf:
smtp-amavis unix -      -       y     -       6  smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes
 
127.0.0.1:10025 inet n  -       y     -       -  smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o myhostname=localhost.nakedape.priv
    -o smtpd_helo_restrictions=
    -o smtpd_client_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8

These settings are explained in detail in the amavisd-new docs.

Wil
-- 
Wil Cooley                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *
* Naked Ape Consulting                   http://nakedape.cc  *
* Contract Sys Admin               http://nakedape.cc/r/csa  *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040316/eb146716/attachment.bin


More information about the Info-cyrus mailing list