Problem with virus scanning rules

Mariano Absatz mailscanner at LISTS.COM.AR
Fri Jun 11 00:19:50 IST 2004


Am I wrong... or he's complaining that when a message has multiple 'RCPT TO:' 
it does the same for everyone?

IIRC, your standard solution is to tell Sendmail to generate multiple 
messages when this happens.

Since ZMailer doesn't allow you to do this (and I don't like it very much 
'cause, when you may have many multi-recipient messages and most of the time, 
all must be treated equal, it does add lots of messages)...

IF this is the problem at hand then, one option is to tell Sendmail to 
generate individual messages for individual recipients when a message is 
'multirecipient'.

BUT... Leo and I have developed a semi-awkward solution for a specific case 
with ZMailer, where some recipients had to be virus scanned and some others 
not...

This awkward solution, during ReadQf quickly checks every recipient against 
'something' (in our specific case, a SleepyCat BerkeleyDB) and if (and only 
if) the virus treatment for every recipient is not identical, it 'splits' the 
message (modifying only the envelope), create two messages, reinsert the 
messages in the incoming queue and delete the original message... next time, 
both messages will be either to be scanned or not to be scanned, so 
processing will go on.

We're writing a new version that, keeping the idea (and part of the 
awkwardness) will be much more general and will allow you to split the 
message on different conditions (what we need is independently decide if 
antivirus checks and/or antispam checks should be carried on, but it was 
already time for a more general and elegant solution).

Once it's done it should be possible to port to other MTAs and it would 
require that specially crafted CustomFunctions be developed to take the 
decission... we have to do it searching for LDAP data, but it can be done 
with anything... 

Once its working, I'll publish this here, along with some CustomFunctions 
that work for that.

Regards.


El 10 Jun 2004 a las 22:00, Julian Field escribió:

> At 15:40 10/06/2004, you wrote:
> >What can I do? Is there any rule that can help me? or a special
> >configuration? Is it a bug in MailScanner?
> 
> It's definitely a problem I need to look at. The patch should be very small.
> Mail me off-list to remind me to do it for you.
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> -------------------------- MailScanner list ----------------------
> To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/     and the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html


--
Mariano Absatz
El Baby
----------------------------------------------------------
Maintenance-free: When it breaks, it can't be fixed...

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html




More information about the MailScanner mailing list