Re: bloc domains with all variants of tld

2017-11-07 Thread Dirk Stöcker
On Mon, 6 Nov 2017, Viktor Dukhovni wrote: /.*infusionmail.com$/ 550 Infusionmail is not wanted or welcome /.*\yahoo\.com/ 550 Yahoo.com is not allowed here, use gmail or someone who hasn't leaked 3 billion passwords /\.(com|net|org|edu|gov|ca|mx|de|dk|fi|uk|us|tv|info|biz|eu|es|il|it|nl|name|j

Re: bloc domains with all variants of tld

2017-11-06 Thread Viktor Dukhovni
> On Nov 6, 2017, at 12:45 PM, @lbutlr wrote: > > > # cat /etc/postfix/helo_checks.pcre > […] > /.*infusionmail.com$/ 550 Infusionmail is not wanted or welcome > /.*\yahoo\.com/ 550 Yahoo.com is not allowed here, use gmail or someone who > hasn't leaked 3 billion passwords > /\.(com|net|org|

Re: bloc domains with all variants of tld

2017-11-06 Thread @lbutlr
On 6 Nov 2017, at 08:08, Viktor Dukhovni wrote: > Mind you, I would not recommend such rules to anyone. Just block the > domains specifically observed to send unwanted email. If you really > want to block all tlds, there are only 1510 live at present and 31 > in "test mode" with no delegations.

Re: bloc domains with all variants of tld

2017-11-06 Thread Dominic Raferd
On 6 November 2017 at 15:08, Viktor Dukhovni wrote: > > > > On Nov 6, 2017, at 6:15 AM, Dominic Raferd > wrote: > > > > ​So say use pcre and study http://www.postfix.org/pcre_table.5.html. > Example (untested): > > > > /@example\..*​$/ REJECT > > This will block "example" at more than just the 2

Re: bloc domains with all variants of tld

2017-11-06 Thread Viktor Dukhovni
> On Nov 6, 2017, at 6:15 AM, Dominic Raferd 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? > > ​So say use pcre and study http://www.postfix.org/pcre_table.5.html. Example > (untested): > > /@examp

RE: bloc domains with all variants of tld

2017-11-06 Thread Michael Munger
2017 4:26 AM To: postfix-us...@cloud9.net Subject: bloc domains with all variants of tld Hi, We need to bloc some incoming emails from certain domains. How to write rules to bloc a domain with all its variant of tld? if we want to bloc the example domain we write the rules like this example.co

Re: bloc domains with all variants of tld

2017-11-06 Thread Dominic Raferd
On 6 November 2017 at 10:43, wodel youchi wrote: > Hi, > > both are supported pcre and regexp. > > > > 2017-11-06 11:07 GMT+01:00 Ralph Seichter : > >> 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 dom

Re: bloc domains with all variants of tld

2017-11-06 Thread wodel youchi
Hi, both are supported pcre and regexp. Regards. Garanti sans virus. www.avast.com

Re: bloc domains with all variants of tld

2017-11-06 Thread Ralph Seichter
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 whic

bloc domains with all variants of tld

2017-11-06 Thread wodel youchi
Hi, We need to bloc some incoming emails from certain domains. How to write rules to bloc a domain with all its variant of tld? if we want to bloc the example domain we write the rules like this example.com REJECT example.fr REJECT example.de REJECT etc... How to write one rule to ex