[CentOS] postfix + amavisd-new

Aly Khimji aly.khimji at gmail.com
Fri Jul 5 21:27:19 UTC 2013


Hey Timothy,

As per you email you appened this to main.cf

amavisfeed unix    -       -       n        -      2     lmtp
    -o lmtp_data_done_timeout=1200
    -o lmtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
    -o max_use=20

This should go into master.cf

Give it a shot,

Aly




On Fri, Jul 5, 2013 at 4:07 PM, Timothy Murphy <gayleard at alice.it> wrote:

>
> I've been following the instrunctions in
> <http://wiki.centos.org/HowTos/Amavisd>
> for installing Amavisd, Clamav and SpamAssassin
> on top of postfix/dovecot .
>
> Dovecot is working fine,
> but I want to deal with spam email.
> (I am using sendmail/dovecot with procmail and spamassassin
> on another server, but decided to go over to postfix
> on this server when I saw it is now the CentOS default.)
>
> However, I came to a problem at the end of the instructions,
> when I appended
> ----------------------
> #
> ==========================================================================
> # service type  private unpriv  chroot  wakeup  maxproc command + args
> #               (yes)   (yes)   (yes)   (never) (100)
> #
> ==========================================================================
> amavisfeed unix    -       -       n        -      2     lmtp
>     -o lmtp_data_done_timeout=1200
>     -o lmtp_send_xforward_command=yes
>     -o disable_dns_lookups=yes
>     -o max_use=20
> ----------------------
> to /etc/postfix/main.cf .
>
> After doing this, when I ran
> #postfix reload
> or "sudo service postfix restart"
> I got the error message
> ----------------------
> postfix: fatal: /etc/postfix/main.cf, line 699:
> missing '=' after attribute name:
> "amavisfeed unix    -       -       n        -      2     lmtp
>   -o lmtp_data_done_timeout=1200    -o lmtp_send_xforward_command=yes
>   -o disable_dns_lookups=yes    -o max_use=20"
> [all one line]
> ----------------------
>
> Any elucidation or advice gratefully received.
>
>
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list