Dovecot Sieve and Postfix header_checks Issue

Joseph Tam jtam.home at gmail.com
Fri Sep 26 23:21:32 UTC 2014


"Klaipedaville on Google" <klaipedaville at gmail.com> 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 someone at mail.twinpeaks.org,
or even twitter notifications (from *@bounce.twitter.com).

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list