Hi,
@Wietse, than You for Your feedback. Now its working with transport map. domain.com relay:[smtp1.domain.local] domain.com relay:[smtp.domain.local] * error: Only one is allowed With "error:" parameter Postfix filtering is working like a charm. :) When I used "discard:" its not working. Postfix simply sending all E-mails out, but it should drop only those not listed before "* discard:". @Noel, Wietse - ThanXX Greetings Zalezny On Wed, Jun 29, 2016 at 3:01 PM, Wietse Venema <wie...@porcupine.org> wrote: > Zalezny Niezalezny: > > Hi Noel, > > > > I just tested Your solution, but its not working with multiple RCPT TO: > > > > When I`m sending an E-mail using telnet command, an email with single > RCPT > > TO: zalezny.niezale...@gmail.com is working fine. its blocked. > > But when I will put second RCPT TO: u...@domain.com, then both E-mails > are > > send, even that restricted by transport table. > > Then you made a mistake. Noel's suggestion does not depend on the > number of RCPT TO addresses (his suggestion to use transport_map > for "good" destinations, and to use default_transport to resolve > other destinations to the error transport). > > > @Wietse , maybe You will be able to help me here ? > > I would follow Noel's suggestion. > > Wietse >