[plug] Email

Anthony J. Breeds-Taurima tony at cantech.net.au
Wed Oct 31 10:24:48 WST 2001


On Tue, 30 Oct 2001, Andrew  Barbara wrote:

> Is it possible to groupe users in sendmail or any other MTA?
> I need to have 2 or more of the same username on one system accepting multiple domains.
> ie...
> user at domain1.com.au 
> and...
> user at dimain2.com 
> on the same linux server.
> Thanks

With sendmail on a modern distro (debian or RedHat)
add:
user at domain1.com       local_user1
@domain1.com           local_user2
user at domain2.com       local_user3
@domain2.com           local_user4
to /etc/mail/virtusertable

add:
domain1.com
domain2.com

to /etc/mail/local-host-names

restart sendmail
and thats it.

Basically this means that 
local_user1 will get any mail addressesd to "user at domain1.com".
local_user2 will get any mail addressesd to "@domain1.com" (except
 "user at domain1.com")
local_user3 will get any mail addressesd to "user at domain2.com".
local_user4 will get any mail addressesd to "@domain2.com" (except
 "user at domain2.com")

Install the sendmail-doc package and invetigate README.cf
or checkout the info at www.sendmail.org

Can't help with other MTA's

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



More information about the plug mailing list