Chris L. Mason <[EMAIL PROTECTED]> wrote:
> 
> I've already made some changes to the email that is sent regarding the
> virus alerts, and that works fine.  The problem is the actual queued
> message being processed.  In the case of a non-virus email, the real
> qmail-remote program is run, and if it delivers the message okay, it
> somehow signals this to qmail-lspawn (I believe), which results in the
> message being cleared from the queue.
> 
> Because of the qmail-lspawn and qmail-remote interaction, having the
> scanmails script just exit results in the original email being bounced.
> This is what I'm trying to avoid.  I'd like to just tell qmail-lspawn that
> everything was delivered okay (basically lie to it), so that there is no
> bounce generated.

Hmm -- in a .qmail file, an exit code of 99 is supposed to tell it that the
delivery was OK, but not to process further delivery instructions.  Would
that be useful in this circumstance?  I haven't looked into how AMaViS hooks
into the qmail system, so I don't know myself.

Charles
-- 
----------------------------------------------------
Charles Cazabon           <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------

Reply via email to