On 2/23/2016 2:54 PM, Gomes, Rich wrote: > Good day, > > What is the best way to accomplish the following: > We want to block emails bound for the Internet, we have domain based rules > already setup in the transport file for our internal domains. > But would like email bound for any domains other than those, to go either > /dev/null or to a local postmaster or such. > > Any thoughts? > > > Thanks > Rich >
There are several ways... Here's one: # main.cf default_transport = error:invalid destination domain http://www.postfix.org/postconf.5.html#default_transport -- Noel Jones