Showing posts with label Sendmail configuration. Show all posts
Showing posts with label Sendmail configuration. Show all posts

Saturday, July 24, 2010

Sendmail configuration

1. cp -p /etc/sendmail.cf /etc/sendmail.cf.backup
2. vi /etc/sendmail.cf
3. Search for #DSmailer:relayhostname
4. Add hostname
5. refresh -s sendmail
6. echo " hi " | mail -s " testmail" yourmailid@zzz.com