Stefan, > while I realize that it is not really clever to ask questions about a > setup not officially supported, I've run into a small problem while > doing prelimiary tests with amavisd-new as a pre-queue filter. > > If a multi-recipient mail is passed from the frontend MTA to > amavisd-new, and this mail is e.g. considerd SPAM by Spamassassin or > DSPAM, amavisd-new will properly accept and forward the mail to those > recipients who are either spam_lovers or have bypass_spam_checks set. > This is expected behaviour. Unfortunately, the mail in question is > then quarantined for those recipients who do not want to receive spam.
Saying 'multi-recipient mail...quarantined for those recipients who...' is wrong. Quarantining works at a per-message level, not at a per-recipient level. There is only one quarantine copy per message regardless of how many of its recipients considered it spam. > Is there a way to modify the behaviour so that amavisd-new either > > 1. rejects the whole mail if ONE recipient's settings would reject the > mail or > > 2. deliver the mail to all recipients if ONE recipient's settings > would accept it It is unacceptable that one recipient's policy could affect another by a simple metter of including such recipient in a list of recipients of a message; such design will not be implemented. > - but without quarantine and, e.g. "+" adressing for > the recipients who do not want to receive spam? > > To further clarify this, consider two recipients, e.g. > [EMAIL PROTECTED] and [EMAIL PROTECTED] If a mail is > considered SPAM, I'd like amavisd-new to either return a 5xx for the > whole message or forward the message to [EMAIL PROTECTED] and > [EMAIL PROTECTED] (note the extension "+spam" for > [EMAIL PROTECTED]). Doesn't it already work like that? I believe it does, it will return 5xx if all recipients reject it, otherwise it will return 250 and pass to spam lovers normally, and to spam haters by appending a "+spam" address extension. Just disable quarantining and you are done. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
