On Wed, 10 Sep 2014 09:56:06 -0300 "M. Rodrigo Monteiro" <fale...@rodrigomonteiro.net> wrote:
> My problem is that when an e-mail comes to multiple destinations and > one of them is whitelisted, all these destinations becomes whitelisted > too. There are really only two ways to get around this, and neither one is particularly pleasant. Option 1 is to tempfail all RCPT: commands after the first successful one. This lets you process per-user rules, but has the very bad side-effect of significantly delaying messages to a large number of recipients. Depending on the other end, the sender may get a delivery-delayed warning or the message might not even reach all recipients. Also, some marginal SMTP implementations are not tested very well and do not react correctly if some RCPT commans succeed and others are tempfailed. Option 2 is to accept the message unfiltered, split it into multiple copies, and remail each copy so it can be scanned per-recipient. This avoids the delay, but it also means you cannot reject spam with a 5xx SMTP failure code or you'll be blacklisted for backscatter. Here at Roaring Penguin, we picked Option 2 as the lesser of the two evils. Regards, David.