Hello Thank you,this clarify things a little bit.
Sincerely On 06/10/11 00:25, Noel Jones wrote: > Of course. It's a two-step process (well, really more, but we'll call > it two here). > > 1. - mail is received. There are lots of controls for receiving mail > based on recipient, originating network, or authentication. None of > the decisions to accept mail are based on the sender (you can decide > to REJECT mail based on the sender, but not accept). > > 2. - mail is delivered. There are lots of controls for where and how > mail is delivered, a few of which depend on the sender. > > You're not getting past step 1. > > http://www.postfix.org/BASIC_CONFIGURATION_README.html > > > > > > On 6/9/2011 5:04 PM, Dragan Zubac wrote: >> Hello >> >> Just to make clear here,so postfix feature to 'route' emails based on >> the sender address is valid only for outgoing emails not for incoming >> ones ? >> >> Sincerely >> >> On 06/09/11 23:33, Noel Jones wrote: >>> On 6/9/2011 4:22 PM, Dragan Zubac wrote: >>>> Hello >>>> >>>> Yes,I have two instances of postfix. >>>> One is in /etc/postfix and another one is in /etc/postfix2 and both >>>> works fine. >>>> The problem is with sender dependent authentication that is configured >>>> on the second instance and which seems inactive,meaning when second >>>> instance of postfix receives an email that should be processed >>>> according >>>> to those specific rules it does not for some reason. >>>> >>> >>> You seem to have missed the point that sender dependent relay is for >>> sending mail. >>> >>> The log snippet you shared earlier shows postfix not receiving the >>> mail, due to an invalid recipient. >>> >>> This has nothing to do with the sender. >>> >>> Fix the recipient first. >>> >>> >>> > >