exim4:enable_smtp-auth
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exim4:enable_smtp-auth [2016/11/07 12:21] – peter | exim4:enable_smtp-auth [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 100: | Line 100: | ||
| | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Configuring SASL ===== | ||
+ | |||
+ | This section provides details on configuring the saslauthd to provide authentication for Exim4. | ||
+ | |||
+ | Install the sasl2-bin package. | ||
+ | |||
+ | <code bash> | ||
+ | apt-get install sasl2-bin | ||
+ | </ | ||
+ | |||
+ | To configure saslauthd edit the / | ||
+ | |||
+ | <file bash / | ||
+ | START=yes | ||
+ | </ | ||
+ | |||
+ | Next the Debian-exim user needs to be part of the sasl group in order for Exim4 to use the saslauthd service: | ||
+ | |||
+ | <code bash> | ||
+ | sudo adduser Debian-exim sasl | ||
+ | </ | ||
+ | |||
+ | Now start the saslauthd service: | ||
+ | |||
+ | <code bash> | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | Exim4 is now configured with SMTP AUTH using TLS and SASL authentication. | ||
Line 158: | Line 189: | ||
</ | </ | ||
+ | |||
+ | ===== An SMTP AUTH session ===== | ||
+ | |||
+ | <code bash> | ||
+ | 220-mail.xxxxxxxx.com ESMTP Exim 4.34 #1 Wed, 23 Jun 2004 17:35:13 -0700 | ||
+ | EHLO mail.myserver.com | ||
+ | 250-mail.xxxxxxxx.com Hello mail.myserver.com [192.168.0.156] | ||
+ | 250-SIZE 52428800 | ||
+ | 250-PIPELINING | ||
+ | 250-AUTH PLAIN LOGIN | ||
+ | 250-STARTTLS | ||
+ | 250 HELP | ||
+ | AUTH LOGIN | ||
+ | 334 VXNlcm5hbWU6 | ||
+ | bXl1c2VybmFtZQ== | ||
+ | 334 UGFzc3dvcmQ6 | ||
+ | bXlwYXNzd29yZA== | ||
+ | 235 Authentication succeeded | ||
+ | </ | ||
===== References ===== | ===== References ===== | ||
/ | / | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// |
exim4/enable_smtp-auth.1478521271.txt.gz · Last modified: 2020/07/15 09:30 (external edit)