[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] Truncated Email.

From: Ralph Corderoy
Subject: [Nmh-workers] Truncated Email.
Date: Sun, 06 Mar 2016 11:49:38 +0000

Hi again,

I've been looking at those +inbox emails when inc(1) complained of new
arrivals.  One bit of spam looks truncated;  it's just headers, with no
separating blank line.

    $ ls -l `mhpath .`
    -rw------- 1 ralph ralph 1793 Mar  4 19:06 /home/ralph/mail/inbox/9377
    $ sed '$!d' `mhpath .`
    Received: from francielowe.com (fl-184-1-54-140.sta.embarqhsd.net 
    $ od -c `mhpath .` | tail -3
    0003360       [   1   8   4   .   1   .   5   4   .   1   4   0   ]   )
    0003400  \n

Postfix logged its, DB2F623490, arrival.

    19:05:11 orac postfix/smtpd[28408]: DB2F623490:
    19:05:12 orac postfix/cleanup[28411]: DB2F623490:
    19:05:12 orac postfix/qmgr[402]: DB2F623490:
        from=<address@hidden>, size=6629, nrcpt=1 (queue active)
    19:05:12 orac postfix/local[28412]: DB2F623490:
        to=<address@hidden>, relay=local, delay=0.46,
        delays=0.43/0/0/0.03, dsn=2.0.0, status=sent (delivered to
    19:05:12 orac postfix/qmgr[402]: DB2F623490:

The logged Message-ID isn't in the file, and it's not 6,629 bytes or

AFAICS, locking disagreements between Postfix and inc could cause this
too, and not just duplicate emails due to an inc being unable to
truncate?  As inc gets to the end of the spool file, it sees the
starting fragment of an email still being written by Postfix and then

So this should stop happening when I fix the locking?  Is that true?

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]