Sendmail as a send-only local server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
*Edit <code>/usr/share/sendmail/cf/cf/sendmail-slackware.mc</code>: | *Edit <code>/usr/share/sendmail/cf/cf/sendmail-slackware.mc</code>: | ||
**Add <code>FEATURE(`no_default_msa')dnl</code> to the FEATURE block | **Add the line <code>FEATURE(`no_default_msa')dnl</code> to the FEATURE block | ||
**Add <code>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl</code> right before the MAILER lines | **Add the line <code>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl</code> right before the MAILER lines | ||
*<code># m4 /usr/share/sendmail/cf/cf/sendmail-slackware.mc > /etc/mail/sendmail.cf</code> | *<code># m4 /usr/share/sendmail/cf/cf/sendmail-slackware.mc > /etc/mail/sendmail.cf</code> | ||
Revision as of 21:27, 5 August 2015
- Edit
/usr/share/sendmail/cf/cf/sendmail-slackware.mc:- Add the line
FEATURE(`no_default_msa')dnlto the FEATURE block - Add the line
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnlright before the MAILER lines
- Add the line
# 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