OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: amavis with postfix?
From: Tan Swee Heng (sweehengmagix.com.sg)
Date: Thu Jun 15 2000 - 10:33:50 CDT


> I run some preliminary tests with "macofida", and, without doing any
> real filtering, it seems to hurt performance by a factor of 3.2 (which
> is more or less what one would expect).

Hmm! That (3.2) is far from satisfactory, imho. :(

> I plan to run more tests in a
> few days, but, as you probably know, getting meaningful numbers out of
> these things takes time --- and I also have some real work to do.

Thanks a lot for the benchmarking efforts. Perhaps you might like to try
out the latest incarnation of macofida (version 0.5). It is at:
http://www.magic.com.sg/users/sweeheng/macofida/index.htm

This version has a buffering feature. Instead of immediately writing
each line after DATA to the spool, the data is now held in core for a
configurable number of lines (default 1000) before it is written out.
Perhaps that will help speed up macofida?

==

The other idea I am working on is that proposed by Wietse, iirc, to
relay commands between two sockets and look out for the DATA command.
Once DATA is encountered, the daemon pretends to be an MTA. It will
received the mail content and send it to a filter. If the fitler
approves, daemon relays the mail. Else it will send a reject to
localhost:10025 and a QUIT to localhost:10026. Any comments or
suggestions? (I only have some-what working but very-ugly code now.)

Swee Heng