Jim O'Leary <[EMAIL PROTECTED]> wrote:
> 
> We've been looking through the tcpserver/qmail logs and see a disturbing 
> pattern.
[...]
> It's the "status 256" that bothers us.  It seems we don't see a "new msg" 
> creation entry from qmail after these "status 256" entries, but we do see 
> "new msg" not long after "status 0" entries.

qmail-smtpd does this for a lot of different errors, and unfortunately,
doesn't log a whole lot of information -- if a message gets as far as
acceptance, and is injected into the queue, then qmail-send logs a lot of
information, but this isn't always enough.  Various patches have been posted
to this list in the past to add more verbose logging.  They may be referenced
from www.qmail.org, or you can probably find them by searching the mailing
list archives.

> 1. Does "status 256" from tcpserver->qmail-smtpd on the SMTP conversation 
> mean that no message was created for delivery?  (It seems that way to us, 
> but we'd be a bit shocked to hear it's true because we have not gotten many 
> complaints, and it would seem that this would be a major problem).

It seems to mean a lot of things.  Among the other things that appear to be
able to cause it are buggy clients (both MUAs using SMTP to submit mail, like
Outlook Express, and buggy MTAs, such as some versions of MS Exchange and
Lotus Domino).  You may wish to check what software and version is being run
by the IP addresses getting a lot of these exit codes.

> 2. Is there any way to get more verbosity/specificity out of qmail (other 
> than by using "recordio") about what is happening to trigger the "status 256"?

Search for the patches mentioned above.

> The concurrency limit is set to 200 and the smtp.cdb contains just two 
> entries to permit relaying only from our 2 class B networks.
> 
> The server is redhat 6.2.  The "free" command shows lots of available swap 
> space.
> 
> Could this be a ulimit problem?

It depends -- do you ever come close to the 200 concurrency limit you've set?
Are you running out of file descriptors?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to