configuring sendmail

by admin on November 12, 2014

1- install sendmain-cf

2- change directory to /etc/mail and take a backup from original files.

3- edit below config file:

you should remove dnl from below line:

  • LOCAL_DOMAIN (‘localhost.localdomain’) dnl
  • FEATURE (masquerade_envelope) dnl
  • FEATURE (masquerade_entire_domain) dnl

 

and enter your domain name that you want to use – such as localhost

  • MASQUERADE_AS (‘localhost’) dnl
  • MASQUERADE_DOMAIN (localhost) dnl

and then:

now you can send test email:

 

 

Leave your comment

Required.

Required. Not published.

If you have one.