Web Hosting Talk







View Full Version : Two-way Forwarder in /etc/aliases


fog
09-13-2003, 08:28 AM
Hi all,

I'm trying to get mail sent to admin@domain to forward to two separate addresses (on different servers).

We had
admin address1 address2
(where address[1-2] were full addresses including their respective domains and such.)

When that kept bouncing, we tried
admin address1
admin address2

Which also doesn't work. (After running newaliases.) So what is the correct way to have one alias forward to two people?

Stable
09-13-2003, 08:50 AM
add a .forward file that looks like this in the home dir for the user:


address1@blah.com, address2@blah.com

RutRow
09-13-2003, 09:06 AM
According to the man file, the format is:

admin: address1, address2

fog
09-13-2003, 09:55 AM
"admin" isn't a system user, just an alias.

I can't believe I didn't think to use a comma. :blush:

BTW, what man page was this in? newaliases? I thought all it did was update the list of aliases and never would have thought have checked.

Thanks for your help. I'm ssh'ing in now. :)

RutRow
09-13-2003, 10:09 PM
The man page was aliases.

man aliases