procmail
[Top] [All Lists]

Re: reading the envellope

1999-09-09 21:28:30
Venky <venky(_at_)del2(_dot_)vsnl(_dot_)net(_dot_)in> writes:
In the following code, how do i read the $1, for the envellope? I think
that the virtualusertables are already set in sendmail. I am actually using
this on a virtual host where anything(_at_)mydomain(_dot_)com goes to the 
mailbox of a
user. And, the code below is in the .procmailrc file of the user's directory.

What does the virtusertable entry for this domain look like?  It should
look something like:

        @mydomain.com   thisuser+%1(_at_)this(_dot_)host

Note the "+%1".  That's what saves the username part of the original
envelope recipient to later be passed to procmail via the -a argument
so that it will show up in $1.


Philip Guenther

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