Re: Blocking mail from clients who

2017-10-16 Thread Dominic Raferd
On 16 October 2017 at 11:38, Matus UHLAR - fantomas wrote: > On 15.10.17 16:52, Bill Shirley wrote: > >> /.*@mydomain.tld/ REJECT >>> >> >> The leading .* is not needed. You should escape the period before tld >> (\.). You can >> also send a message: >> /@.*example\.com$/REJECT You are

Re: Blocking mail from clients who

2017-10-16 Thread Matus UHLAR - fantomas
On 15.10.17 16:52, Bill Shirley wrote: /.*@mydomain.tld/ REJECT The leading .* is not needed.  You should escape the period before tld (\.).  You can also send a message: /@.*example\.com$/    REJECT You are not me (40,000). This works for me.  Note: I'm using pcre instead of regexp. and

Re: Blocking mail from clients who

2017-10-15 Thread Bill Shirley
> /.*@mydomain.tld/ REJECT The leading .* is not needed.  You should escape the period before tld (\.).  You can also send a message: /@.*example\.com$/    REJECT You are not me (40,000). This works for me.  Note: I'm using pcre instead of regexp. Bill On 10/15/2017 1:04 PM, Dominic Raferd

Re: Blocking mail from clients who

2017-10-15 Thread Dominic Raferd
On 15 October 2017 at 17:34, Gerben Wierda wrote: > My main restrictions in main.cf are (on macOS Server) > > smtpd_client_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > check_client_access regexp:/Library/Server/Mail/Config/postfix/rna_rbl_ > whitelist_clients, > reject_rbl_c

Re: Blocking mail from clients who

2017-10-15 Thread Robert Schetterer
Am 15.10.2017 um 18:34 schrieb Gerben Wierda: > My main restrictions in main.cf are (on macOS Server) > > smtpd_client_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > check_client_access > regexp:/Library/Server/Mail/Config/postfix/rna_rbl_whitelist_clients, > reject_rbl_client

Blocking mail from clients who

2017-10-15 Thread Gerben Wierda
My main restrictions in main.cf are (on macOS Server) smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access regexp:/Library/Server/Mail/Config/postfix/rna_rbl_whitelist_clients, reject_rbl_client zen.spamhaus.org, per