Simple Authentication and Security Layer (SASL) is a framework for authentication and data security in Internet protocols.
Questions tagged [sasl]
259 questions
2
votes
1 answer
Postfix + SASL using wrong query to authenticate
I recently set up postfix + dovecot on a aws ec2 instance following this guide: http://flurdy.com/docs/postfix/#config-secure-auth
Currently I'm stuck with SASL.
The SQL query doesn't seem to be what has been configured. Here are the…

maddo7
- 155
- 1
- 2
- 11
2
votes
1 answer
Bad search filter - postfix, OpenLDAP, Saslauthd
I am trying to setup a mail server on Debian Jessie and have come across a problem that's doing my head in.
When trying to access OpenLDAP through saslauthd via the command
testsaslauthd -u user1 -p user1pw -f…

silkyriver
- 21
- 2
2
votes
1 answer
NO [ALERT] Unexpected response from remote authentication server
is what I see when I run testsaslauthd inside an strace
socket(PF_LOCAL, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/saslauthd/mux"}, 110) = 0
writev(3, [{"\0\34a.chaouche@domain.tld\0\fxxx\0\4imap\0\0", 52}], 1) =…

ychaouche
- 262
- 4
- 15
2
votes
2 answers
postfix error: 535 5.7.8 Error: authentication failed: authentication failure
I need to connect to Dyn mail relay and I'm using their KB.
I'm trying to connect to my postfix server with telnet to port 25.
This is the postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory =…

edotan
- 1,876
- 13
- 39
- 57
2
votes
1 answer
How can I install libmemcached on Openshift with sasl support?
I need libmemcached with sasl support to use Memcached Cloud cartridge on Openshift Online. I doing next:
1) Install sasl.
curl -LO ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz
tar --xvzf cyrus-sasl-2.1.26.tar.gz
cd…

BottieYOYO
- 21
- 2
2
votes
1 answer
dovecot/ postfix make me two different folder same user (user; user@domain)
I had some problem with the Dovecot/Postfix/LDAP/SASL config files:
The LDAP query, SASL config its work but my problem is postfix and the dovecot:
When i first login the outlook/thunderbird/etc.. it make username folder under the /var/mail, if i…

hunstryker
- 41
- 4
2
votes
1 answer
Mail Server Memory buffer error
From time to time, my mail server stops sending any new mails. When this happened, I find the below error log,
Jun 22 23:10:18 myserver saslauthd[3967]: DEBUG: auth_pam: pam_authenticate failed: Memory buffer error
Jun 22 23:10:18 myserver…

MohammedSimba
- 369
- 2
- 4
- 15
2
votes
1 answer
Dovecot reports no SASL authentication mechanisms
On my way to setup a mail server with Postfix and Dovecot on Ubuntu, I can now send mails to other domains. However, I cannot receive from others. In the logs it reads
Jun 14 09:34:35 postfix/smtpd[27426]: connect from…

Andreas Hahne
- 35
- 5
2
votes
1 answer
searching for the correct way to compile postfix
I am experiencing issues while compiling latest version of postfix from source code. At the moment I'm trying to compile version 3 because Debian 7 and latest Ubuntu 14,10 (version 2,9 and 2,11 for postfix) are buggy for configuring virtual…

blurstream
- 139
- 3
2
votes
0 answers
Dovecot: using a separate passdb per service
Situation: one front-facing server running Dovecot as IMAP/POP3/ManageSieve proxy, a mixture of IMAP servers (Dovecot, Exchange, ...) in the back-end. Dovecot's passdb does lookups against MySQL which contains a simple user/host mapping, the actual…

Gerry
- 373
- 1
- 3
- 4
2
votes
1 answer
SASL PLAIN authenticating with primary domain, but not with virtual domain
Postfix + dovecot and sasl. Works so far with 1 domain.
Added a virtual domain. Incoming mail for this works. Outgoing however has SASL authentication failing.
Why does it fail I don't know.
/etc/sasl2/smtpd.conf looks like:
pwcheck_method:…

willdanceforfun
- 557
- 2
- 11
- 23
2
votes
2 answers
How to enable DIGEST-MD5 SASL mechanism in Open Directory?
We've created an Open Directory master on OSX 10.10 Yosemite + Server.app v4:
$ sudo slapconfig -createldapmasterandadmin admin Administrator 1000
But it doesn't support DIGEST-MD5:
$ ldapsearch -x -LLL -b "" -s base…

eggyal
- 402
- 5
- 16
2
votes
1 answer
Postfix allow SASL-authenticated users to send from any IP address
I understand that I need SMTP on port 25 to receive email, but I do not want this to be a relay port.
Instead I would port 587 to be used for registered (SASL-authenticated) users to relay email from any IP address, through my server, and to any…

Vortico
- 251
- 1
- 3
- 8
2
votes
1 answer
Plain-text login with sendmail and SASL, Ubuntu 10.04
I'm trying to configure sendmail with a smarthost. I mostly followed this guide (although I understand it is written for Scalix).
SMTP server uses plain-text authentication. However, when sendmail tries to relay an email, I see this error in…

torvin
- 265
- 4
- 12
2
votes
3 answers
postfix permit_sasl_authenticated in smtpd_client_restrictions for submission on 587
First let me explain my setup. I'm using postfix 2.9.6 on Debian Wheezy. I do not allow AUTH on port 25, and force MUAs to use a submission service on port 587 instead. Debian comes with the following configuration in master.cf (commented by…

Rob
- 31
- 1
- 1
- 3