I think that you can do virtual hosting, as per your requests, on sendmail
So, you have to:
1. Setup correctly the DNS for a new domain putting a MX record into the
zone file as bellow. For more details refer to
newdomain.com. IN MX 10 yourmailserver.yourdomain.com.
2. Create a sendmail configuration file, for example vh.mc, on
/usr/src/sendmail/cf/cf directory enabling these features:
FEATURE(`virusertable', `hash /etc/virtusers')dnl
4. Create the sendmail.cf file :
m4 vh.mc > /etc/sendmail.mc
3. Create the /etc/virtusers file, putting on it :
when user is a normal user on your mail server
4. Do :
makemap hash /etc/virtusers < virtusers
5. Create the /etc/sendmail.cw file, which must have:
6. On the /etc/mail/relay-domains file, put enter square brackets ip
addresses of your host (including dynamically assigned ip addresses for
7. Restart sendmail and dns
Please tell me if this resolve your problem.
At 08:37 PM 1/8/00 +0100, Grischa Schuering wrote:
>Thanks for your answer. But if I undestood the infos given here right,
>sendmail only offers you virtual email aliases but not different virtual
>domain mail servers with same user accounts for each domain.
>You have to create accounts like
>info-domain1 -> firstname.lastname@example.org
>info-domain2 -> email@example.com
>The application on Windows NT I know can handle virtual domain email servers
>info -> firstname.lastname@example.org, on virtual mail server mail.domain1.com
>info -> email@example.com, on virtual mail server mail.domain2.com
>both users are on the same machine but on different ip's.
>actually i need a way to set up virtual user accounts just for mail, that
>don't need a login on the machine they are running. and since the unix
>automatically adds a email accont for every user that is entered into the
>system, it might be a hard thing to accomplish.
>maybe some knows a solution,
>Von: Agim Cami
>An: Grischa Schuering; firstname.lastname@example.org
>Gesendet: 08.01.00 10:04
>Betreff: Re: Sendmail virtual users
>Yes you can and is very easy.
>You have to proceeded through this HOW-To-Document
>>is it possible that you have a user name, e.g. info, and the email
>>email@example.com that you have another user name that is info, for
>>domain firstname.lastname@example.org for email access.
>>My question is, can I have virtual domains and virtual email domain
>>accounts with sendmail ?
>>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>>the body of a message to email@example.com
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to firstname.lastname@example.org
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to email@example.com
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:29 EST