On 2/26/11 2:21 PM, aa at kipstar1...@gmail.com 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" > > 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...
Permit_mynetworks will permit anyone sending from an address in mynetworks to send without authentication. Once that evaluates to OK, the rest of the restriction is skipped. -- Larry Stone lston...@stonejongleux.com http://www.stonejongleux.com/