On 26/09/14 16:00, Klaipedaville on Google wrote:
So why does it state in man 5 regexp_table that such tables are *case insensitive* by default and the /i actually toggles that? Are you saying that man page is wrong? I'd be surprised as I don't think I've yet come across an occasion where postfix man pages are incorrect! I am not saying that the Postfix man is incorrect. It is 100% case insensitive and SPAM (upper case) and spam (lower case) would mean absolutely the same. Therefore my SPAM (upper case) regexp was correct.
So if the regexes were all correct, then:
a) what was your actual problem once you identified it
and
b) for the benefit of the list, how did you actually solve it?
Alex
I explained it all in my previous post.
I realise it's probably because of the use of the reject action, which presumably inserts the text "No spamming allowed here." into the subject of the bounce.
However what also concerns me is that sending MDN's back to the envelope sender of SPAM messages is very likely to cause your server to be the origin of "Joe-Job" spam. The sieve RFCs state that if using reject (therefore sending MDNs) you should also be able to check for forged envelope senders and in that case do not send bounces. In real life it's considered best to just not bother sending anything back at all, and either discard, or block at the SMTP level using RBLs.
Cheers
Alex
-- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean.
-- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. "Transact" is operated by Integrated Financial Arrangements plc. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).