Autor: Tom Kistner Data: A: Andrew Lewis CC: exim-users Assumpte: Re: [Exim] Reject spam after DATA, Multiple user Preferences
Andrew Lewis wrote:
> What I want to know is if it is possible, in theory or in practice (And
> indeed, if anyone is doing this I would like to know how): To run
> antispam checks for all users receiving the mail according to their
> personal profile, reject the mail if it's marked as spam for some users,
> possibly listing those users in the rejection message, and then go ahead
> to quarantine/forward/send the copies of that mail as appropriate? What
> issues face an implementation like this?
If your "reject" means "reject after data" then this is not possible.
You can either reject for everyone or noone.
What you could do is to find out how many multi-RCPT messages you have
at all. If the number is low (it generally is), it may be sufficient to
only run spam checks on single-RCPT messages and mark multi-RCPT ones
with a header.