Configuring sendmail to listen on all interfaces

  • 7003912
  • 17-Jul-2009
  • 30-Apr-2012

Environment

SUSE Linux Enterprise Server 10
Novell Open Enterprise Server 2 (Linux based)
Sendmail

Situation

Configuring sendmail to listen on all interfaces
How to make sendmail listen on all interfaces on the server

Resolution

Corrective Steps:
 
1. Lunch a terminal and edit mail file located in /etc/sysconfig directory with the following command
    vi /etc/sysconfig/mail 
2. Look for line that start with SMTP_LISTEN_REMOTE="no"
    set this to "yes"
3. Restart the sendmail service by typing the following command on the terminal
    /etc/init.d/sendmail restart    or   rcsendmail restart

Additional Information

Notes:
By default, sendmail only listens on localhost and only mail from localhost are accepted. Sendmail needs to be configured to listen on all interfaces in order receive mails from internet.