Discussion Locked

Linux Mail

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i want to configure linux mail server with dsl link.i have configured DNS &Names but i am not able to recive mails.

3 replies

by eperrin

What server do you want to use?

Sendmail
Postfix
Qmail
Exim (though I have not seen it lately)

There are a host of SMTP/POP3 servers you can install. Exactly what do you want to do?

by eperrin

There should be a sendmail.cf file under /etc or under /etc/mail.

There will also be files such as aliases, domaintable, virtusertable and possibly others under the /etc or /etc/mail directories. If you compiled sendmail yourself then you will know what you have enabled for functionality purposes.

the first thing you want to do is make an entry into the sendmail.cf file.

The entry will look like this
# Alias for this host
Cw localhost hostname.domain.com

That will setup your machine to receive mail for your domain.

If you host additional domains and your sendmail.cf file has a line in it that says

#### @(#)use_cw)file.m4

it means that you can use a sendmail.cw file for virtualdomain support. If this is the case there will be another section of the file called local info where you will want the following lines

Cwlocalhost
Fw/etc/sendmail.cw or
Fw/etc/mail/sendmail.cw

There are a host of other configuration variables that you can enable or disable aswell. If you are not that familiar with sendmail, it may be a good idea to install the webmin web administration package, which gives you a web based GUI to interface to sendmail and configure from there.

Sites you want to visit are

http://www.sendmail.org
http://www.webmin.com

And you can contact me for any other specific questions you may have

This discussion is closed to new replies.