Sendmail configuration  

Install required packages

clip_image002

 

Modify main configuration

clip_image003

clip_image004

Compile new configuration with “m4” micro then restart service and put hostname in “/etc/mail/local-host-names”

clip_image005

 

Add two user for testing.

clip_image006

Then send mail to jon user by eric

clip_image007

Check mail received by jon or not.

clip_image008