[Mimedefang] which charset is being used in a mail?

David F. Skoll dfs at roaringpenguin.com
Mon May 13 11:11:33 EDT 2002


Following up on myself...

> > So I will be checking incoming mails for virusses, which might be refused
> > afterwards because they are spam...

Well, yes.  You have to do _some_ check first.  Ideally, you want to
minimize processor time, so you do fast checks first and slower checks
second (and only if necessary.)  If scanning for viruses is faster than
scanning for spam, then it's probably better to scan for viruses first.
(Of course, the optimal sequence depends also on the probability of
a test succeeding...)

You can use the message_rejected() built-in functions to skip checks
if a message has already been bounced, tempfailed or discarded.

--
David.




More information about the MIMEDefang mailing list