[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue) -- still not 100% OK in pre25

2007-11-20 Thread Gerrit E.G. Hobbelt
Davide Libenzi wrote: Ok, you made me waste *A LOT* of time, for a totally wrong analysis, probably linked with your own compiler of XMail code additions. The pszSMTPError string is printed only after a failure of one of SMTPCheckReturnPath() and SMTPCheckForwardPath(), and both these

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue) -- still not 100% OK in pre25

2007-11-19 Thread Davide Libenzi
On Tue, 20 Nov 2007, Gerrit E.G. Hobbelt wrote: Hi, There's still a bug lurking in the code, but now for a fault situation only fortunately, far as I can tell. How to reproduce: - use Outlook Express - create account - FORGET to check the checkmark 'Outgoing (SMTP) server requires

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Davide Libenzi
On Fri, 16 Nov 2007, Francesco Vertova wrote: Hi all, apparently I have a problem with the new SysGetHostByName which causes POP3-SMTP auth always to fail. This chainsaw patch works for me: --- POP3Utils.cpp 2007-11-02 01:34:32.0 +0100 +++ POP3Utils.cpp.new 2007-11-16

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Francesco Vertova
At 18.24 16/11/07, you wrote: Can you try the patch below? 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

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Francesco Vertova
At 18.24 16/11/07, you wrote: Can you try the patch below? 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

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Davide Libenzi
On Fri, 16 Nov 2007, Francesco Vertova wrote: Screen output: POP3 client connection from [127.0.0.1] POP3 client exit [127.0.0.1] SMTP client connection from [127.0.0.1] PreIP='127.0.0.1' CurrIP='127.0.0.1' SMTP filter run: Filter = C:\MailRoot\bin\glst\glst Retcode = 0 SMAIL local

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Francesco Vertova
At 20.12 16/11/07, you wrote: Duh!? Can you try to add here ... 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);

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Francesco Vertova
At 22.01 16/11/07, you wrote: Cat you try to show me the content and metadata of the account's .ipconn file? dir C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn Volume in drive C is unlabeled Serial number is F8F7:824F Directory of C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Davide Libenzi
On Fri, 16 Nov 2007, Francesco Vertova wrote: At 21.34 16/11/07, you wrote: Logs: localhosttsd.unifi.it 127.0.0.1 2007-11-16 21:11:25 vertova LOGIN 1 614 tsd.unifi.it tsd.unifi.it 127.0.0.1 2007-11-16 21:11:25 ZOUZOU.tsd.unifi.it tsd.unifi.it [EMAIL PROTECTED]

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Gerrit E.G. Hobbelt
Gerrit E.G. Hobbelt wrote: See below for a copy, COMPLETE diff/patch is attached to this reply: Since 7z attachments get stripped, here it is in literal uncompressed format: --- ../../1original/xmail/CTRLClient.cpp2007-11-02 01:34:32.0 +0100 +++ ./CTRLClient.cpp

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Gerrit E.G. Hobbelt
Francesco Vertova wrote: At 18.24 16/11/07, you wrote: Can you try the patch below? 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

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Davide Libenzi
On Sat, 17 Nov 2007, Gerrit E.G. Hobbelt wrote: Gerrit E.G. Hobbelt wrote: See below for a copy, COMPLETE diff/patch is attached to this reply: Since 7z attachments get stripped, here it is in literal uncompressed format: The patch contains *a lot* of unecessary ZeroData() (plus other

[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)

2007-11-16 Thread Davide Libenzi
On Fri, 16 Nov 2007, Francesco Vertova wrote: At 22.01 16/11/07, you wrote: Cat you try to show me the content and metadata of the account's .ipconn file? dir C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn Volume in drive C is unlabeled Serial number is F8F7:824F Directory