Mail forwarding

From: Gil Renard <gilrenard_at_yahoo.com>
Date: Wed, 28 Feb 2001 07:24:22 -0800 (PST)

Hi managers

I have the following situation: I have three machines
(mail.example.com, numbers.example.com and
names,example.com). I need to receive mail on
mail.example.com and forward it depending on the "To"
field with the following rules:

-If the user name contains numbers, forward it to
numbers.example.com

72981_at_mail.example.com--> 5572981_at_numbers.example.com

-If the user name contains letters, forward it to
names.example.com

mail.example.com doesn't have any of these user
accounts, I need it only as a forwarder. I also need
this to work automatically when I add accounts in
numbers and in names.

I'm considering two approaches to this problem: using
procmail or writing some sendmail ruleset. How would
you solve this?

I can use 4.0f or 5.1, if needed I can compile a new
sendmail or other MTA.

TIA
Gil Renard

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
Received on Wed Feb 28 2001 - 15:25:17 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT