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 " It seemed to do the job. But if anyone has other suggestions I'm open to suggestions! Kristjan On Fri, May 8, 2015 at 4:04 PM, Kristjan Nii <krstjn.v...@gmail.com> wrote: > 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 > *@*.ru addresses all together. The latter would work just fine for us :) > > Can anyone please help with a solution? > > Sincerely, > Kristjan >