Miscellaneous
  Home arrow Miscellaneous arrow Page 5 - Adding Mail with Exim
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Forums Sitemap 
Download TestComplete 
JMSL Numerical Library 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
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

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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


     

    MISCELLANEOUS ARTICLES

    - Stopping CSRF Attacks in Your PHP Applicatio...
    - Quick and Dirty AJAX Tutorial
    - Flickr Puzzle Mashup
    - The PAVISE of Security
    - Creating a CAPTCHA with PHP
    - Sending SMS Thru HTTP
    - The Postal Fix - Part 2
    - Adding Mail with Exim
    - The Postal Fix - Part 1
    - Create Your Own Custom API
    - Adding Drop Shadows with PHP
    - Writing a Basic Authentication System in PHP
    - Overlapping Images with GD
    - Using Sockets in PHP
    - Dynamic CSS with PHP





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT