I am a sendmail genius!

November 30, 2003

Well not really but here are some good pointers (i.e. things I learned about sendmail today).To ensure that you have port 25 opened:



"telnet domain.com 25"
Trying XXX.XXX.XXX.XXX...
Connected to domain.com.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Sun, 30 Nov 2003 00:46:13 -0600




If you see the following then sendmail is listening on port 25 waiting for incoming email.



Did you know that Reh Hat 9 (maybe previous) version of redhat, do not include the program you need to configure sendmail.cf?



You will need sendmail-cf.VERSION.rpm




rpm -ivh sendmail-cf.rpm




To stop and start (restart) sendmail:




/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start




Once you are done editing your sendmail.mc file and you want to apply your changes, do this and then restart sendmail:




m4 sendmail.mc > sendmail.cf




More to come, but it is late, and I finally got email working again here at my job :–) No one is going to kill mey yay!



-dm

posted in Linux by dmacias

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org