Thanks... I look for that right now... 2011/2/26 Daniel Bromberg <dan...@basezen.com>
> On 2/26/2011 3:21 PM, aa wrote: > > Hi all, > I'm testing postfix restrictions and I would do two things: > > (1) I desire that when a not-authenticated user connects to my postfix > server and insert the HELO and MAIL FROM commands the mail from command gets > an error like this "530 authentication required for mail submission" > > (2) if this is done by an authenticated user he can specify in the mail > from command only the username account with which his authentication > succeded. > > In order to resolve the first point I inserted "smtpd_sender_restrictions = > permit_mynetworks permit_sasl_authenticated reject_unauth_destination" in > the main.cf file but it doesn't work... > > About the second issue I have no solving idea .... > > Could someone help me, please? > > Thanks... > > Just learned #2 a few weeks ago so let me pass this on...just check the > archives for "restricting outbound e-mail to be from the authenticated > user only" around 1/30/2011. > > > -Daniel > >