Steven Dickenson wrote: > Matt Kettler wrote: > >> qmail-scanner may have many positive attributes, but flexible control >> of scanning is not one of them. > > > I don't think it's so much their problem, as it is a general limitation > of SMTP-time rejection. Since a single message could be intended for > multiple recipients (and thus multiple domains), you can't really do any > type of per-user (and by extension, per-domain) settings during the SMTP > session. Once you've hit the DATA phase, a reject is all or nothing.
While that fact is true, the recipient list is known BEFORE the data phase begins. Since SA isn't invoked until the DATA phase, you can decide to skip SA before the DATA phase starts. All you'd have to do is bypass scanning if any of the RCPT To: addresses are part of the bypass list.