1 message in net.sourceforge.lists.courier-maildrop[maildropl] Performance
FromSent OnAttachments
Fernando Costa de AlmeidaMar 18, 2003 7:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] PerformanceActions...
From:Fernando Costa de Almeida (falm@computeasy.com.br)
Date:Mar 18, 2003 7:26:58 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I have the following filter (extracted from the mailing list archives), to filter attachments in my server:

/etc/maidroprc[attachment] if (/.*name=.*\.(exe|com|bat|pif|vb|js|scr|us)\"/:b)

{

echo "Attachment is not allowed"

EXITCODE=77

exit

}

and I put the following in the .qmail-default of my virtual domain:

| /usr/local/bin/maildrop /etc/maildrop[attachment]

The problem is that this filter takes almost all of my cpu time, is there another better way to do this task?

Thanks in advance.