> From: Toomas Aas [mailto:[EMAIL PROTECTED] > > header MY_XMAILER_BLANK X-Mailer =~ /^\s*$/ > describe MY_XMAILER_BLANK X-Mailer: is empty > score MY_XMAILER_BLANK 5.001 > > However, this seems to also match these messages where > X-Mailer: is not > present at all - which was not my intention. > > How can I check for an empty, but existing header?
Example from http://mywebpages.comcast.net/mkettler/sa/SA-rules-howto.txt header LOCAL_DEMONSTRATION_WEIRD_FROM ALL =~ /^FrOM\:/ Try header MY_XMAILER_BLANK ALL =~ /^X-Mailer:\s*$/ or header MY_XMAILER_BLANK ALL =~ /^X-Mailer:\s*$/i [EMAIL PROTECTED] 805.964.4554 x902 Hispanic Business Inc./HireDiversity.com Software Engineer perl -e"print join er,reverse ',','l hack',' P','Just anoth'"
