Joey J: > Hello All, > > I know I did this in the past, but can't find my notes. > > When users send messages to x...@gnail.com or x...@yaho.com the messages stay > in > the queue for the required time before sending back the NDR. > I would like to set up a table with something like the below, to send an > immediate NDR. > > @yaho.com REJECT Incorrect Domain Typed > @gnail.com REJECT Incorrect Domain Typed > > I'm not sure if the right place is check_recipient_access and if things > are different under the current version vs the older 2.11.x
This has been supported for over 20 years. /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: yaho.com error:Did you mean yahoo.com? gnail.com error:Did you mean gmail.com? Run "postmap hash:/etc/postfix/transport" after creating or updating the file. Wietse