Miscellaneous

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

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