Miscellaneous

  Home arrow Miscellaneous arrow Page 5 - Adding Mail with Exim
MISCELLANEOUS

Adding Mail with Exim
By: bluephoenix
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2005-03-15

    Table of Contents:
  • Adding Mail with Exim
  • Prepare the Working Environment
  • Install the BerkeleyDB Library
  • Install Exim
  • Configure Exim
  • Start and Test the Mail Server
  • Verify the DNS MX Records
  • Create a Symbolic Link
  • Conclusion

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    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.

    # vi conf/aliases

    More Miscellaneous Articles
    More By bluephoenix

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap