When I send mail to local user alice, the mail is delivered
with this From_ line:
From aaa(_at_)aaa Mon Jan 01 00:00:00 1997
I suspect the local mailer, procmail, is misconfigured somehow,
but I'm not sure where to start fixing it. The local mailer
definitions in sendmail.cf are:
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
T=DNS/RFC822/X-Unix,
A=procmail -a $h -d $u
Mprog, P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
T=X-Unix,
A=sh -c $u
Can anyone see anything wrong with the above sendmail.cf lines?
There's no /etc/procmailrc or /etc/mail/procmailrc file.
The mail does get delivered, but that From_ line tells me
something is not right, and I'd like to fix it.
At this point, I'm not sure what questions I should be asking,
or what logs, other than those quoted below, I should be
examining.
TIA,
Jim
FWIW:
The mail is queued in /var/spool/mqueue with:
------start of /var/spool/mqueue/qfKAA02796--------
V2
T1010602042
K0
N0
P30096
I8/1/214568
Fb
$_jimo(_at_)localhost
Sjimo
RPFD:alice
H?P?Return-Path: <jimo>
HReceived: (from jimo(_at_)localhost)
by myhost.mydomain.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA02796
for alice; Wed, 9 Jan 2002 10:47:22 -0800
H?D?Date: Wed, 9 Jan 2002 10:47:22 -0800
H?F?From: Jim <jimo>
H?x?Full-Name: Jim
H?M?Message-Id:
<200201091847(_dot_)KAA02796(_at_)myhost(_dot_)mydomain(_dot_)com>
HTo: alice
HSubject: local mail test
------end of /var/spool/mqueue/qfKAA02796--------
The applicable lines in /var/log/mail are (long lines broken):
Jan 9 10:47:22 myhost sendmail[2796]: KAA02796: from=jimo, size=96,
class=0, pri=30096, nrcpts=1,
msgid=<200201091847(_dot_)KAA02796(_at_)myhost(_dot_)mydomain(_dot_)com>,
relay=jimo(_at_)localhost
Jan 9 10:47:22 myhost sendmail[2796]: KAA02796: to=alice, delay=00:00:00,
mailer=local, stat=queued
Jan 9 11:00:47 myhost sendmail[2881]: KAA02796: to=alice,
ctladdr=jimo (500/100), delay=00:13:25, xdelay=00:00:00, mailer=local,
stat=Sent
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail