![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| configure sendmail to append domain | hassan1 | UNIX for Advanced & Expert Users | 2 | 06-03-2008 05:50 AM |
| sendmail only sends emails to its own domain | jjwood64 | AIX | 3 | 01-24-2008 08:27 AM |
| changing multiple directory names w/ sed | RahJiggah | OS X (Apple) | 1 | 11-05-2007 09:55 AM |
| blocking sendmail from domain | legato | UNIX for Advanced & Expert Users | 0 | 10-12-2006 02:05 AM |
| using unregistered domain names | norsk hedensk | IP Networking | 2 | 08-02-2002 07:49 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 | ||
|
|
|
||||
|
First check that your DNS is set up for the MX record for the other domain.
# nslookup Server: mydns.mydomain.com Address: 10.140.1.2 > set type=mx > newdomain.com Server: mydns.mydomain.com Address: 10.140.1.2 domain1.com preference = 10, mail exchanger = mx.mydomain.com .... Sendmail.org has some info on setting up virtual hosts/domains - if you have the Sendmail book, it will help. sendmail.org RELAYING Sendmail.org - Queue mail for other domain Sendmail.org virtual hosting |
||||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|