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

header corruption problem

I've encountered very unusual behavior from ZMailer for a while now.
It all started when I was wondering why there are always over 20
messages stuck in the queue for a particular host.

I have lots of messages like:

19991005165339 DBGdiag: # smtpclient:15293: Premature EOF in U/162052-24468!
19991005165339 DBGdiag: # smtpclient:15293: Truncated or illegal control file "U/162052-24468"!
Resyncing file "A/161954-3396" (ino=161954) (of=1 ho='usgo.org') .. resynced!
19991005165350 DBGdiag: # smtpclient:15294: bytesleft: 1
19991005165350 DBGdiag: # smtpclient:15294: Premature EOF in A/161954-3396!
19991005165350 DBGdiag: # smtpclient:15294: Truncated or illegal control file "A/161954-3396"!
19991005165356 DBGdiag: # smtpclient:15292: bytesleft: 1
19991005165356 DBGdiag: # smtpclient:15292: Premature EOF in T/162207-27359!
19991005165356 DBGdiag: # smtpclient:15292: Truncated or illegal control file "T/162207-27359"!

in the scheduler log file. Logging those particular SMTP transactions

14350H0000030969#	jobspec: Y/161848-3393	mailhub.icm.edu.pl
14350H0000131029#	c='smtp' h='mailhub.icm.edu.pl' #resync Y/161848-3393
14350H0000231029#	jobspec: Y/161926-28206	mailhub.icm.edu.pl
14350H0000331089#	c='smtp' h='mailhub.icm.edu.pl' #resync Y/161926-28206
14350H0000431089#	jobspec: W/162028-16442	mailhub.icm.edu.pl
14350H0000531149#	c='smtp' h='mailhub.icm.edu.pl' #resync W/162028-16442
14350H0000631149#	jobspec: P/161943-28204	mailhub.icm.edu.pl
14350H0000731209#	c='smtp' h='mailhub.icm.edu.pl' #resync P/161943-28204
14350H0000831209#	jobspec: M/162434-30825	mailhub.icm.edu.pl

each "resync" takes several minutes. I couldn't force the scheduler to
run more TAs in parallel for this host, but that is probably just me
(although the documentation in scheduler.conf does seem cryptic).

Now, indeed those messages do seem truncated. An example prefixed with
"> ":

> i 162116-27356
> o 864
> l <99091609550100.01256@ns>
> e <krisj@kossoft.com.pl>
> e krisj@kossoft.com.pl
> s smtp kossoft.com.pl krisj@kossoft.com.pl 2
> r       smtp mailhub.icm.edu.pl infoseek@icm.edu.pl 99
> N ORCPT=rfc822;infoseek@icm.edu.pl
> m
> Received: from ns.ilawa.com ([]:19975 "EHLO
>         ns.ilawa.com") by atol.icm.edu.pl with ESMTP id <S162116AbPIPHym>;
>         Thu, 16 Sep 1999 09:54:42 +0200
> Received: from ns (IDENT:0@server.ilawa.com [])
>         by ns.ilawa.com (8.9.3/8.8.7) with SMTP id JAA07325
>         for <infoseek@icm.edu.pl>; Thu, 16 Sep 1999 09:38:38 +0200
> From:   Krzysztof Jakimowicz <krisj@kossoft.com.pl>
> Reply-To: krisj@kossoft.com.pl
> Organization: PHU KosSoft s.c.
> To:     infoseek@icm.edu.pl
> Subject: rejestracja strony
> Date:   Thu, 16 Sep 1999 09:53:24 +0200
> X-Mailer: KMail [version 1.0.9]
> Content-Type: text/plain
> Return-Receipt-To: krisj@kossoft.com.pl
> X-Chameleon-Return-To: krisj@kossoft.com.pl
> X-PRIORITY: 2 (High)
> Priority: urgent
> MIME-Version: 1.0
> Message-Id: <99091609550100.01256@ns>
> Content-Transfer-Encoding: 8bit
> X-KMail-Mark: 

Either there was really nothing after the X-KMail-Mark: header, or
something got lost. Usually everything ends after the Subject: header
(like if there was no subject).

I also remembered that for a while now I've been getting mails with
Subject line of the form:

    Date: 09 Sep 1999...

(yes, with the newline)

So, there are several questions:

  -- just what truncates those emails?
  -- what can I do about those in the spool?
  -- why does processing them take so long?

This is on Linux/Intel, RedHat 6.0, kernel 2.2.10. The hosts uptime is
89 days, so there were no sudden reboots, power cuts or the like.