Restarting sendmail fails with "No local mailer defined" error.

Solution Verified - Updated -

Issue

  • Sendmail outputs following errors when restarting:
# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [FAILED]
Starting sendmail: 554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set
[FAILED]
Starting sm-client: [ OK ]

Environment

  • Red Hat Enterprise Linux 5
  • sendmail
  • sendmail-cf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content