Sendmail as a send-only local server
- Edit
/usr/share/sendmail/cf/cf/sendmail-slackware.mc:- Add
FEATURE(`no_default_msa')dnlto the FEATURE block - Add
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnlright before the MAILER lines
- Add
m4 /usr/share/sendmail/cf/cf/sendmail-slackware.mc > /etc/mail/sendmail.cf
- Add something like
root: user user: user@example.org
- to
/etc/mail/aliases; them run the commandnewaliases
- /etc/rc.d/rc.sendmail restart