Miscellaneous
  Home arrow Miscellaneous arrow Page 6 - Adding Mail with Exim
Try It Free
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 
IBM developerWorks
 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
     
    Try It Free
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Adding Mail with Exim - Start and Test the Mail Server


    (Page 6 of 9 )

    The server should be started and tested. Exim accepts most sendmail command line options.

    Start Exim using the become daemon and reasonable queue processing options.

    # /usr/local/exim/bin/exim -bd -q30m

    Verify the daemon is running and listening to port 25.

    # ps aux | grep exim
    exim 7768 0.0 0.1 3052 1016 ? S 11:33 0:00 /usr/local/exim/bin/exim

    # netstat -l | grep smtp
    tcp 0 0 *:smtp *:* LISTEN

    Connect to the server using telnet and send a test email message from within the network.

    # telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 server.example.com ESMTP Exim 4.50 Mon, 14 Mar 2005 11:46:15 -0500
    EHLO example.com
    250-server.example.com Hello localhost [127.0.0.1]
    250-SIZE 52428800
    250-PIPELINING
    250 HELP
    MAIL FROM: root@example.com
    250 OK
    RCPT TO: root@example.com
    250 Accepted
    DATA
    354 Enter message, ending with "." on a line by itself
    TO: root@example.com
    FROM: root@example.com
    SUBJECT: test message

    Test Message
    .
    250 OK id=1DAsiQ-0003Hn-PP
    QUIT
    221 server.example.com closing connection
    Connection closed by foreign host.

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