Bill Merriam writes:
Sam Varshavchik wrote:Bill Merriam writes:I am, from time to time, having my mail rejected with "556 Address unavailable" messages. That is a permanent error and the sender does not retry. I don't know I didn't get a message unless I search the mail log for 556 messages. After a few hours courier again begin accepting mail for me. I have noticed that "534 Message header size, or recipient list, exceeds policy limit." sometimes seem to start this happening. The mail with the 534 error is spam and a permanent error is just fine with me. My problem is I don't want a failure to handle a spam message to cause legitimate mail to be rejected with a permanent error.534 will not cause a subsequent 556. 556 is only triggered when Courier fails to deliver a message to the recipient, not when Courier refuses to accept a message. You have something else that's going on, or the two are unrelated.I am running spamc in a mail filter.
That would be the "something else", then.
I have it add headers with test
scores. For REALLY spammy spam it adds so many lines (or maybe its one
really long line) that it causes the 534. I am running my MX servers
and my IMAP server on separate machines
Another "something else".
so after spam filtering on the
MX server it resubmits the message to go to the IMAP machine.
Whether or not the 534 is causing the 556 I should probably figure out
how to limit the size of the added headers.
Well, you have here two machines here, and not one. This is a completely different situation.
Generally, this set up is really not the best way to go on the modern Internet. Ten years ago there would be nothing wrong with settings things up like that. But, ten years ago, 80% of e-mail wasn't spam. The rules are different now.
The issue here is that spamc should not be adding huge headers like that. Something is broken there, but unless you can figure out what it is, and fix it, your only choice is to turn off backscatter suppression, and walk the line, betting that it's unlikely that someone will use you to launch a proxy mailbomb, getting you blacklisted for the next couple of months.
Your recommended solution is to mount your IMAP mailstore on the MXs, and have mail delivered directly by your MXs. Furthermore, you will need to set up your spam filter so that it rejects mail inline, rather than accept it and filterit after its acceptance. That should be your default spamc configuration instructions, from what I recall other people have said in the past, but I don't know, I don't use it.
pgpCLLlBbhpHx.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
