S-nail: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
The following is an example tested Ubuntu 20 or Debian 10/Buster | The following is an example tested Ubuntu 20 or Debian 10/Buster | ||
= | =Installatifthon= | ||
apt-get install s-nail | apt-get install s-nail | ||
Line 9: | Line 9: | ||
with [https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#STARTTLS_or_%22Opportunistic_TLS%22 STARTTLS] | with [https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#STARTTLS_or_%22Opportunistic_TLS%22 STARTTLS] | ||
and [https://en.wikipedia.org/wiki/SMTP_Authentication#Details PLAIN] which suits for almost all mail server. | and [https://en.wikipedia.org/wiki/SMTP_Authentication#Details PLAIN] which suits for almost all mail server. | ||
It already contains the USERNAME and PWD. This way the client does not need to authenticate anymore. | It already contains the USERNAME and PWD. <br> | ||
This example trusts the MTA and does not verify TLS certificate, this is a workaround with root certificate issues. | This way the client does not need to authenticate anymore. This example trusts the MTA and does not verify TLS certificate, this is a workaround with root certificate issues. | ||
*Add the following to /etc/s-nail.rc | *Add the following to /etc/s-nail.rc |
Revision as of 19:09, 18 March 2021
S-nail is an easy workaround for Linux workstation which can be quickly establish, it works with gmail, yahoo and others. The following is an example tested Ubuntu 20 or Debian 10/Buster
Installatifthon
apt-get install s-nail
Configuration
This configuration is a quick sample to use TLS
with STARTTLS
and PLAIN which suits for almost all mail server.
It already contains the USERNAME and PWD.
This way the client does not need to authenticate anymore. This example trusts the MTA and does not verify TLS certificate, this is a workaround with root certificate issues.
- Add the following to /etc/s-nail.rc
set v15-compat ssl-method=auto set smtp=<your-mailserver.com> set user=<username> set password=<password> set smtp-use-starttls set ssl-verify=ignore set smtp-auth=plain