[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
[184.1.54.140])
$ od -c `mhpath .` | tail -3
0003360 [ 1 8 4 . 1 . 5 4 . 1 4 0 ] )
0003400 \n
0003401
$
Postfix logged its, DB2F623490, arrival.
19:05:11 orac postfix/smtpd[28408]: DB2F623490:
client=orac.inputplus.co.uk[::1]
19:05:12 orac postfix/cleanup[28411]: DB2F623490:
message-id=<address@hidden>
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
mailbox)
19:05:12 orac postfix/qmgr[402]: DB2F623490:
removed
The logged Message-ID isn't in the file, and it's not 6,629 bytes or
near.
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
EOF.
So this should stop happening when I fix the locking? Is that true?
Cheers, Ralph.
- [Nmh-workers] Duplicate Scan Listings from Parallel inc(1)s., Ralph Corderoy, 2016/03/06
- [Nmh-workers] Truncated Email.,
Ralph Corderoy <=
- Re: [Nmh-workers] Truncated Email., Ralph Corderoy, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Ken Hornstein, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Ralph Corderoy, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Ken Hornstein, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Ralph Corderoy, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Ken Hornstein, 2016/03/06
- Re: [Nmh-workers] Truncated Email., Robert Elz, 2016/03/07
- Re: [Nmh-workers] Truncated Email., Lyndon Nerenberg, 2016/03/06