Operating System - Linux
1825774 Members
2178 Online
109687 Solutions
New Discussion

sendmail and Multiple SMTP Domain

 
SOLVED
Go to solution
Maaz
Valued Contributor

sendmail and Multiple SMTP Domain

I have configure sedmail to work for abc.com and xyz.net
#/etc/mail/local-host-names
abc.com
xyz.net
Its working OK.

Prblm is that... user1@abc.com and user1@xyz.net have the same mailbox.
In my case I want that user1@abc.com have diff/separate mailbox and user1@xyz.net have separate mailbox.

Plz help me

Regards
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: sendmail and Multiple SMTP Domain

Shalom,

I've done it.

The best guide is virutal domain in http://www.sendmail.org

http://www.sendmail.org/tips/virtual-hosting.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Maaz
Valued Contributor

Re: sendmail and Multiple SMTP Domain

Thanks SEP for help. After Reading i did the following

On Server Side
1) I created three users on mail server system, (i)user1 (ii)user1.xyz (iii) user1.abc

2)/etc/mail/virtusertable
user1@abc.com user1.abc@abc.com
user1@xyz.net user1.xyz@xyz.net

3) make; service sendmail reload

On Client Side(evolution)
users for xyz company:
Email: user1@xyz.net ->
Incomming server: pop.xyz.net User: user1.xyz
That is pop user is "user1.xyz"

users for abc company:
Email: user1@abc.com ->
Incomming server: pop.abc.com User: user1.abc
That is pop user is "user1.abc"

I did right ??? Comments and suggestions
are highly appreciated

Thanks n Regards

Maaz