Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relaying to two hosts

Status
Not open for further replies.

smikes19

MIS
Oct 18, 2001
62
US
Hi,
I have setup a 8.12.5 server as a relay using
FEATURE(MAIL_HUB_, host1.domain.com)
FEATURE(stickhost)

I want all mail to go to host1 and that seems to work -- but I need a few users to go to host2. So i've created an aliases file and put in an entry like,

user: user@host2.domain.com

That doesnt work...and all mail continues to go to host1. What do I need to change here?

Thanks!!!
 
did you run "newaliases" to rebuild the database after you changed it?
 
My new findings:

- newaliases doesn't complain about these non-local address aliases.

- date | sendmail -v user works! aliases kick in...
- date | sendmail -v user@domain.com doesnt work...aliases file ignored. I think this is where the problem lays.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top