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. |
Next: Verify the DNS MX Records >>
More Miscellaneous Articles
More By bluephoenix