Why do aliases not work in sendmail when the sendmail daemon is not running?

Solution Verified - Updated -

Issue

  • Sendmail is configured as per this kbase to send all emails to relay mail server. Why alias doesn't work in sendmail when sendmail daemon is not running ?
  • The /etc/aliases file is configured to send messages destined to  root to test@example.net but the emails are not  getting out when logwatch script is executed. After modifying /usr/share/logwatch/default.conf/logwatch.conf file and changed the MailTo line from root to test@example.net, emails are received when logwatch script is executed.

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.