Francesco Vertova | 11 Jun 2008 14:03
Picon

Duplicate log entries (1.25)

Hi all,

I've just moved glst from pre-data to post-rcpt and noticed that 
every rejection generates two entries in the smtp log: a spurious 
DATA=EFILTER followed by RCPT=EFILTER. I've tried patching 
SMTPSvr.cpp in 1.26 pre-01 (moving the log statement from 
SMTPRunFilters to SMTPHandleCmd_DATA) and this apparently removes the 
spurious line. Any opinion?

=======================================================================
--- SMTPSvr.cpp	2008-05-14 02:50:24.000000000 +0200
+++ SMTPSvr.cpp.nodup	2008-06-11 12:43:22.750000000 +0200
 <at>  <at>  -1838,10 +1838,6  <at>  <at> 
  				fclose(pFiltFile);
  				RLckUnlockSH(hResLock);

-				if (SMTPLogEnabled(SMTPS.pThCfg->hThShb, SMTPS.pSMTPCfg))
-					SMTPLogSession(SMTPS, SMTPS.pszFrom, SMTPS.pszRcpt,
-						       "DATA=EFILTER", 0);
-
  				pszError = SMTPGetFilterRejMessage(SMTPS.szMsgFile);

  				ErrSetErrorCode(ERR_FILTERED_MESSAGE);
 <at>  <at>  -1917,6 +1913,10  <at>  <at> 
  		ErrorPush();
  		SMTPResetSession(SMTPS);

+		if (SMTPLogEnabled(SMTPS.pThCfg->hThShb, SMTPS.pSMTPCfg))
+			SMTPLogSession(SMTPS, SMTPS.pszFrom, SMTPS.pszRcpt,
+				       "DATA=EFILTER", 0);
(Continue reading)

Edinilson - ATINET | 11 Jun 2008 14:53
Picon

XMail 1.25 Win32

I don´t know exactly why but drwtsn32.exe is being opened every time 
ctrlclnt.exe is called (nothing is logged in drwatson.log).

XMail 1.25 Win32
Windows 2000 Server

Any idea?

Thanks

Edinilson
---------------------------------------------------------
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

Davide Libenzi | 12 Jun 2008 07:46

Re: Duplicate log entries (1.25)

On Wed, 11 Jun 2008, Francesco Vertova wrote:

> Hi all,
> 
> I've just moved glst from pre-data to post-rcpt and noticed that 
> every rejection generates two entries in the smtp log: a spurious 
> DATA=EFILTER followed by RCPT=EFILTER. I've tried patching 
> SMTPSvr.cpp in 1.26 pre-01 (moving the log statement from 
> SMTPRunFilters to SMTPHandleCmd_DATA) and this apparently removes the 
> spurious line. Any opinion?

Thanks for catching it. I'll put in my queue for the next pre-release.

- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

Davide Libenzi | 12 Jun 2008 07:49

Re: XMail 1.25 Win32

On Wed, 11 Jun 2008, Edinilson - ATINET wrote:
> I don´t know exactly why but drwtsn32.exe is being opened every time 
> ctrlclnt.exe is called (nothing is logged in drwatson.log).
> 
> XMail 1.25 Win32
> Windows 2000 Server
> 
> Any idea?

Nope. Just fetched a fresh copy from the web and run it. No problems on 
this side.

- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

CLEMENT Francis | 12 Jun 2008 15:14

Re: XMail 1.25 Win32

>-----Message d'origine-----
>De : xmail-bounce <at> xmailserver.org
>[mailto:xmail-bounce <at> xmailserver.org]De la part de Davide Libenzi
>Envoy=E9 : jeudi 12 juin 2008 07:50
>=C0 : xmail <at> xmailserver.org
>Objet : [xmail] Re: XMail 1.25 Win32
>
>
>On Wed, 11 Jun 2008, Edinilson - ATINET wrote:
>> I don=B4t know exactly why but drwtsn32.exe is being opened every =
time=20
>> ctrlclnt.exe is called (nothing is logged in drwatson.log).
>>=20
>> XMail 1.25 Win32
>> Windows 2000 Server
>>=20
>> Any idea?
>
>Nope. Just fetched a fresh copy from the web and run it. No=20
>problems on=20
>this side.
>
>
>
>- Davide
>
>

No probs here with last build 1.25 on w2k.

(Continue reading)

Bart Mortelmans | 13 Jun 2008 12:04
Picon

Userlist hugging hard drive

Hi all,

