On Fri, 16 Nov 2007, Francesco Vertova wrote:
> At 18.24 16/11/07, you wrote:
>
> >Can you try the patch below?
Duh!?
Can you try to add here ...
> >
> >
> >diff --git a/POP3Utils.cpp b/POP3Utils.cpp
> >index 85ee92d..5b3111b 100644
> >--- a/POP3Utils.cpp
> >+++ b/POP3Utils.cpp
> >@@ -1542,10 +1542,10 @@ int UPopUserIpCheck(UserInfo *pUI, SYS_INET_ADDR
> >const *pPeerInfo, unsigned int
> > fclose(pIpFile);
char szIPP[128];
SysInetNToA(*pPeerInfo, szIPP, sizeof(szIPP));
SysLogMessage(LOG_LEV_MESSAGE, "PreIP='%s'\tCurrIP='%s'\n", szIPP,
szIP);
> >
> > /* Do IP matching */
> >- SYS_INET_ADDR PrevAddr, CurrAddr;
> >+ SYS_INET_ADDR CurrAddr;
> >
> >- if (SysGetHostByName(szIP, SysGetAddrFamily(CurrAddr),
> >PrevAddr) < 0 ||
> >- !SysSameAddress(PrevAddr, CurrAddr)) {
> >+ if (SysGetHostByName(szIP, SysGetAddrFamily(*pPeerInfo),
> >CurrAddr) < 0 ||
> >+ !SysSameAddress(*pPeerInfo, CurrAddr)) {
> > ErrSetErrorCode(ERR_NO_POP3_IP);
> > return ERR_NO_POP3_IP;
> > }
>
> Sorry to say: not working :-(
And run in debug mode?
- Davide
-
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]