Great, Davide - thanks. I will try the patch. Jeff
Davide Libenzi wrote: >On Fri, 14 Jan 2005, Davide Libenzi wrote: > > > >>On Fri, 14 Jan 2005, Jeff Buehler wrote: >> >> >> >>>Hi all - >>> >>>Xmail 1.21 is running along smoothly on a FreeBSD 5.3 platform with >>>about 60 or so users. Thanks for the great update, Davide! >>> >>>I am interested in implementing greylisting. When I do so (using glst) >>>I get the rejmsg as a valid user. However, I am not doing SMTP >>>authentication but rather POP3 before SMTP - is this the reason? Is >>>there a way to get a user that has authenticated via POP3 to not be >>>filtered by glst, or is this only possible with SMTP authentication? >>> >>> >>You are right. Right now POP3 before SMTP is not considered as real SMTO >>authentication by the mean of the @@USERAUTH macro. I fixed it in 1.22, >>and you can use the GLST's xnet= features to whitelist your nets, if >>you're in a situation where this is feasible for you. >> >> > >I inlined the patch below, if you're impatient ... > > > >- Davide > > > >--- orig/SMTPSvr.cpp >+++ mod/SMTPSvr.cpp >@@ -1202,6 +1202,11 @@ > UsrFreeUserInfo(pUI); > return (ErrorPop()); > } >+/////////////////////////////////////////////////////////////////////////////// >+// If the user did not authenticate, set the logon user token >+/////////////////////////////////////////////////////////////////////////////// >+ if (IsEmptyString(SMTPS.szLogonUser)) >+ UsrGetAddress(pUI, SMTPS.szLogonUser); > > UsrFreeUserInfo(pUI); > > > >--- orig/docs/ChangeLog.pod >+++ mod/docs/ChangeLog.pod >@@ -11,6 +11,11 @@ > > =over 4 > >+=item * >+ >+The POP3 before SMTP authentication is now correctly interpreted as real SMTP >authentication, >+by the mean of @@USERAUTH. >+ > =back > > =head2 Jan 9, 2005 v 1.21 > > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]