sendmail/e-mail doesn't work

Last Update 2006-03-31

Well, what doesn't work? You have to find out what exactly doesn't work. That involves finding a complete error message or taking a look at the logfile.

Incoming Mail doesn't work

Some basic things to do/check:
  1. did you start the sendmail daemon?

    (e.g., sendmail -bd)

  2. Does it run?

    ps axuww | grep sendmail or ps -eaf | grep sendmail

  3. Check the logfile for any errors.
  4. Connect to your sendmail daemon:

    telnet localhost 25 Does it respond?

  5. Send yourself a test message from another system:

    date | sendmail -v you@your.domain and take a look at the output.

Outgoing Mail doesn't work

Some basic things to do/check:
  1. Send a test message to another system:

    date | sendmail -v nobody@another.domain and take a look at the output.

  2. Check the logfile for any errors.
And finally, when you ask a question (in comp.mail.sendmail or at sendmail.org), make sure you do it the right way and ask smart.
[(links)] [Hints] [Avoiding UBE] [cf/README] [New]
Copyright © Claus Aßmann Please send comments to: <ca at sendmail.org>
Disclaimer: the information provided may be inaccurate or outdated or incomplete. Please contact me if you find an error.