Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

qmail-smtpd tcpserver end status 11

286 views
Skip to first unread message

David Lu

unread,
Mar 1, 2011, 1:02:59 AM3/1/11
to

Dear all

 

         I have use qmail for years. These days I found a strange problem, emails from some domain (ex, gmail.com) to my qmail server will delay for 10 minutes to several hours, but emails from other domains don’t delay. Then I watch the qmail-smtpd log, found many status 11:

 

2011-03-01 13:49:47.915445500 tcpserver: pid 15691 from 192.168.30.121

2011-03-01 13:49:47.917507500 tcpserver: ok 15691 guanaitong.com:192.168.30.242:25 :192.168.30.121::36354

2011-03-01 13:49:47.917528500 tcpserver: end 15691 status 256

2011-03-01 13:49:47.917529500 tcpserver: status: 1/30

2011-03-01 13:49:53.166436500 tcpserver: end 15635 status 0

2011-03-01 13:49:53.166438500 tcpserver: status: 0/30

2011-03-01 13:49:54.887030500 tcpserver: status: 1/30

2011-03-01 13:49:54.887033500 tcpserver: pid 15704 from 220.181.12.53

2011-03-01 13:49:54.894096500 tcpserver: ok 15704 guanaitong.com:60.190.138.66:25 163.mxmail.netease.com:220.181.12.53::51284

2011-03-01 13:49:55.218481500 tcpserver: end 15704 status 0

2011-03-01 13:49:55.218482500 tcpserver: status: 0/30

2011-03-01 13:50:08.648440500 tcpserver: status: 1/30

2011-03-01 13:50:08.648443500 tcpserver: pid 15754 from 222.73.211.16

2011-03-01 13:50:08.663735500 tcpserver: ok 15754 guanaitong.com:60.190.138.66:25 :222.73.211.16::59445

2011-03-01 13:50:08.825587500 tcpserver: end 15754 status 0

2011-03-01 13:50:08.825588500 tcpserver: status: 0/30

2011-03-01 13:50:47.876430500 tcpserver: status: 1/30

2011-03-01 13:50:47.876605500 tcpserver: pid 15804 from 192.168.30.121

2011-03-01 13:50:47.878924500 tcpserver: ok 15804 guanaitong.com:192.168.30.242:25 :192.168.30.121::36537

2011-03-01 13:50:47.879424500 tcpserver: end 15804 status 256

2011-03-01 13:50:47.879425500 tcpserver: status: 0/30

2011-03-01 13:51:19.109598500 tcpserver: status: 1/30

2011-03-01 13:51:19.109746500 tcpserver: pid 15849 from 207.126.144.113

2011-03-01 13:51:20.284714500 tcpserver: ok 15849 guanaitong.com:60.190.138.66:25 eu1sys200aog102.obsmtp.com:207.126.144.113::52079

2011-03-01 13:51:21.865922500 tcpserver: end 15849 status 11

2011-03-01 13:51:21.865925500 tcpserver: status: 0/30

2011-03-01 13:51:24.693259500 tcpserver: status: 1/30

2011-03-01 13:51:24.693454500 tcpserver: pid 15857 from 216.82.250.99

2011-03-01 13:51:24.694343500 tcpserver: ok 15857 guanaitong.com:60.190.138.66:25 mail126.messagelabs.com:216.82.250.99::60161

2011-03-01 13:51:26.111349500 tcpserver: end 15857 status 11

 

“status 11” means the smtp failed to receive email. So the remote domain try later, and will success after several retries.

 

I googled it, someone says “status 11” means “the program suffered a SIGSEGV and died”. And someone advise to modify source file “dns.c” under qmail source package, change “#define MAXTXT 256” to “#define MAXTXT 2048”, I did it and recompiled qmail, but “status 11” still appears.

 

Who can tell me why “status 11” occurs, and how to resolve it?

 

Thanks.

 

David Lu

Erwin Hoffmann

unread,
Mar 3, 2011, 1:05:48 PM3/3/11
to
Hi,

On Tue, 1 Mar 2011 14:02:59 +0800
"David Lu" <grea...@gmail.com> wrote:

> Dear all
>
>
>
> I have use qmail for years. These days I found a strange problem,
> emails from some domain (ex, gmail.com) to my qmail server will delay for 10
> minutes to several hours, but emails from other domains don't delay. Then I
> watch the qmail-smtpd log, found many status 11:
>

>

> 2011-03-01 13:51:24.694343500 tcpserver: ok 15857
> guanaitong.com:60.190.138.66:25 mail126.messagelabs.com:216.82.250.99::60161
>
> 2011-03-01 13:51:26.111349500 tcpserver: end 15857 status 11

Signal 11 is Segmentation violation.

For these emails, parts of the code is executed which produced it (are 'buggy').

You probably have a broken qmail-smtpd.c patch involved.

Let us know more details.

regards.
--eh.

>
>
>
> "status 11" means the smtp failed to receive email. So the remote domain try
> later, and will success after several retries.
>
>
>
> I googled it, someone says "status 11" means "the program suffered a SIGSEGV
> and died". And someone advise to modify source file "dns.c" under qmail
> source package, change "#define MAXTXT 256" to "#define MAXTXT 2048", I did
> it and recompiled qmail, but "status 11" still appears.
>
>
>
> Who can tell me why "status 11" occurs, and how to resolve it?
>
>
>
> Thanks.
>
>
>
> David Lu
>


