[xmail] 1.25-pre25

2007-11-16 Thread Davide Libenzi
This fixes the problem with the POP3-before-SMTP authentication: http://www.xmailserver.org/xmail-1.25-pre25.tar.gz http://www.xmailserver.org/xmail-1.25-pre25.win32bin.zip - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED

[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 >

[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 ot

[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.cpp2007-11

[xmail] Re: files missing from the 1.25-preXX distros

2007-11-16 Thread Gerrit E.G. Hobbelt
Davide Libenzi wrote: > On Fri, 16 Nov 2007, Gerrit E.G. Hobbelt wrote: > > > Hi, > > > > at least the latest couple of preXX tar.gz distros were lacking these files: > > > > SSLSupport.cpp > > SSLSupport.h > > Main.cpp > > SysDep.cpp > > > > is this intentional and have I got my MSVC2005 projec

[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

[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: > > > > > > "localhost""tsd.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.

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

2007-11-16 Thread Francesco Vertova
At 21.34 16/11/07, you wrote: > > Logs: > > > > "localhost""tsd.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]" "[EMAIL PROTECTED]

[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 > SM

[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", > szI

[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 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

[xmail] Re: Problem with xmail not resending emails

2007-11-16 Thread Øyvind Kinsey
VGhlIHNlcnZlciBpcyBhIHdpbjIwMDMgc2VydmVyLCAyR0IgcmFtLCBhbG1vc3Qgbm8gbG9hZC4K SSBkb24ndCB0aGluayB0aGVyZSBpcyBhIHByb2JsZW0gd2l0aCB0aGUgc3lzdGVtIGl0IHNlbGYu CkJ1dCBjYW4geW91IHBsZWFzZSBleHBsYWluIHdoYXQgdGhpcyBzbG9nIG1lYW5zPwpJIGdldCB0 aGF0IHRoZSBvbiB0aGUgZmlyc3QgdHdvIHRyaWVzIGl0IGdldHMgZ3JleWxpc3RlZCwg

[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 > f

[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 > f

[xmail] Re: Problem with xmail not resending emails

2007-11-16 Thread Davide Libenzi
On Thu, 15 Nov 2007, Ã~Xyvind Kinsey wrote: > I've used Ethereal to sniff the traffic while viewing the log, and > xmail often tries only the first time, gets greylisted, and does NOT > try to resend the emails. > I was also running in debug mode and there was nothing happening there > at the diffe

[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: files missing from the 1.25-preXX distros

2007-11-16 Thread Davide Libenzi
On Fri, 16 Nov 2007, Gerrit E.G. Hobbelt wrote: > Hi, > > at least the latest couple of preXX tar.gz distros were lacking these files: > > SSLSupport.cpp > SSLSupport.h > Main.cpp > SysDep.cpp > > is this intentional and have I got my MSVC2005 projects wrong, or vice > versa? nmake /f Makefil

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

2007-11-16 Thread Francesco Vertova
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 13:23:20.890625000 +0100 @@ -1544,8 +1544,7 @@ /*

[xmail] files missing from the 1.25-preXX distros

2007-11-16 Thread Gerrit E.G. Hobbelt
Hi, at least the latest couple of preXX tar.gz distros were lacking these files: SSLSupport.cpp SSLSupport.h Main.cpp SysDep.cpp is this intentional and have I got my MSVC2005 projects wrong, or vice versa? Best regards, Ger - To unsubscribe from this list: send the line "unsubscribe xmail"

[xmail] Re: SMTP after POP3 in 1.25 pre-22 --> source code changes/fixes

2007-11-16 Thread Gerrit E.G. Hobbelt
Hi, As I am currently testing xmail for a custom setup over here, I ran into several issues, one of which was/is the SMTP-POP3 auth mechanism. Using 1.25-pre22 (downloaded from link presented on this ML earlier). Turns out that the code as is should've never worked; at it it won't ever on my sy

[xmail] Re: Me too? (1.25-pre22)

2007-11-16 Thread Francesco Vertova
At 21.11 15/11/07, you wrote: >The first POP3/SMTP connections inside the log you reported, happens >exactly at the same second. Actually, users perform several POP3 and SMTP connections from the same IP in a few minutes, well within the 15 minutes default timeout. So, if the very first POP3 ca

[xmail] Re: SMTP after POP3 in 1.25 pre-22

2007-11-16 Thread Francesco Vertova
At 23.20 15/11/07, you wrote: >Not using from a long time "pop before smtp" auth method. Looks like nobody is using it, indeed, since I've not yet received feedback from others using that feature, so far ... Anyway, a feature should either be dropped or work, IMHO ... >As noted by Davide seems