At 04:36 PM 1/9/99 -0600, Philip Guenther wrote:
Wouldn't it be easier to use fetchmail in multidrop mode, passing it
"-E X-Rcpt-To" to specify the header? It can do this all for you and
be faster about it as well.
It seems like I knew about fetchmail back when I had a Linux box running.
But my memory now fails me, and it would seem that it's not installed on my
ISP's system:
42) ~ %man fetchmail
No manual entry for fetchmail
43) ~ %which fetchmail
fetchmail: Command not found.
44) ~ %
My procmail script does other processing in addition to forwarding on to a
few email addresses. And I want something that's somewhat 'easy' for the
next non-tech person that administers the virtual domain to understand and
maintain. That's why I was hoping for a all-procmail solution. Otherwise,
I might use perl (something I know how to use) to either return to procmail
the un-aliased email address from a table lookup, or just have perl forward
the message.
[But if fetchmail is the obvious solution, do you know of a web site that
would help me get it up and running?]
Thanks,
Bill Moseley <moseley(_at_)hank(_dot_)org> writes:
I'd like to use procmail to extract the local name from an email address
and use that to look up an email address where to forward the message.
I guess I'd like to do something like
: 0
* ^X-Rcpt-To: \/(_dot_)*(_at_)mydomain(_dot_)org
! ${$MATCH}
But of course, $MATCH will contain everything after the \/, and I'd need
a way to make sure $MATCH is a defined variable. And I don't know how
to use a variable as a symbolic reference.
Philip Guenther
Bill Moseley
HEY, a new email address!
mailto:moseley(_at_)hank(_dot_)org