On Sat, 13 Mar 2004, Michael Faurot wrote: > I'm doing some experiments with SPF by using Mail::SPF::Query > inside MIMEDefang. I've run into a snag and I'm not sure if what I'm > trying to do is feasible/possible. In particular, what I'm trying to do > is use action_add_header(), within filter_begin(), to add a Received-SPF > header before calling spam_assassin_check().
This won't work. action_add_header merely makes a note to ask milter to ask sendmail to add the header. It doesn't actually alter the message as seen by SpamAssassin. > I realize it would be possible to make adjustments to $hits, after > calling spam_assassin_check() and then incrementing or decrementing as > appropriate based upon my SPF query. However, I'd prefer to keep this > within SA so that any adjustments made based upon SPF get logged in SA's > report and are listed as tests run by SA. You will have to examine mimedefang.pl and modify the way the message is handed off the SA to do this. Regards, David. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