When I run the CTRL-command "userlist" requesting users for one domain, 
it seems to take an unreasonable amount of time before it returns (20 to 
30 seconds). In between, when I monitor the server with the Linux 
command "top", I notice that "wa" goes up to over 90%. Normal load 
average on this machine is around 0, but when running "userlist" this 
will go up to over 2.

This is the same even if the userlist which is returned, should contain 
no users or only a small amount.

The total size of mailusers.tab is reasonably large (over 1Mb), but I 
would expect CTRL to at least be able to find the users in the list as 
quicly as a simple grep for example?
For the record: I'm not requesting the full userlist, I use the command 
like this:
"userlist"[TAB]"domain"<CR><LF>

The complete configuration of XMailserver is a copy/paste from an other 
server. I'm seeing this both with XMailserver 1.24 and 1.25.

The hard drive of this machine seems to be okay. I also seem to notice 
something similar on an other machine, although not as extreme.

I looked into many different possibilities to find the cause of this 
(including deleting tabindex), but am unable to find it. Or is this 
normal behaviour?

Thanks for looking into this!
(Continue reading)

Davide Libenzi | 15 Jun 2008 01:13

Re: Userlist hugging hard drive

On Fri, 13 Jun 2008, Bart Mortelmans wrote:

> Hi all,
> 
> When I run the CTRL-command "userlist" requesting users for one domain, 
> it seems to take an unreasonable amount of time before it returns (20 to 
> 30 seconds). In between, when I monitor the server with the Linux 
> command "top", I notice that "wa" goes up to over 90%. Normal load 
> average on this machine is around 0, but when running "userlist" this 
> will go up to over 2.
> 
> This is the same even if the userlist which is returned, should contain 
> no users or only a small amount.
> 
> The total size of mailusers.tab is reasonably large (over 1Mb), but I 
> would expect CTRL to at least be able to find the users in the list as 
> quicly as a simple grep for example?
> For the record: I'm not requesting the full userlist, I use the command 
> like this:
> "userlist"[TAB]"domain"<CR><LF>
> 
> The complete configuration of XMailserver is a copy/paste from an other 
> server. I'm seeing this both with XMailserver 1.24 and 1.25.
> 
> The hard drive of this machine seems to be okay. I also seem to notice 
> something similar on an other machine, although not as extreme.
> 
> I looked into many different possibilities to find the cause of this 
> (including deleting tabindex), but am unable to find it. Or is this 
> normal behaviour?
(Continue reading)

Davide Libenzi | 15 Jun 2008 01:18

CHM doc format

Armen, from Moscow, created a CHM file based on the XMail documentation, 
in case you're interested:

http://www.simonyan.ru/xmail/XMail.chm

- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

Filip Supera | 15 Jun 2008 10:49
Favicon

Re: CHM doc format

Davide Libenzi :
> Armen, from Moscow, created a CHM file based on the XMail documentation, 
> in case you're interested:
> 
> http://www.simonyan.ru/xmail/XMail.chm
> 

Windows Firefox 2.0.0.14 opens this link as if it was a text file 
instead of openning the download dialog box. Quite a psychedelic vision 
of XMail doc :-)

http://cjoint.com/?gpkW6Kw5MS

No problem with Internet Explorer.
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

Bart Mortelmans | 15 Jun 2008 15:54
Picon

Re: Userlist hugging hard drive

Dear Davide,

Thanks for your input! To check that I'm certainly not doing anything  
else time-consuming and that it's not a faulty hard drive with a bad  
cluster in mailusers.tab, I made this little shell script:

===
date
grep \"test\.domain\.tld\" ../mailusers.tab
date
../CtrlClnt -s localhost -u ******* -p ********** userlist  
test.domain.tld
date
grep \"test\.domain\.tld\" ../mailusers.tab
date
===

This is the result:
===
Sun Jun 15 15:06:15 CEST 2008
"test.domain.tld"	"1"	"54"	21574	"1"	"U"
"test.domain.tld"	"2"	"57"	21575	"2"	"U"
"test.domain.tld"	"3"	"56"	21576	"3"	"U"
"test.domain.tld"	"4"	"51"	21577	"4"	"U"
"test.domain.tld"	"5"	"50"	21578	"5"	"U"
Sun Jun 15 15:06:15 CEST 2008
"test.domain.tld"	"1"	"1"	"U"
"test.domain.tld"	"2"	"2"	"U"
"test.domain.tld"	"3"	"3"	"U"
"test.domain.tld"	"4"	"4"	"U"
(Continue reading)


Gmane