User Tools

Site Tools


exim4:enable_smtp-auth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exim4:enable_smtp-auth [2016/11/07 12:21] peterexim4:enable_smtp-auth [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 100: Line 100:
    .endif    .endif
 </file> </file>
 +
 +
 +===== 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
 +</code>
 +
 +To configure saslauthd edit the /etc/default/saslauthd configuration file and set START=no to:
 +
 +<file bash /etc/default/saslauthd>
 +START=yes
 +</file>
 +
 +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
 +</code>
 +
 +Now start the saslauthd service:
 +
 +<code bash>
 +sudo /etc/init.d/saslauthd start
 +</code>
 +
 +Exim4 is now configured with SMTP AUTH using TLS and SASL authentication.
  
  
Line 158: Line 189:
 </code> </code>
  
 +
 +===== 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
 +</code>
  
 ===== References ===== ===== References =====
  
 /usr/share/share/exim/README.Debian.gz /usr/share/share/exim/README.Debian.gz
 +
 +https://help.ubuntu.com/community/Exim4
 +
 +https://debian-administration.org/article/280/HowTo_Setup_Basic_SMTP_AUTH_in_Exim4
exim4/enable_smtp-auth.1478521271.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki