procmail
[Top] [All Lists]

auto-reply sendmail/procmail

2001-02-28 08:28:40
Hi,

I use sendmail-8.8.11 and procmail-3.14 on a hp-ux box.

To manage different mail-domains I use the sendmail feature 'virtusertable' 
The next line shows a typical virtusertable entry:

andre(_dot_)konopka(_at_)presse-data(_dot_)de    pbs013
andre(_dot_)konopka(_at_)xyz(_dot_)domain(_dot_)de     pbs013 

pbs013 is the mbox-name for the mailaddress 
andre(_dot_)konopka(_at_)presse-data(_dot_)de
AND for the mailaddress andre(_dot_)konopka(_at_)xyz(_dot_)domain(_dot_)de

The mboxes resides on the local '/home' Filesystem.

If I send a mail to andre(_dot_)konopka(_at_)presse-data(_dot_)de or 
andre(_dot_)konopka(_at_)xyz(_dot_)domain(_dot_)de
sendmail resolves the address and informs procmail to deliver the mail to
/home/pbs013/.mail.

Okay, no problem

But now I want to install a auto-reply service. I wrote a little
procmail-recipe, but how I can figure out to which mailadress the mail primary
was send for. Was it for andre(_dot_)konopka(_at_)presse-data(_dot_)de or
andre(_dot_)konopka(_at_)xyz(_dot_)domain(_dot_)de? The only available 
information I have when
procmail runs is the mbox-name??? Therefore my auto-reply recipe set the FROM
field to "andre konopka <pbs013" instead the original mail-address.

I don't like to 'hardcode' a mail-address in the procmail-recipe!!!!


Thank you for your help


Andre Konopka







The only available information ist the mbox-name????, so
my automatic generated auto-reply mail has as FROM  andre konopka
<pbs013> instead of andre(_dot_)konopka(_at_)presse-data(_dot_)de







----------------------------------
E-Mail: Andre(_dot_)Konopka(_at_)Presse-Data(_dot_)de
Date: 28-Feb-01
Time: 13:38:22

()  Join the ASCII ribbon campaign against html email
/\  and Microsoft attachments.

"I heard if you play the NT-4.0-CD backwards, you get a satanic message"
"That is nothing, if you play it forward, it installs NT-4.0"

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

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