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 this .* is dangerous. it denies subdomains as well as other domains
ending as example.com - e.hg. myexample.com might be foreign domain but you
will reject it.

instead of regexp (or pcre) I recommend using simple checks like hash:

example.com     REJECT Authentication needed for this domain.

you can still use regular expressions afterwards.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest.

Reply via email to