[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Msg with _large_ To: header crashes scheduler (2.99.52p1)



'ello,

Today something odd happened with the scheduler (Zmailer 2.99.52p1),
it crashed when processing a message.

I noticed it because some email I was expecting didn't get delivered.
Doing a "mailq" revealed that the scheduler wasn't running, checking
the scheduler log file read showed that it crashed on one message.

Scheduler log error message:
-----------------------------

Synchronous startup completed, messages: 41 (0 skipped) recipients: 72
***********************************************************************
20000119150759 DBGdiag: # sm:15544: lockaddr: file 'X/148925-7831' host '-' expected ' ' found '~'


Offending mail (edited to protect the clueless^Winnocent)
(Note the extreme long To: header)
---------------------------------------------------------

external
rcvdfrom host1.ourdomain.nl ([xxx.xxx.xxx.xxx]:60150 "HELO host2.ourdoamin.nl")
comment host1.ourdomain.nl [xxx.xxx.xxx.xxx]:60150 "HELO host2.ourdomain.nl" smtp-auth: <none> TLS-CIPHER: <none> TLS-PEER: <none>)
with SMTP
identinfo IDENT-NONSENSE
from <user1@ourdomain.nl>
todsn ORCPT=rfc822;some-local-alias@ourdomain.nl
to <some-local-alias@ourdomain.nl>
.
.
[total of 2 x 29 lines like this]
.
.
todsn ORCPT=rfc822;some-local-alias@ourdomain.nl
to <some-local-alias@ourdomain.nl>
env-end
Message-Id: <3.0.32.20000119110934.008edbe0@mailhost.ourdomain.nl>
X-Sender: user1@mailhost.ourdomain.nl
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Wed, 19 Jan 2000 11:09:35 +0100
To: some-local-alias@ourdomain.nl, some-local-alias@ourdomain.nl,
  [10 lines of comma-separated "some-local-alias@ourdomain.nl"
  698 characters in total, the 29 recipients from above]
From: user1 <user1@ourdomain.nl>
Subject: [subject]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

[body]

---------------------------------------------------------------

Weird... could it be a buffer overflow somewhere in scheduler?

Anyway, I killed the Zmailer, moved the offending mail out of
the $POSTOFFICE/transport and /queue dirs and restarted Zmailer
again, no probs this time, it started doing its thing quite happy
again...

\Geert.
-- 
Geert Altena | Geert@uttnarag.tn.utwente.nl | Coffee, black, no sugar
         Finger for PGPkey : Diffie-Hellman 2048/0xC540C550 
  Prediction is difficult, especially of the future. - (Niels Bohr)