Sendmail as a send-only local server: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
**Add <code>FEATURE(`no_default_msa')dnl</code> to the FEATURE block
**Add <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 <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>
[[Category: Linux]]
[[Category: Linux]]

Revision as of 21:19, 5 August 2015

  • Edit /usr/share/sendmail/cf/cf/sendmail-slackware.mc:
    • Add FEATURE(`no_default_msa')dnl to the FEATURE block
    • Add DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl right before the MAILER lines
  • m4 /usr/share/sendmail/cf/cf/sendmail-slackware.mc >/etc/mail/sendmail.cf