Is there any way &grab_envelope_hdrs; can be called before &working_copy so one could add X-Envelope-From:/To: headers to the tmp/TMPFILE before moving to new/
This would allow spamassassin whitelists and blacklists actually work against the envelope as well as the normal email headers since SA checks X-Envelope-From: for whitelist_from and blacklist_from and X-Envelope-To: for whitelist_to and blacklist_to. I tried moving &grab_envelope_hdrs; up above &working_copy and then appending the headers, but I was seeing a lot of smtp sessions just hanging around. When I did some simple testing by sending mail from hotmail and such, it worked fine, and the headers added as I wanted, and the whitelists were applied appropriately. However, I'm curious to why I was seeing qmail-smtpd sessions hanging about that I wasn't seeing before I made the modification. Can anyone think of any reasons why reading the STDOUT before the STDIN would create any problems? Thanks for reading :) D ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general