Hello All,
I have courier.0.35 running on redhat 7.1. Maildrop does the delivery for
all mail locally and globally.
I am having issues with maildrop filtering and delivery.
I employ the following global mail filter file (maildroprc) to screen for
certain attachments and then if found send them to the system administrator
instead of the intended recipient.
if(/From:.*sysadm/ || /Delivered-To:.*sysadm/)
{
}
else
if(/.*name=.*\.exe\"/:b \
|| /.*name=.*\.vbs\"/:b \
|| /.*name=.*\.scr\"/:b \
|| /.*name=.*\.pif\"/:b \
|| /.*name=.*\.bat\"/:b \
|| /.*name=.*\.com\"/:b)
{
to "[EMAIL PROTECTED]"
}
I also employ a sizelimit file which is set to 10mb.
During periods of high mail sending I see messages build up in the mail
queue, Sometimes up to 50 messages. maildrop struggles with some messages
especially if there is a 15 or 16 person recipient list. The attachments on
the files are not that big (776k) but I believe maildrop is scanning the
message for every recipient so in effect scanning the same message 15 or 16
times. However it eventually times out and defers the message putting it
down the queue. Other messages then go through fine. Then it tries to resend
the deferred message again and gets into a loop. Some of the messages have
been in the queue for days.
It also gets compounded by other emails that have attachments of 2mb to 5mb
trying to be sent at the same time.
I understand however that I am scanning the message body and that will
impact on cpu time and performance. However if I just scan the header I miss
some files. For example if someone sends an email with an attachment AS AN
attachment and it is a .exe or .scr it will never get picked up by searching
just the header.
So are my thoughts on how maildrop works correct?
Can I change some settings to increase the timeout for maildrop or increase
the memory it uses?
Can I increase the number of spawned maildrop processes and will this
alleviate my issues?
Am I going down the wrong track with this?
Also is there a separate product that will scan mail before it is delivered
that can sit in between maildrop and courier?
I have been looking on sourceforge and found a product called "batemail". I
will look at that but has anyone used or heard of it?
Thanks in advance for all help.
Regards,
Les Stott
Systems Administrator
Rentokil Initial
[EMAIL PROTECTED]
(02) 9370 9348
This email is confidential. If you are not the intended recipient, you must
not disclose
or use the information contained in it. If you have received this in error,
please
advise the sender by return email and delete the material from your
computer.
Rentokil Initial Pty Ltd ABN 98 000 034 597 does not warrant that any
attachments are free from viruses or any other defects. You assume all
liability for any loss, damage or other consequences which may arise from
opening or using the attachments.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users