So IS there a way to get who the message is being delivered to and the
domain? Is the $LOGNAME a reliable mailbox address? If so then you could
probably just set a variable to hold your domain name that its being
delivered to?
Thanks,
David
-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE [mailto:procmail-
bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of Google Kreme
Sent: Tuesday, May 24, 2005 9:34 AM
To: [procmail]
Subject: Re: Find recipient address then pipe that plus email out to a
program
On 24 May 2005, at 07:38 , David Erickson wrote:
$LOGNAME(_at_)$HOST will give you the email
address of who its being delivered to, is this accurate, and the
best way to
get that address?
No. For instance, on my system this will return
usr(_at_)mail(_dot_)host(_dot_)tld
instead of user(_at_)host(_dot_)tld(_dot_)
--
"As God as my witness, I though turkeys could fly," Arthur Carlson,
WKRP in Cincinnati
____________________________________________________________
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
____________________________________________________________
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