Miscellaneous

  Home arrow Miscellaneous arrow 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


    (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

    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 1 - Follow our Sitemap