On Mon, 16 Nov 1998 21:38:32 -1000, "Daryl Ching"
<dching(_at_)spawar(_dot_)navy(_dot_)mil> wrote:
When procmail is called by sendmail to handle local mail delivery,
how do I find out (via Procmail) who the recipient of the e-mail in
a multiple e-mail message?
You don't unless Sendmail somehow passes in this information.
Check out <http://www.iki.fi/~era/procmail/mini-faq.html>
(I rewrote the section on this topic just yesterday, it's still a
little rough around the edges but it should at least be better than
the "lose all hope, ye who enter here" explanation I used to have.)
"user2(_at_)b(_dot_)org", however there is a ruleset in sendmail to deliver
anything to "b.org" to the local mailer agent procmail. How do I
find out the e-mail address of user2 when procmail processes?
How is this rule implemented? You need to change it so it passes along
the recipient information.
/* era */
--
.obBotBait: It shouldn't even matter whether <http://www.iki.fi/~era/>
I am a resident of the state of Washington. <http://members.xoom.com/procmail/>