A M: Thanks! You're right, with authentication enabled everything works fine. I have to give a shot to the compile option, becouse I have 200 clients configured without smtp-auth (they are users inside a company). I'll post the results of the recompilation.
Natalio. On Nov 19, 2007 12:53 PM, A M <[EMAIL PROTECTED]> wrote: > Hi, > > Natalio I've replied in the empf list... dindn't see this one. > > check it > > As for information: > > The policy patch by default enforces auth in every smtp, so only > authenticated users can send email. > > This can be change in the conf file for the policies prior to compile but > IS NOT recomended has it may invalidate the policy check routine. > > AM > > 2007/11/18, Natalio Gatti < [EMAIL PROTECTED]>: > > > I'm sending this mail to this list becouse it seems that a couple of > > qToaster's have implemented the empf patch successfully. > > Yesterday I test an installation of the empf patch provided by A M. I > > could patch, build and install the new qmail-toaster rpm correctly. > > I created a file named policy in /var/qmail/control > > If the file is empty, everything is OK. I can send & receive mail > > correctla, and for evry mail I can see a log that says: > > > > 2007-11-17 05:47:15.505799500 policy_check: local [EMAIL PROTECTED] -> local > > [EMAIL PROTECTED] (UNAUTHENTICATED SENDER) > > 2007-11-17 05:47:15.505804500 policy_check: policy allows transmission > > > > Whenever I put something in that file, all mail is denied. I try the > > most simple policy (allow-all): > > > > [EMAIL PROTECTED] cat /var/qmail/control/policy > > test.com:LREI, > > > > And all mail is rejected with the following log: > > 2007-11-18 06:00:35.245414500 policy_check: local [EMAIL PROTECTED] -> local > > [EMAIL PROTECTED] (UNAUTHENTICATED SENDER) > > 2007-11-18 06:00:35.245688500 policy_check: sender not authenticated > > > > A M, or any of the others who have implemented the empf patch: Am I > > doing something wrong? Is the policy incorrect? > > > > Natalio. > > > > > -- > AM > agmsoft(at)gmail.com