On 6 November 2017 at 10:43, wodel youchi <wodel.you...@gmail.com> wrote:
> Hi, > > both are supported pcre and regexp. > > > > 2017-11-06 11:07 GMT+01:00 Ralph Seichter <m16+post...@monksofcool.net>: > >> On 06.11.2017 10:26, wodel youchi wrote: >> >> > We need to bloc some incoming emails from certain domains. >> > How to write rules to bloc a domain with all its variant of tld? >> >> Access tables can support regexp or pcre, if your Postfix has been >> compiled that way. The postconf -m command will show you which map >> types are supported. >> > So say use pcre and study http://www.postfix.org/pcre_table.5.html. Example (untested): /@example\..*$/ REJECT