Re: Rejcect/discard outbound domains (or even TLD)

2015-05-08 Thread Benny Pedersen
Kristjan Nii skrev den 2015-05-08 15:04: Can anyone please help with a solution? https://dnsrpz.info/ then list ru as a rpz tld, problem solved, it works both in incomming and outgoing, with domain not found in mta responses, if you want only on outgoing, then remove reject_unknown_domain*

Re: Rejcect/discard outbound domains (or even TLD)

2015-05-08 Thread Kristjan Nii
Update: so I kept on digging and found a hind here http://postfix.1071664.n5.nabble.com/Reject-Discard-outbound-domain-td46854.html " I think the easiest way to ban a domain is to add it to the transport_maps with an entry something like bad.example.com error:invalid domain -- Noel Jones " I

Rejcect/discard outbound domains (or even TLD)

2015-05-08 Thread Kristjan Nii
Hi, I googled this question, but was not able to find a definitive answer or solution. I am using Postfix 2.9 and I'd like to block or redirect (to our original sender or at least /dev/null) outbound emails destined to fake domains (user typos) like gmail.ru or/and potentially stop sending to *@*