Difference between revisions of "sendmail"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
m (smw: software type)
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
==About==
 
==About==
 
[[sendmail|Sendmail]] is a [[free/open-source]] [[email server]] that handles both relay and delivery. The documentation is very detailed but also unclear on many critical points.
 
[[sendmail|Sendmail]] is a [[free/open-source]] [[email server]] that handles both relay and delivery. The documentation is very detailed but also unclear on many critical points.
 +
 +
If you want to use Sendmail from the command-line as a way of generating test messages, see [[Postfix/fixing]] or [https://tecadmin.net/ways-to-send-email-from-linux-command-line/ 5 Ways to Send Email From Linux Command Line]. (The latter method works even when Sendmail is actually Postfix.)
 
==Notes==
 
==Notes==
 
* [[/features]] are invoked and configured in the [[/files/sendmail.mc|sendmail.mc file]]
 
* [[/features]] are invoked and configured in the [[/files/sendmail.mc|sendmail.mc file]]
Line 12: Line 14:
 
* [[/macros]] are used in various places
 
* [[/macros]] are used in various places
 
* [[/procmail]]: still trying to figure out how to get these to work together
 
* [[/procmail]]: still trying to figure out how to get these to work together
 +
* [[/SSL]]: configuring secure connections
  
 
==Links==
 
==Links==
Line 23: Line 26:
 
* {{wikipedia}}
 
* {{wikipedia}}
 
* [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/sendmail.htm IBM AIX]: not sure if this is standard sendmail
 
* [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/sendmail.htm IBM AIX]: not sure if this is standard sendmail
 +
* [https://help.dreamhost.com/hc/en-us/articles/216687518-How-do-I-use-Sendmail- How do I use Sendmail?]
  
 
===How To===
 
===How To===
 
* [http://www.linuxserverhowto.com/linux-mail-server-sendmail/configure-sendmail.html Linux Server How To - Configure Sendmail]
 
* [http://www.linuxserverhowto.com/linux-mail-server-sendmail/configure-sendmail.html Linux Server How To - Configure Sendmail]
 
** [http://www.linuxserverhowto.com/linux-mail-server-sendmail/sendmail-linux-mail-server-spam-control.html Linux Server How To - Filtering Spam on a Sendmail Mail Server]: suggests installing [[SpamAssassin]], but doesn't say how to get it working with sendmail
 
** [http://www.linuxserverhowto.com/linux-mail-server-sendmail/sendmail-linux-mail-server-spam-control.html Linux Server How To - Filtering Spam on a Sendmail Mail Server]: suggests installing [[SpamAssassin]], but doesn't say how to get it working with sendmail
 +
==Notes==
 +
<pre>
 +
To enable sendmail to use STARTTLS, you need to:
 +
1) Add this line to /etc/mail/sendmail.mc and optionally
 +
  to /etc/mail/submit.mc:
 +
  include(`/etc/mail/tls/starttls.m4')dnl
 +
2) Run sendmailconfig
 +
3) Restart sendmail
 +
</pre>

Latest revision as of 16:06, 17 September 2021

About

Sendmail is a free/open-source email server that handles both relay and delivery. The documentation is very detailed but also unclear on many critical points.

If you want to use Sendmail from the command-line as a way of generating test messages, see Postfix/fixing or 5 Ways to Send Email From Linux Command Line. (The latter method works even when Sendmail is actually Postfix.)

Notes

Links

Reference

How To

Notes

To enable sendmail to use STARTTLS, you need to:
1) Add this line to /etc/mail/sendmail.mc and optionally
   to /etc/mail/submit.mc:
  include(`/etc/mail/tls/starttls.m4')dnl
2) Run sendmailconfig
3) Restart sendmail