Miscellaneous
  Home arrow Miscellaneous arrow Adding Mail with Exim
CIO Insight
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 
Dedicated Servers  
Download TestComplete 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
eWeek
 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

    Virtual Tradeshows by Ziff Davis Enterprise – A Unique Opportunity to Interact with IT Experts, Access Information, and Gain Insight on Today’s Trends in Technology Learn more

    Adding Mail with Exim
    (Page 1 of 9 )

    PHP must have access to the Sendmail binary during compile time if its mail() function is desired. However, Exim can replace sendmail as shown how in this tutorial.

    Generating an email message as a result of some user action from a web page is a common occurrence. It can be done very easily with PHP's mail function. But in order for mail services to be available, a mail server must first be set up.

    Under Windows a mail server is defined in the php.ini file using the SMTP option. For the mail functions to be available on a Linux or similar machine, PHP must have access to the Sendmail binary during compile time. If it doesn't exist then the mail function will not be available.

    However, Sendmail has a history of being flexible to the point of being difficult to install, configure and maintain. Several other mail servers have been written to act as "Sendmail replacements" and are easier to manage. One such replacement is Exim.

    Exim is easier to configure and maintain than Sendmail, and can be installed as a full replacement for Sendmail. Any agent that sends mail by calling Sendmail would actually send the message using Exim instead.

    In this tutorial I will show my basic installation and configuration of Exim as a Sendmail substitute to provide PHP with mail capabilities.

    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 5 hosted by Hostway