Am 27.09.2014 um 12:49 schrieb Klaipedaville on Google: >> Joseph Tam writes: >> >> However, my header_checks file has just 5 lines of regexp as follows: >> ... >> /^From:.*\@.*\.tw/ REJECT Sorry, Taiwanese mail is not >> allowed. >> >> Can't speak about the other issues you are having, but is this regexp >> pattern what you want? Unless Postfix PCRE automatically right-anchors >> these regexps, aren't you rejecting mail from [email protected], >> or even twitter notifications (from *@bounce.twitter.com) > > I am not sure I even understand what you were trying to say. > It's either because you have no idea how to write any regexp
the only one having no clue are you (bseides wrong mailing-list) /^From:.*\@.*\.tw/ is bullshit and matches twitter.com and so on /^From:.*\@.*\.tw$/ at least would make sure it *ends with* tw frankly your rule matchs *anything* having a @ and .tw
signature.asc
Description: OpenPGP digital signature
