Simple Authentication and Security Layer (SASL) is a framework for authentication and data security in Internet protocols.
Questions tagged [sasl]
259 questions
1
vote
3 answers
Posfix smtpd_sasl_path seems does not work for me
I have such configuration:
/etc/postfix/main.cf
smtpd_sasl_type = cyrus
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = /usr/lib/sasl2/smtpd
/usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN DIGEST-MD5…

alex2k8
- 175
- 1
- 4
- 9
1
vote
1 answer
NetBSD + openLDAP + SASL
I try to set up a connection to a openLDAP server running on NetBSD 10 via TLS and SASL. When I try ldapsreach -Y EXTERNAL
I get
ldapsearch: not compiled with SASL support
and
ldd /usr/bin/ldapsearch
shows also no info about sasl-Libs. This site…

Thomas P
- 51
- 1
- 9
1
vote
3 answers
Postfix with Dovecot on Ubuntu 20.04 postfix/mail fatal: no sasl authentication mechanisms
Here's the output of doveconf -n:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.7.2 ()
# OS: Linux 5.17.5-x86_64-linode154 x86_64 Ubuntu 20.04.4 LTS
# Hostname: mail.servicemouse.com
doveconf: Error:…

Scott K
- 11
- 1
1
vote
1 answer
How does SASL know to read config from /etc/postfix/sasl?
I've set up Postfix to authenticate with SASL on a Ubuntu based system. I've done this by following along with some recipes, but mostly readying a lot of the docs.
One bit that works, but which I don't understand how it works is based on a recipe…

Dom
- 458
- 1
- 5
- 15
1
vote
0 answers
Postfix unable to authenticate with Microsoft Exchange (No credentials were supplied)
I want to setup postfix on my nagios server to relay emails to our Microsoft Exchange server and I am running into issues with authenticating with Microsoft Exchange.
Specifically I am getting this error:
warning: SASL authentication failure:…

qroberts
- 285
- 1
- 4
- 23
1
vote
0 answers
Postfix Can't Receive Internet Email - warning: SASL: Connect to /var/spool/postfix/private/auth failed
Using CentOS 8, I've setup dovecot and postfix and tested that:
I can sign in as an authenticated user
Read email (IMAP)
Send email to the same/different account on the server
Send email outbound, to an internet mail server
Server does not act as…

dark_st3alth
- 161
- 1
- 2
- 8
1
vote
1 answer
Trouble enabling mail_crypt in dovecot / SASL authentication failed
dovecot --version
2.3.4.1 (f79e8e7e4)
Ok, I tried to enable mail-crypt but it's being weird. I'm using https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/#ec-key.
I ran:
cd $HOME
openssl ecparam -name prime256v1 -genkey | openssl pkey…

NorseGaud
- 151
- 4
1
vote
2 answers
Dovecot not authenticating clients in mail server with postfix cyrus(for sasl authentication) and dovecot in centos 7
As i have been building a mailserver i have another question in process that i haven't been able to find in google so i am expecting i will get a answer here
so The update is i have created a mailserver with postfix authenticated with sasl using…

ram khanal
- 23
- 1
- 4
1
vote
3 answers
Postfix + sasldb issue (solved as of Mar 2021)
PS(SOLVED: Solution for Alpine Linux as of Mar 2021, the fix in cyrus-sasl 2.1.27-r12 is in edge branch. 3.13 only has cyrus-sasl 2.1.27-r10.
PS: I know there are similar posts but they are very dated like 2015. My issue is 2021 and was working…

John Siu
- 3,667
- 2
- 17
- 23
1
vote
1 answer
Why do I get "Server not found in Kerberos database" using testsaslauthd?
I'm trying to setup Kerberos auth over SASL using OpenLDAP. As I understand it, I need a host keytab in /etc/krb5.keytab from the KDC I'm using and then {SASL}user@realm in the given user's LDAP password attribute. Switching users from root > nobody…

Server Fault
- 3,714
- 12
- 54
- 89
1
vote
1 answer
Authenticating Apache HTTPServer 2.4.x with mod_auth_gssapi using Microsoft Active directory
I'm looking for below configurations for GSSAPI authentication with Apache 2.4 for Active directory:
1. How to configure Apache HTTPServer 2.4.x with mod_auth_gssapi using Microsoft Active directory? Is there any documentation OR POC example stating…

Rohit Gaikwad
- 131
- 1
- 6
0
votes
1 answer
Dovecot: Username character disallowed by auth_username_chars: 0x0a
I'm trying to set up a postfix+dovecot server to use GNU Mailman for creating a mailing list server, however I'm currently stuck at setting up SASL authentication using dovecot. It seems to add a newline character to the base64 encoded username
Note…
user450390
0
votes
1 answer
How to setup SASL Proxy Authorization with an OpenLDAP server on Debian
For Kerberos Authentication together with SASL/GSSAPI Authorization on client devices I need Proxy Authorization on an OpenLDAP server running on Raspberry Pi with Debian/Raspbian Buster. I tried to follow the description in the OpenLDAP Software…

Ingo
- 416
- 5
- 13
0
votes
1 answer
Postfix How to send mail in behalf of an alias
I'm using postfix as a mail relay in a very simple setup, mostly with aliases, forwarding mails to GMail.
My main goal with this is to minimize the need for mailboxes on my server.
Let's assume I have the following alias
bob@mydomain.tld ->…

mefiX
- 101
- 2
0
votes
1 answer
Unable to connect to port 993 for IMAP on Ubuntu server with Postfix/Dovecot/MySQL
Ubuntu 16.04.5
Apache2
MySQL
Postfix w/MySQL
Dovecot
SASL2
UFW
I am trying to install a working mail server and client on this machine. I followed this tutorial which allows authentication through MySQL. I have all DB entries set correctly, I have…

Fid
- 101
- 1
- 2