Adding Mail with Exim - Configure Exim (Page 5 of 9 )
The configuration file determines Exim's behavior.
Edit Exim's configuration file.
# cd /usr/local/exim # vi conf/exim.conf
Set the primary hostname and the allowed relays:
primary_hostname = server.example.com domainlist local_domains = @ : example.com domainlist relay_to_domains = hostlist relay_from_hosts = 127.0.0.1
If desired, DNS blacklisting can be configured under the acl_check_rcpt section:
deny message = rejected because $sender_host_address is listed at sbl-xbl.spamhaus.org dnslists = sbl-xbl.spamhaus.org
Edit the local_delivery section:
local_delivery: driver = appendfile file = /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group = exim mode = 0660
The alias file is a list of mail account aliases which can be used to redirect incoming mail to another account. Mail addressed to system accounts are typically redirected to the root user, then the root user's account is redirected to root's unprivileged user account.
Next: Start and Test the Mail Server >>
More Miscellaneous Articles More By bluephoenix
Please enable JavaScript to view the comments powered by Disqus. blog comments powered by