The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-16-2004
captainash captainash is offline
Registered User
 

Join Date: Oct 2003
Location: In a cold, dark room.
Posts: 4
Using Sendmail for multiple domain names

Hi,

We're an internet company with several domain names. Our mail server was originally set up to deal with xxx@domain1.com email addresses which works fine.

The problem I have is that we're now also using a domain2.com, and sales@domain1.com isn't the same as sales@domain2.com.

I've added domain2.com to the /etc/mail/local-host-names file, and tried adding:

sales@domain1.com: user1
sales@domain2.com: user2

into the aliases file ... but that didn't work. All I can do is get all the mail sent to user1

How do I go about directing email by the domain name?

Any help most appreciated,
Ash
__________________
Liver, lover, lifer ... loner.
Forum Sponsor