Or so I thought..., that did restrict all mail to the internal recipients as well.
I need anyone in mydomain.com to be able to email anyone in mydomain.local, but I need users on mydomain.local to only be allowed to email a few people in mydomain.com, and none of the other members of mydoman.local. I think postfix may not be able to accomplish what I desire, if I am wrong please correct me. Carver > -----Original Message----- > From: Carver Banks > Sent: Thursday, March 05, 2009 7:38 AM > To: 'Barney Desmond'; postfix users list > Subject: RE: restricting who can be sent to. > > Thanks! > That worked, next time I will try and read better ;-) > > Carver Banks > > > -----Original Message----- > > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > > us...@postfix.org] On Behalf Of Barney Desmond > > Sent: Thursday, March 05, 2009 4:11 AM > > To: postfix users list > > Subject: Re: restricting who can be sent to. > > > > 2009/3/5 Carver Banks <carver.ba...@trustvesta.com>: > > > I tried the following: > > > smtpd_recipient_restrictions = check_sender_access > > hash:/etc/postfix/allowed_recipients reject > > > but it seems that allows me to restrict the user who is sending not > > the destination address, > > > what I am trying to accomplish is to have many users of this system > > be able to only email a few addresses, not even each other. I > > understand if that is not possible with postfix, just trying to > figure > > out if that is the case... > > > > Please re-read the example given, it was check_recipient_access, not > > check_sender_access as you've shown in your attempt