Carl A jeptha a écrit : > Hi, > Originally I had a working version of Postfix, But due to clients' > clicking and downloading things they shouldn't our mailserver was > getting blacklisted to often. > I proceeded to implement the Amavis-New instructions as per this this site: > https://help.ubuntu.com/community/PostfixAmavisNew > eventually I was able to set up the server today, but receive the > following errors at bootup: > > Jul 19 17:23:45 mail spamass-milter[3544]: spamass-milter 0.3.1 starting > Jul 19 17:23:45 mail postfix/smtp[3550]: fatal: unexpected command-line > argument: 127.0.0.1:10025 >
remove the spaces before 127.0.0.1:10025 in your master.cf. Leading spaces mean it is a continuation line. read postconf(5) for more on this. > When checking the mail queue I see incoming mail has the following error: > Always show _logs_ instead of queue text or bounces. > [snip] > > Here follows my main.cf and master.cf > > MAIN.CF > don't show main.cf. show output of 'postconf -n'. > [snip] > smtp-amavis unix - - y - 2 smtp > -o smtp_data_done_timeout=1200 > -o smtp_send_xforward_command=yes > -o disable_dns_lookups=yes > -o max_use=20 > > 127.0.0.1:10025 inet n - y - - smtpd do you see the space before 127... ? > [snip]