On 06/06/10 20:10, Erik de Castro Lopo wrote: > If I send email from a gmail account with the word 'casino' in the > subject line, the email is rejected and the gmail account gets a > 'Delivery Status Notification' message. > > However, even with all the above, I'm still getting emails with > 'casino' in the subject line. > > Anybody have any idea why PCRE is only working with postfix some > of the time?
I have never set up Postfix filtering before, so this is probably a stupid question, but is it possible the rules you added are only matching when sent with your e-mail address in the “To:” header (rather than the “Delivered-To:” header)? Most spam I get doesn’t contain my address in the To header. Try sending a “casino” e-mail from your Gmail account with some other address (i.e. your Gmail account) in the To field, and then Bcc with your Postfix address. Any difference? Sorry in advance if I’m sending you on a wild goose chase. Other things you could try is piping the mail through a hex editor to see if there are any funny U+0000 characters lurking in there. Cheers, Jeremy.
signature.asc
Description: OpenPGP digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
