Mailinglist Archive: opensuse (3644 mails)

< Previous Next >
Re: [SLE] sendmail virtual hosting
  • From: <dog@xxxxxxxxx>
  • Date: Tue, 5 Mar 2002 08:45:53 -0600 (CST)
  • Message-id: <Pine.LNX.4.33.0203050840070.6481-100000@xxxxxxxxxxxxxxx>
put the domains you want to recieve mail for (ie, etc) in the
/etc/mail/ (that is if you used the suse rpms, if you compiled
from source put them in /etc/mail/local-host-names)

restart sendmail

now your mail server will accept mail for whatever domains are listed in
that file (one entry per line) you also need mx records in your DNS
pointing each domain to the A record for your machine (ie, if your machine
is and has an ip of then the record
in the zone file would look like
IN MX 10

now to get the user names and user accounts straight, you will need to
edit your /etc/mail/virtusertable file

john.doe@xxxxxxxxx: q001
jasson.smith@xxxxxxxxx: q002

this maps the virtual user account john.doe to the real user accout q001
when john.doe wishes to check his email, he will need to login as q001
with his password.
then save the file and rebuild the database with
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable

no need to restart sendmail for this step.

You said:


im a bit confused with sendmail,

i have installed a system with sendmail since its the default installation
and mostly supported mail system,
now the system has been installed under my own domain:

now when im getting lost on where to and what to configure in order to host
other domains such as

i have created localuser accounts


and i would like these accounts to have the following mail addresses
(incoming and outgoing)

q001 -> john.doe@xxxxxxxxx
q002 -> jasson.smith@xxxxxxxxx

what do i have to do to get this right and so that i can also host some
other domains on the same system?

awaitting for your friendly support

To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at and the
archives at

Chad Whitten
Network/Systems Administrator
neXband Communications

< Previous Next >
This Thread