Setting Up Mail:

Mail file:  /etc/mail/sendmail.mc

Near bottom:

     MASQUERADE_AS(‘domain.com’)dnl

     FEATURE(masquerade_envelope)dnl

     FEATURE(masquerade_entire_domain)dnl

Add:

     define(‘confDOMAIN_NAME’,’smtp.domain.com’)dnl

Save – CTRL-Shift-X

Make Mail:  /etc/mail/make

Restart Mail:  service sendmail restart

 

Allowing Other Computers To Send EMail

Comment out line:   DAEMON_OPTIONS(‘Port=smtp,Addr=127.0.0.1,Name=MTA’)dnl      by adding dnl# at the start of this line

Add the server’s internal IP address with RELAY at the end in this file:  /etc/mail/access

External Connection:

     SMTP HOST:  server’s IP address (this IP address must be in the “access” file above

     SMTP PORT:  25

     No secure or SMTP Authentication