I have followed Falko's tutorial http://www.howtoforge.com/virtual-u...x-courier-mysql-and-squirrelmail-ubuntu-12.10 . The interestting part was to have user quotas. Then, without a though I ran apt-get upgrade and this upgraded my patched Postfix. Ooops. Now, every time I restart Postfix, I get these warnings that "....warning: /etc/postfix/main.cf: unused parameter: virtual_overquota_bounce=yes....." I am afraid I messed up the quota patch. Any suggestions?
I had the same scenario and at the end, I decided to go without the quota... I simply removed those unrecognized parameters from main.cf Postfix config file and now everything is working...
Same here. The setup still works. I guess I could go back, recompile the old version....... DON'T FIX IT IF AIN'T BROKE!
Does this setup really work? That's a good question. I see a header in the received emails that says X-Virus-Scanned: Debian amavisd-new at stupid.domain.com I don't see any headers with reference to SPAM, spam score, SpamAssassin. So I am NOT convinced that SA is running properly. More so because yesterday I received a spam message that shouldn't have gotten through at all. Would anyone here have a suggestion how to add the SpamAssassin headers into the messages and make sure that SA works? Thanks!
If you want to force the X-SPAM headers, you need to edit /etc/amavis/conf.d/50-user by adding this line: Code: @local_domains_acl = ( "." ); And this is how it looks in the email message headers: Code: X-Virus-Scanned: Debian amavisd-new at my.awesome.tld X-Spam-Flag: NO X-Spam-Score: -1.1 X-Spam-Level: X-Spam-Status: No, score=-1.1 tagged_above=-9999 required=6.31 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham
Here is excerpt from my mail.info log, a message I tried sending to myself with some common spam words (like pharma): Code: Jan 27 09:42:58 myhostname amavis[6658]: (06658-01) Blocked SPAM {DiscardedInbound,Quarantined}, [198.143.169.10]:58187 [198.143.169.10] <[email protected]> -> <[email protected]>, quarantine: z/spam-zRf-0a_2SC1x.gz, Queue-ID: 4FF02276FB, Message-ID: <[email protected]>, mail_id: zRf-0a_2SC1x, Hits: 6.393, size: 1617, dkim_sd=better:guerrillamail.com, 1938 ms Jan 27 09:42:58 myhostname postfix/smtp[6705]: 4FF02276FB: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.3, delays=2.3/0.07/0.02/1.9, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=06658-01 - spam) Thumbs up! I still need to learn more about using SpamAssassin.