"Mitch \(WebCob\)" <[EMAIL PROTECTED]> writes: > Ok... my 2 pennies (still only worth 1.75 pennies cause I'm Canadian) > > I don't know python, but assuming maildrop is your delivery agent wouldn't > you be better off doing any easy accepts in maildrop before calling out to > another program (save compile, load and exec... etc.) > > I can't argue for or against - just asking. > > m/
I'm running this as a "courierfilter" module, and so it runs during the SMTP dialog, _before_ maildrop or any other MTA is invoked. It's much more efficient to run it this way than under maildrop, because the "courierfilter" mechanism keeps the filter program running all the time. Therefore, there's no program startup cost every time a new message is processed. Maildrop does lots of forking, and it is much less efficient. I'm using Gordon Messner's excellent "courier-pythonfilter" to implement this filter and the SPF filter which I run on any messages that this filter doesn't accept. -- Lloyd Zusman [EMAIL PROTECTED] ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
