Mailscanner and Warning Messages

Julian Field mailscanner at ecs.soton.ac.uk
Thu Sep 4 09:15:36 IST 2003


At 23:52 03/09/2003, you wrote:
> > Am I correct in what I'm seeing?  When MailScanner creates the warning
> > messages is it dropping the message into mqueue.in?  I've been watching
> > queues and I was surprised to see them in mqueue.in since I would have
> > thought it would drop them in mqueue.  If it's placed in mqueue.in
> > wouldn't that be more work since mailscanner is scanning that message on
> > the next pass?
>
>Thats the way it works yes, pretty safe :) Julian, to avoid wasting
>valuable resources would it be possible to make it configurable where to
>place them ? In the outgoing queue would be better. But on the other hand
>i can imagine you dont want to write the message itself but let a local
>process handle that. Since queue files differ for each mailer.

It should be configurable already. See MailScanner.conf:

# Set how to invoke MTA when sending messages MailScanner has created
# (e.g. to sender/recipient saying "found a virus in your message")
# This can also be the filename of a ruleset.
Sendmail = /usr/lib/sendmail

Now I've never tried it, but I don't see why you shouldn't be able to say

Sendmail = /usr/lib/sendmail -OQueueDirectory=/var/spool/mqueue

but I still prefer to scan messages I just created, in case something nasty
happens. I never have seen anything nasty happen here, but that's just
because I haven't been imaginative to create the scenario :-)
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list