Nitin Borwankar wrote:
Hi all,

I was reading the Mailet vs Procmail page on the James Wiki
http://wiki.apache.org/james/MailetVsProcmail

and had the following question :-

When using procmail if you have to do anything other than header match + file/forward then you pipe to a custom script. This spawns a copy of the script interpreter ( perl, python, ... ) per message. So if you need to do anything useful it is quite expensive. But using Mailets each message is handled by a thread and so even if JavaMail is expensive it is probably less expensive than spawning an interpreter per message. Is that correct or am I missing something ?

Yes, I believe this is an important difference in the approaches: and this is why, in the procmail world, most "heavy weight" processing (antivirus/antispam filters) nowadays have been moved to listening daemons and the procmail filter simply connect to the service to obtain the processing.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to