List Info

Thread: Maybe interesting idea




Maybe interesting idea
user name
2006-12-18 12:32:36
On Dec 17, 2006, at 2:11 PM, Jorge Bastos wrote:

> Hi,
>
> Aaron/Paul and other developers,
> Before read this, i'm not asking nothing, this is just
something  
> that came to my mind.
> How about to have a antivirus integration in
dbmail-lmtpd ?  
> something like make the email get scanned by a shell
script that  
> executes clamav or other.
> This could make DBmail even ore rich than it is right
now.
> Maybe in a 2.5x series, what do you think?
> :P
>
> Jorge
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail


I appreciate the idea.  But I think there are enough means
to do this  
already that we might reconsider the necessity.
procmail and maildrop can do this.
postfix content_filter can do this.

As another consideration I found the following information
useful but  
I can't recall where I found it.  It's fairly obvious...

When you consider the email received that people don't
want...
Most of it is spam.
Some of it is a virus.

Spam is easier to filter out (lower CPU/IO consumption) and
can often  
capture a virus at the same time.
(This is especially true with postfix UCE controls and I'll
assume  
sendmail Milter can do similar).

A virus is much harder to filter for and is very expensive
in terms  
of CPU/IO.

It makes sense to do the spam filteriing first and then
filter for  
virii.

This would support the idea of making clamav available as a
lmtp plug  
in.

However I'm doing something like this and am seeing some
interesting  
side effects that I would like to share.

I have a set-up of postfix -> dspam (LMTP) -> dbmail
(LMTP) so I have  
two LMTP applications chained together.
This works great....  except....
If the delivery takes a long time postfix will timeout and
attempt a  
redelivery.
Sometimes this has inconsistent results....

I suspect LMTP was designed to be something that was
relatively fast  
(highly subjective).
If you start putting anti-virus utilities here you might
violate that  
assumption and cause inconsistent problems.

Would it make more sense to have a tool that would manage a
queue of  
emails and sequentially process chained spam filters and
chained anti- 
virus tools before attempting delivery (back into postfix
via  
content_filter) or LMTP?
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )