procmail
[Top] [All Lists]

Re: Problem: address not caught in To: header

2001-04-24 00:59:38
At 01:52 2001-04-24 -0400, you wrote:
Hi everyone,

  I'm currently using procmail to manage all of the email coming to my
(virtual) host, and had a problem today.  I received a message which was
sent out to a large committee which I am on, which contains around 100
people.  Now, my email address Matthew(_at_)Manuel(_dot_)ca is usually caught 
and
forwarded to my main mail acct.  For some reason, this message was not (it
"fell off the end" of my .procmailrc and ended up in my mail account on the
host).


I have a similar problem. The To: header does not seem to be the primary key for procmail when delivering the mail. In the below message, several instances of nilsson(_at_)seaside(_dot_)se appears, like X-MDaemon-Deliver-To: nilsson(_at_)seaside(_dot_)se(_dot_) Is procmail supposed to deliver based on anything else than the To: header?

Headers:

X-POP3-Rcpt: nilsson(_at_)mail01
Return-Path: <claudia(_at_)optimasport(_dot_)se>
Received: from mailc.telia.com (mailc.telia.com [194.22.190.4])
 by mail01.varberg.net (8.11.3/8.11.3) with ESMTP id f3GABCN28483
 for <nilsson(_at_)seaside(_dot_)se>; Mon, 16 Apr 2001 12:11:12 +0200
Received: from optimasport.se (t2o963p42.telia.com [195.67.214.162])
 by mailc.telia.com (8.11.2/8.11.0) with ESMTP id f3GA8cf24186
 for <nilsson(_at_)seaside(_dot_)se>; Mon, 16 Apr 2001 12:08:38 +0200 (CEST)
Received: from foo.telia.com [192.168.0.56] by optimasport.se [127.0.0.1]
 with SMTP (MDaemon.v3.5.4.R)
 for <nilsson(_at_)seaside(_dot_)se>; Mon, 16 Apr 2001 11:55:59 +0200
Message-ID: <000d01c0c65c$6f6429a0$3800a8c0(_at_)telia(_dot_)com>
From: "Claudia Becerra G" <claudia(_at_)optimasport(_dot_)se>
To: <anders(_dot_)nilsson(_at_)seaside(_dot_)se>
Subject:
Date: Mon, 16 Apr 2001 12:03:04 +0200
MIME-Version: 1.0
X-Security: MIME headers sanitized on mail01
 See http://www.wolfenet.com/~jhardin/procmail-security.html
 for details. $Revision: 1.117 $Date: 2000-08-08 20:24:01-07
 Mailet har genomgått viruskontroll. Kontakta staff(_at_)seaside(_dot_)se vid 
problem.
Content-Type: multipart/mixed;
 boundary="----=_NextPart_000_0009_01C0C66D.30EDCE40"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-MDRemoteIP: 192.168.0.56
X-Return-Path: claudia(_at_)optimasport(_dot_)se
X-MDaemon-Deliver-To: nilsson(_at_)seaside(_dot_)se


The mail was sent to To: <anders(_dot_)nilsson(_at_)seaside(_dot_)se> which maps to user sea0350b but it was delivered to user nilsson on my Linux system (Slackware 7.1.0).

Procmail log:

Defanging active HTML content from "Claudia Becerra G" <claudia(_at_)optimasport(_dot_)se> to <anders(_dot_)nilsson(_at_)seaside(_dot_)se> msgid=<000d01c0c65c$6f6429a0$3800a8c0(_at_)telia(_dot_)com> Sanitizing MIME attachment headers from "Claudia Becerra G" <claudia(_at_)optimasport(_dot_)se> to <anders(_dot_)nilsson(_at_)seaside(_dot_)se> msgid=<000d01c0c65c$6f6429a0$3800a8c0(_at_)telia(_dot_)com>
From claudia(_at_)optimasport(_dot_)se  Mon Apr 16 12:11:33 2001
 Subject:
  Folder: /var/spool/mail/nilsson

System log (messages):

Apr 16 12:11:33 mail01 sendmail[28483]: f3GABCN28483: from=<claudia(_at_)optimasport(_dot_)se>, size=1941315, class=0, nrcpts=1, msgid=<000d01c0c65c$6f6429a0$3800a8c0(_at_)telia(_dot_)com>, proto=ESMTP, daemon=MTA, relay=mailc.telia.com [194.22.190.4] Apr 16 12:11:36 mail01 sendmail[28497]: f3GABCN28483: to=<nilsson(_at_)seaside(_dot_)se>, delay=00:00:24, xdelay=00:00:03, mailer=local, pri=1970429, dsn=2.0.0, stat=Sent


Another mail was delivered correctly (I don't have the headers for this one):

Sanitizing MIME attachment headers in "4133-3" from "Claudia Becerra G" <claudia(_at_)optimasport(_dot_)se> to <anders(_dot_)nilsson(_at_)seaside(_dot_)se> msgid=<001a01c0cb1d$40a7c200$3800a8c0(_at_)telia(_dot_)com>
From claudia(_at_)optimasport(_dot_)se  Sun Apr 22 13:17:56 2001
 Subject: 4133-3
Folder: /var/spool/mail/sea0350b 2343

Apr 22 13:17:56 mail01 sendmail[10293]: f3MBHuR10293: from=<claudia(_at_)optimasport(_dot_)se>, size=1786, class=0, nrcpts=1, msgid=<001a01c0cb1d$40a7c200$3800a8c0(_at_)telia(_dot_)com>, proto=ESMTP, daemon=MTA, relay=mailc.telia.com [194.22.190.4] Apr 22 13:17:56 mail01 sendmail[10295]: f3MBHuR10293: to=<anders(_dot_)nilsson(_at_)seaside(_dot_)se>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30868, dsn=2.0.0, stat=Sent

Grateful for any help!

/Fredrik

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail