Hey all!
I'm setting up amavisd-new on my Linode as part of an anti-virus package. The instructions say to add the following to Postfix's main.cf file:
smtp-amavis unix - - y - 2 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 relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
When I do this and excecute a "postfix reload" command, I get the following error:
postfix: fatal: /etc/postfix/main.cf, line 30: missing '=' after attribute name: "smtp-amavis unix - - y - 2 smtp"
sushi:/etc/postfix#
I've seen the exact same instructions in a couple of different places (for reference, the ones I'm reading at the moment can be found
here
Anyone know what I'm doing wrong?