Sendmail as a send-only local server
Jump to navigation
Jump to search
# cd /usr/share/sendmail/cf/cf- Edit
sendmail-slackware.mc:- Add the line
FEATURE(`no_default_msa')dnlto the end of the FEATURE block - Add the line
DAEMON_OPTIONS(`NAME=NoMTA4,Family=inet,Addr=127.0.0.1')dnlright before the MAILER lines
- Add the line
# m4 sendmail-slackware.mc > /etc/mail/sendmail.cf
- Add something like
root: user user: user@example.org
- to the end of
/etc/mail/aliases; then run the commandnewaliases
# /etc/rc.d/rc.sendmail restart- Make sure that the fqdn-hostname is whitelisted in the inbound smtp server for
example.org