Beruflich Dokumente
Kultur Dokumente
Release found:
Resolution:
Follow the steps below to install and configure exim as a SMTP mail server:
#up2date exim
2. Switch the default Mail Transport Agent (MTA) to exim:
#system-switch-mail
3. Select exim.Close the exim configuration file and start the exim service:
# chkconfig exim on
# service exim start
4. Edit exim's main configuration file:
#vi /etc/exim/exim.conf
In Main Configuration Settings, uncomment primary_hostname and add the
hostname of system:
primary_hostname = server.example.com #
The first three uncommented configuration lines are as follows:
Copyright (c) 2009 by Red Hat, Inc. This material may be distributed only subject to the terms and conditions set forth in
the Open Publication License, v1.0 or later (available at http://www.opencontent.org/openpub/).
1
How do I install exim and configure it as a SMTP mail server?
#qualify_domain = example.com
#qualify_recipient =
so that it looks like:
qualify_domain = example.com
#qualify_recipient =
The first entry specifies a domain that Exim uses when it constructs a complete email
address from a local login name. This is often needed when Exim receives a message from
a local process. If qualify_domain is not set, the value of primary_hostname is used. If both
of these options are set, different qualification domains for sender and recipient addresses
can be there. If qualify_domain is set only,then its value is used in both cases.
1. Test the connectivity of the default mailserver by doing a telnet on port 25.
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server.example.com ESMTP Exim 4.43 Tue, 10 Oct 2006 01:21:16
+0530
If the result is similar to the above output, it means the installation was successful.
Copyright (c) 2009 by Red Hat, Inc. This material may be distributed only subject to the terms and conditions set forth in
the Open Publication License, v1.0 or later (available at http://www.opencontent.org/openpub/).
2