UCNS WSG Linux sendmail information

The sendmail package distributed with Red Hat is now configured to reject mail from any machine other than localhost by default. If you need to accept mail on your linux box you'll nedd to make a minor change to the sendmail configuration. Follow the steps below and you should be deluged with mail in no time :-)

  1. Stop sendmail by running the following: /etc/rc.d/init.d/sendmail stop
  2. Backup your current sendmail config file: cp /etc/sendmail.cf /etc/sendmail.cf.orig
  3. Edit the file /etc/mail/sendmail.mc and change the line containing the string DAEMON_OPTIONS as follows:
  4. As root, run the command m4 /etc/mail/sendmail.mc > /etc/sendmail.cf to rebuild the sendmail config file.
  5. Restart sendmail by running the following: /etc/rc.d/init.d/sendmail start
That should do it!
| WSG Home |