On Monday, Jun 23, 2003, at 21:02 Europe/London, Steph L wrote:

Hi,

I've started to use qpsmtpd and I'm attempting to integrate qpsmtpd with
amavisd-new (http://www.ijs.si/software/amavisd/). The plugin I'm
attempting to write in some certain circumstances (virus found, attachment
not accepted, ...) must be able to discard/delete and stop any processing
of the original message (in such cases a policy notification is sent back
to the sender later).


Looking at the return codes it seems that currently there is no DISCARD
return code. Is it possible to add such return code in next versions ?
Is it some qmail's limitation ? I'm rather used to postfix/sendmail and
these MTAs offer some DISCARD feature  ?

qpsmtpd is quite strict to the SMTP spec on this - either it delivers or it sends a failure return code (4xx or 5xx).


Though honestly I've been thinking of adding something like this recently.

Right now you can return DONE from a hook and it will simply not return any status code. But I think this will really confuse most mailers (though probably spamware won't care much).

Matt.



Reply via email to