procmail
[Top] [All Lists]

Replacing the TO header with email addresses on file

2009-06-23 17:29:15
Hi All,

For the past few months procmail has been dealing with TO headers
differently than previously for emails pulled from a file.

Below is an extract of the procmail code that sends to an email on file in
emaillist.txt = +18574455615(_at_)unwiredalerts(_dot_)com

February 2009 shows the email header correctly replacing the incoming
header (GDM(_at_)selectpost(_dot_)com) with the header on file
+18574455615(_at_)unwiredalerts(_dot_)com

June 2009 shows that the email header is not now replaced ? it remains as
GDM(_at_)selectpost(_dot_)com

They both get to the right place viz: the envelope is correctly sent as
+18574455615(_at_)unwiredalerts(_dot_)com, but the TO field is not changed in 
June.

Maybe I need to now use Formail to directly overwrite the emails in
emaillist.txt ? I?m not 100% sure how to do that and it doesn?t address
the underlying issue.

Grateful for any thoughts.

Regards

Shane


CODE FOR SENDING EMAILS IN FILE EMAILLIST.TXT
:0
*^To:(_dot_)*GDM(_at_)selectpost(_dot_)com
*^Subject: 2101-2101
! `cat /home/reti/sms/emaillist.txt`

FEBRUARY 2009 ? TO: HEADER REPLACED WITH EMAIL ON FILE
Date: Mon, 09 Feb 2009 17:12:46 -0500
From: "Shane Reti" <sreti(_at_)(_dot_)(_dot_)(_dot_)(_dot_)>
Subject: 1950-1950
To: +18574455615(_at_)sms(_dot_)unwiredalerts(_dot_)com


JUNE 2009 ? TO: HEADER NOT REPLACED WITH EMAIL ON FILE
Date: Tue, 23 Jun 2009 14:59:41 -0400
To: GDM(_at_)SELECTPOST(_dot_)COM
From:
Subject: 2101-2101

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>