[xmail] Never see this error :/ What about ?

2008-05-20 Thread CLEMENT Francis

Hello Davide and guys

I just received this NDR when trying to send to the destination domain
mail.sy :

ErrCode   = -109
ErrString = Unable to get UDP DNS response
SMAIL SMTP-Send EDNS = mail.sy SMTP = myserverfqdn From = senderemail
To = [EMAIL PROTECTED] Failed !
SMTP-Error = Unable to get UDP DNS response
SMTP-Server = mail.sy

I didn't tryed yet to test mail.sy dns servers

Any idea ?

Francis
-
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]



[xmail] 1.25 just started to seg fault

2008-05-20 Thread fred
Hello all,
 

A production server running FreeBSD-7.0 and XMAIL-1.25 just started to core
dump a few days ago… I have disabled all the filters, deleted content of
tabindex, deleted spool, deleted logs, chmodded -R 777, dnscache and it keep
crashing after a few pop3 connections.

 

I have ran hardware tests on the server and it doesn’t seem to be an
hardware problem, debug only shows lines like “POP3 connection FROM 1.2.3.4”
and then a new line with “Segmentation fault (core dumped)”. There is
nothing in the systems logs.. I am quite lost…

 

To fix the problem I had to downgrade to 1.24 binaries, the server runs with
them for 4 days now and no crash. I have no idea with 1.25 would suddenly
start crashing like that after months of stable use. I guess I will just
recompile the whole 1.25 source and try the new binaries, they might have
been corrupted?

 

Anyone have any idea? Thank you.

 

-fred 

 

 


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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread fred
Well, re-compiling the sources didn't help.

I have started fresh using the MailRoot/ inside the tarbal, copied my =
..tab
files over original ones, ran XMAIL in debug mode and it crashed after =
the
third pop3 connection.

/var/log/messages shows:

May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited on signal =
11
(core dumped)

Signal 11 is most likely an hardware problem but why does 1.24 runs =
fine?=20

fred


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
On
Behalf Of fred
Sent: 20 mai 2008 09:25
To: xmail@xmailserver.org
Subject: [xmail] 1.25 just started to seg fault

Hello all,
=20

A production server running FreeBSD-7.0 and XMAIL-1.25 just started to =
core
dump a few days ago=85 I have disabled all the filters, deleted content =
of
tabindex, deleted spool, deleted logs, chmodded -R 777, dnscache and it =
keep
crashing after a few pop3 connections.

=20

I have ran hardware tests on the server and it doesn=92t seem to be an
hardware problem, debug only shows lines like =93POP3 connection FROM =
1.2.3.4=94
and then a new line with =93Segmentation fault (core dumped)=94. There =
is
nothing in the systems logs.. I am quite lost=85

=20

To fix the problem I had to downgrade to 1.24 binaries, the server runs =
with
them for 4 days now and no crash. I have no idea with 1.25 would =
suddenly
start crashing like that after months of stable use. I guess I will just
recompile the whole 1.25 source and try the new binaries, they might =
have
been corrupted?

=20

Anyone have any idea? Thank you.

=20

-fred=20

=20

=20


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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread Bill Healy
If it's a memory problem it could be that 1.24 doesn't use as much so
doesn't hit the problem. If you don't have a good memory tester go grab
a ISO at http://www.memtest.org/ and make a bootable memory test CD.

Bill


--
From:  fred[SMTP:[EMAIL PROTECTED]
Sent:  Tuesday, May 20, 2008 7:19 AM
To:xmail@xmailserver.org
Subject:   [xmail] Re: 1.25 just started to seg fault

Well, re-compiling the sources didn't help.

I have started fresh using the MailRoot/ inside the tarbal, copied my =
..tab
files over original ones, ran XMAIL in debug mode and it crashed after =
the
third pop3 connection.

/var/log/messages shows:

May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited on signal =
11
(core dumped)

Signal 11 is most likely an hardware problem but why does 1.24 runs =
fine?=20

fred


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
On
Behalf Of fred
Sent: 20 mai 2008 09:25
To: xmail@xmailserver.org
Subject: [xmail] 1.25 just started to seg fault

Hello all,
=20

A production server running FreeBSD-7.0 and XMAIL-1.25 just started to =
core
dump a few days ago=85 I have disabled all the filters, deleted content =
of
tabindex, deleted spool, deleted logs, chmodded -R 777, dnscache and it =
keep
crashing after a few pop3 connections.

=20

I have ran hardware tests on the server and it doesn=92t seem to be an
hardware problem, debug only shows lines like =93POP3 connection FROM =
1.2.3.4=94
and then a new line with =93Segmentation fault (core dumped)=94. There =
is
nothing in the systems logs.. I am quite lost=85

=20

To fix the problem I had to downgrade to 1.24 binaries, the server runs =
with
them for 4 days now and no crash. I have no idea with 1.25 would =
suddenly
start crashing like that after months of stable use. I guess I will just
recompile the whole 1.25 source and try the new binaries, they might =
have
been corrupted?

=20

Anyone have any idea? Thank you.

=20

-fred=20

=20

=20


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


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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread CLEMENT Francis
Does any others parts of you FreeBsd changed recently ? (some packages
updates, new software install, or dependencies for the aboves, =
especialy
core system components or openssl, ...)

Did you use last 1.25 'stable' or previous 'pre' version ?
Can you try the other 1.25 version ? (older or newer)

Francis


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de fred
Envoy=E9 : mardi 20 mai 2008 16:19
=C0 : xmail@xmailserver.org
Objet : [xmail] Re: 1.25 just started to seg fault


Well, re-compiling the sources didn't help.

I have started fresh using the MailRoot/ inside the tarbal, copied my =
=3D
..tab
files over original ones, ran XMAIL in debug mode and it=20
crashed after =3D
the
third pop3 connection.

/var/log/messages shows:

May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited=20
on signal =3D
11
(core dumped)

Signal 11 is most likely an hardware problem but why does 1.24 runs =
=3D
fine?=3D20

fred


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] =3D
On
Behalf Of fred
Sent: 20 mai 2008 09:25
To: xmail@xmailserver.org
Subject: [xmail] 1.25 just started to seg fault

Hello all,
=3D20

A production server running FreeBSD-7.0 and XMAIL-1.25 just=20
started to =3D
core
dump a few days ago=3D85 I have disabled all the filters,=20
deleted content =3D
of
tabindex, deleted spool, deleted logs, chmodded -R 777,=20
dnscache and it =3D
keep
crashing after a few pop3 connections.

=3D20

I have ran hardware tests on the server and it doesn=3D92t seem to be =
an
hardware problem, debug only shows lines like =3D93POP3 connection =
FROM =3D
1.2.3.4=3D94
and then a new line with =3D93Segmentation fault (core=20
dumped)=3D94. There =3D
is
nothing in the systems logs.. I am quite lost=3D85

=3D20

To fix the problem I had to downgrade to 1.24 binaries, the=20
server runs =3D
with
them for 4 days now and no crash. I have no idea with 1.25 would =3D
suddenly
start crashing like that after months of stable use. I guess I=20
will just
recompile the whole 1.25 source and try the new binaries, they might =
=3D
have
been corrupted?

=3D20

Anyone have any idea? Thank you.

=3D20

-fred=3D20

=3D20

=3D20


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

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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread fred
Thanks for replying. 

Francis, absolutely nothing changed since the server started to core dump, I
can assure you. Friday morning, when I got to work XMAIL wasn't accepting
emails anymore because it's partition was full, it had 105GB left Thursday
night. So I checked what was taking all the free space without finding any
huge amount of anormal files. The files inside xmail partition was occupying
less than 5GB.

I have rebooted in single user mode, ran fsck which didn't find anything
wrong, rebooted and got the normal free space left. The problems with XMAIL
started to show up, some mailboxes had truncated emails due to not enough
space to write the files on the HDDs which I have fixed, pop3 clients would
just hangs downloading small emails so I had to kill XMAIL a couple of times
because it wouldn't stop safely. After deleting all the bad mails the
problems persisted and I downgraded to the 1.24 binaries, problems went
away.

Maybe something 1.25 uses on my system got corrupted when I killed xmail, I
don't know..


I am (was) using latest 1.25-stable for at least 3 months and never had any
issue until last Friday. What you mean by other version ? When I installed
it 3 months ago I have got the source from:
http://www.xmailserver.org/xmail-1.25.tar.gz

Bill, I will try to run memtest86 ASAP but I have to move the domains and
users to another server before doing that. This is a production server and I
cannot take it down for hours.

Thanks for the help

-fred

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of CLEMENT Francis
Sent: 20 mai 2008 11:40
To: 'xmail@xmailserver.org'
Subject: [xmail] Re: 1.25 just started to seg fault

Does any others parts of you FreeBsd changed recently ? (some packages
updates, new software install, or dependencies for the aboves, =
especialy
core system components or openssl, ...)

Did you use last 1.25 'stable' or previous 'pre' version ?
Can you try the other 1.25 version ? (older or newer)

Francis

---

If it's a memory problem it could be that 1.24 doesn't use as much so
doesn't hit the problem. If you don't have a good memory tester go grab a
ISO at http://www.memtest.org/ and make a bootable memory test CD.

Bill


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de fred
Envoy=E9 : mardi 20 mai 2008 16:19
=C0 : xmail@xmailserver.org
Objet : [xmail] Re: 1.25 just started to seg fault


Well, re-compiling the sources didn't help.

I have started fresh using the MailRoot/ inside the tarbal, copied my =
=3D
..tab
files over original ones, ran XMAIL in debug mode and it=20
crashed after =3D
the
third pop3 connection.

/var/log/messages shows:

May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited=20
on signal =3D
11
(core dumped)

Signal 11 is most likely an hardware problem but why does 1.24 runs =
=3D
fine?=3D20

fred


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] =3D
On
Behalf Of fred
Sent: 20 mai 2008 09:25
To: xmail@xmailserver.org
Subject: [xmail] 1.25 just started to seg fault

Hello all,
=3D20

A production server running FreeBSD-7.0 and XMAIL-1.25 just=20
started to =3D
core
dump a few days ago=3D85 I have disabled all the filters,=20
deleted content =3D
of
tabindex, deleted spool, deleted logs, chmodded -R 777,=20
dnscache and it =3D
keep
crashing after a few pop3 connections.

=3D20

I have ran hardware tests on the server and it doesn=3D92t seem to be =
an
hardware problem, debug only shows lines like =3D93POP3 connection =
FROM =3D
1.2.3.4=3D94
and then a new line with =3D93Segmentation fault (core=20
dumped)=3D94. There =3D
is
nothing in the systems logs.. I am quite lost=3D85

=3D20

To fix the problem I had to downgrade to 1.24 binaries, the=20
server runs =3D
with
them for 4 days now and no crash. I have no idea with 1.25 would =3D
suddenly
start crashing like that after months of stable use. I guess I=20
will just
recompile the whole 1.25 source and try the new binaries, they might =
=3D
have
been corrupted?

=3D20

Anyone have any idea? Thank you.

=3D20

-fred=3D20

=3D20

=3D20


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

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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread Davide Libenzi
On Tue, 20 May 2008, fred wrote:

 Thanks for replying. 
 
 Francis, absolutely nothing changed since the server started to core dump, I
 can assure you. Friday morning, when I got to work XMAIL wasn't accepting
 emails anymore because it's partition was full, it had 105GB left Thursday
 night. So I checked what was taking all the free space without finding any
 huge amount of anormal files. The files inside xmail partition was occupying
 less than 5GB.

I remember (as usual) FreeBSD latest version had some problem. I don't 
remember exactly who reported this.
Lets try:

$ setenv XMAIL_DEBUG 1
$ setenv OSTYPE FreeBSD
$ gmake -f Makefile.bsd

Then run XMail from inside a shell:

$ ulimit -c 2
$ XMail --debug -Md ...

This should generate a core file. Then:

$ gdb -c PATH-TO-CORE PATH-TO-XMAIL

From inside GDB:

 bt full

Send that over, and do not delete the core file and the XMail binary.
Of course, no other XMail instance should be running while doing so.




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



[xmail] Re: Never see this error :/ What about ?

2008-05-20 Thread Davide Libenzi
On Tue, 20 May 2008, CLEMENT Francis wrote:

 
 Hello Davide and guys
 
 I just received this NDR when trying to send to the destination domain
 mail.sy :
 
 ErrCode   = -109
 ErrString = Unable to get UDP DNS response
 SMAIL SMTP-Send EDNS = mail.sy SMTP = myserverfqdn From = senderemail
 To = [EMAIL PROTECTED] Failed !
 SMTP-Error = Unable to get UDP DNS response
 SMTP-Server = mail.sy
 
 I didn't tryed yet to test mail.sy dns servers
 
 Any idea ?

XMail is sending UDP DNS queries, remote servers not answering.



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



[xmail] Re: 1.25 just started to seg fault

2008-05-20 Thread fred

I did all that Davide but the server doesn't crash with the debug
executable..!?


This one crashes:
9774140 -rwxr-xr-x   1 root  wheel   352176 May 20 15:36 XMail

This one does not:
12648537 -rwxr-xr-x  1 root  wheel  1059437 May 20 15:43 XMail


I will try again a couple of time and will get back to you if I manage to
get a debug XMail.core.

-fred

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: 20 mai 2008 15:21
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.25 just started to seg fault

On Tue, 20 May 2008, fred wrote:

 Thanks for replying. 
 
 Francis, absolutely nothing changed since the server started to core dump,
I
 can assure you. Friday morning, when I got to work XMAIL wasn't accepting
 emails anymore because it's partition was full, it had 105GB left Thursday
 night. So I checked what was taking all the free space without finding any
 huge amount of anormal files. The files inside xmail partition was
occupying
 less than 5GB.

I remember (as usual) FreeBSD latest version had some problem. I don't 
remember exactly who reported this.
Lets try:

$ setenv XMAIL_DEBUG 1
$ setenv OSTYPE FreeBSD
$ gmake -f Makefile.bsd

Then run XMail from inside a shell:

$ ulimit -c 2
$ XMail --debug -Md ...

This should generate a core file. Then:

$ gdb -c PATH-TO-CORE PATH-TO-XMAIL

From inside GDB:

 bt full

Send that over, and do not delete the core file and the XMail binary.
Of course, no other XMail instance should be running while doing so.




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

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