procmail
[Top] [All Lists]

Re: Forward only to valid email?

1999-10-07 11:32:46
Seth Cohn <scohn(_at_)clipper(_dot_)net> writes:
How do I check in a recipe for a valid email address
on my machine?

I have both aliased user, as well as normal
users, and the current recipe I use sends forwarded mail
to non-existant users (and thus into the void).  I'm reforwarding
for a domain, and while joe(_at_)domain(_dot_)com is valid, 
jane(_at_)domain(_dot_)com
isn't, and I want to either bounce that (with a message)
and/or send it to myself instead.

You should be using the virtual domain capabilities of your MTA instead
of procmail.  For example, sendmail's virtusertable would be perfect for
this application.


Philip Guenther

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