Red_Hat
RH302 · Question #106
Your Local Domain is example.com. Configure the send mail server for your local LAN.
1. vi /etc/mail/local-host-names example.com 2. vi /etc/mail/sendmail.mc dnl # DEAMON_OPTIONS('Port=smtp,Addr=127.0.0.1,Name=MTA')dnl 3. m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf 4. vi /etc/mail/access example.com RELAY 192.168.0 RELAY 5. service sendmail start | restart…
Network configuration
Question
Your Local Domain is example.com. Configure the send mail server for your local LAN.
Explanation
- vi /etc/mail/local-host-names example.com
- vi /etc/mail/sendmail.mc dnl # DEAMON_OPTIONS('Port=smtp,Addr=127.0.0.1,Name=MTA')dnl
- m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf
- vi /etc/mail/access example.com RELAY 192.168.0 RELAY
- service sendmail start | restart
- chkconfig sendmail on
Topics
#sendmail#MTA configuration#local domain#email server
Community Discussion
No community discussion yet for this question.