--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

David Lu

unread,
Mar 3, 2011, 8:53:28 PM3/3/11
to
Dear Erwin

Thanks for your reply. I install qmail step by step by instruction
of QmailRocks.org.
I modified the qmail-smtpd script, change the parameter of softlimit
from 30M to 600M, and found no error produced from then on.

......
exec /usr/local/bin/softlimit -m 600000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/var/qmail/bin/qmail-smtpd mail.guanaitong.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1


David

-----邮件原件-----
发件人: Erwin Hoffmann [mailto:f...@fehcom.de]
发送时间: 2011年3月4日 2:06
收件人: David Lu
抄送: qm...@list.cr.yp.to
主题: Re: qmail-smtpd tcpserver end status 11

Hi,

On Tue, 1 Mar 2011 14:02:59 +0800
"David Lu" <grea...@gmail.com> wrote:

> Dear all
>
>
>
> I have use qmail for years. These days I found a strange problem,
> emails from some domain (ex, gmail.com) to my qmail server will delay for
10
> minutes to several hours, but emails from other domains don't delay. Then
I
> watch the qmail-smtpd log, found many status 11:
>

>

> 2011-03-01 13:51:24.694343500 tcpserver: ok 15857
> guanaitong.com:60.190.138.66:25
mail126.messagelabs.com:216.82.250.99::60161
>
> 2011-03-01 13:51:26.111349500 tcpserver: end 15857 status 11

Signal 11 is Segmentation violation.

For these emails, parts of the code is executed which produced it (are
'buggy').

You probably have a broken qmail-smtpd.c patch involved.

Let us know more details.

regards.
--eh.

>
>
>

> "status 11" means the smtp failed to receive email. So the remote domain
try
> later, and will success after several retries.
>
>
>
> I googled it, someone says "status 11" means "the program suffered a
SIGSEGV
> and died". And someone advise to modify source file "dns.c" under qmail
> source package, change "#define MAXTXT 256" to "#define MAXTXT 2048", I
did
> it and recompiled qmail, but "status 11" still appears.
>
>
>
> Who can tell me why "status 11" occurs, and how to resolve it?
>
>
>
> Thanks.
>
>
>
> David Lu
>

Kinglok, FONG

unread,
Mar 4, 2011, 3:56:05 AM3/4/11
to
Well, I was a 'qmailrocker' but I find it is more educational after learning from qmail.jms1.net.

I use this script instead:

Kinglok, Fong

2011/3/4 David Lu <grea...@gmail.com>

Thibault Richard

unread,
Mar 4, 2011, 11:26:57 AM3/4/11
to
Hello,
 
I do the same ans described how to do it on http://qmailrocks.thibs.com/daemontools.php
 
Regards
 
Thibault
 
----- Original Message -----
Sent: Friday, March 04, 2011 9:56 AM
Subject: Re: qmail-smtpd tcpserver end status 11

Well, I was a 'qmailrocker' but I find it is more educational after learning from qmail.jms1.net.

I use this script instead:

Kinglok, Fong

2011/3/4 David Lu <grea...@gmail.com>
Dear Erwin


       Thanks for your reply. I install qmail step by step by instruction
of QmailRocks.org.
       I modified the qmail-smtpd script, change the parameter of softlimit
from 30M to 600M, and found no error produced from then on.

......
exec /usr/local/bin/softlimit -m 600000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/var/qmail/bin/qmail-smtpd mail.guanaitong.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1


David

-----邮件原件-----
发件人: Erwin Hoffmann [mailto:f...@fehcom.de]
发送时间: 2011年3月4日 2:06
收件人: David Lu
抄送: qm...@list.cr.yp.to
主题: Re: qmail-smtpd tcpserver end status 11

Hi,

On Tue, 1 Mar 2011 14:02:59 +0800
"David Lu" <grea...@gmail.com> wrote:

> Dear all
>
>
>
>          I have use qmail for years. These days I found a strange problem,
> emails from some domain (ex, gmail.com) to my qmail server will delay for
10
> minutes to several hours, but emails from other domains don't delay. Then
I
> watch the qmail-smtpd log, found many status 11:
>

>
> 2011-03-01 13:51:24.694343500 tcpserver: ok 15857
> guanaitong.com:60.190.138.66:25
mail126.messagelabs.com:216.82.250.99::60161
>
> 2011-03-01 13:51:26.111349500 tcpserver: end 15857 status 11

Signal 11 is Segmentation violation.

For these emails, parts of the code is executed which produced it (are
'buggy').

You probably have a broken qmail-smtpd.c patch involved.

Let us know more details.

regards.
--eh.

>
>
>
> "status 11" means the smtp failed to receive email. So the remote domain
try
> later, and will success after several retries.
>
>
>
> I googled it, someone says "status 11" means "the program suffered a
SIGSEGV
> and died". And someone advise to modify source file "dns.c" under qmail
> source package, change "#define MAXTXT 256" to "#define MAXTXT 2048", I
did
> it and recompiled qmail, but "status 11" still appears.
>
>
>
> Who can tell me why "status 11" occurs, and how to resolve it?
>
>
>
> Thanks.
>
>
>
> David Lu
>


0 new messages