Simple Authentication and Security Layer (SASL) is a framework for authentication and data security in Internet protocols.

learn more… | top users | synonyms

0
votes
1answer
24 views

Why am I getting a 'fatal: SASL library initialization'

If I turn on smtp_sasl_auth_enable=yes <- yes I get this set of warnings and a fatal for SASL. I can not see why it's also looking for cyrus - which is not compiled in. postfix/smtp[87056]: ...
3
votes
1answer
33 views

Dovecot says: “Requested CRAM-MD5 scheme, but we have only CRYPT” yet CRAM-MD5 is available

Following upgrade of Fedora Core 16 to Fedora Core 21, the new Dovecot installation isn't authenticating correctly and it's not at all clear why. We have 50+ email accounts served by this server, so ...
2
votes
0answers
67 views

postfix vs dovecot: SASL fails “authentication failed: Connection lost to authentication server”

I am trying to set up an email server that authenticates against an Active Directory server. I have successfully set up Postfix and Dovecot so that I can receive, read and send email for all accounts ...
6
votes
2answers
65 views

Postfix deny relay for some virtual users

I'm using Postfix as MTA and relay. Users that wish to send e-mail from a remote system authenticates and Postfix hands that to Dovecot, and this works well. But how can I limit which users can use ...
3
votes
1answer
52 views

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 ...
0
votes
0answers
25 views

Mongodb + Kerberos BadValue SASL mechanism GSSAPI is not supported

I am trying to run an instance of mongodb with the authentication mechanism GSS-API. This is the command: mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter ...
-1
votes
1answer
194 views

535 5.7.8 Error: authentication failed: no mechanism available [duplicate]

I'm using Debian 7, with postfix/courier. When I attempt to login using SMTP I get the following error telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 ...
2
votes
0answers
52 views

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 ...
2
votes
1answer
123 views

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. ...
-1
votes
1answer
386 views

Dovecot SMTPD Sasl auth error: fatal: no SASL authentication mechanisms

I've googled this error and nothing I've read/tried works - anyone know what it is Error log: Feb 23 22:35:36 localhost postfix/smtpd[5278]: connect from localhost.localdomain[127.0.0.1] Feb 23 ...
-1
votes
0answers
206 views

postfix with dovecot : fatal: no SASL authentication mechanisms

I setup a mail server using postfix and dovecot . I used pro linux system administration book by James Turnbull, but I got following error when try to test mail server with swaks command. swaks -tls ...
0
votes
2answers
194 views

sendmail & sasl auth on CentOS 6

I'm moving a mail server from one CentOS 6 to another. I use sendmail with sasl pam authentication. When I try to send mail it fails because the user is not authenticated and the mail client does not ...
-1
votes
1answer
47 views

Sending emails from non-configured domains with postfix/dovecot

I am trying to setup a mail server with postfix/dovecot. I can currently receive emails and send emails from domains that I have configured. I have a lot of domains and my email setup is simple - ...
0
votes
1answer
189 views

Postfix logging “Fatal: no SASL authentication mechanisms”

I was trying to close the open relay postfix server I had running, as there was spam coming from it, and now I can't get e-mails. The message I get in the log when someone tries to send an email is ...
2
votes
1answer
187 views

Postfix/Dovecot: SASL LOGIN authentication aborted

I use Postfix together with Dovecot (auth/LMTP) on my mailserver. Everything is working fine, but I notice several warnings in the log-files each day: postfix/smtpd[4169]: warning: ...
0
votes
0answers
47 views

OpenLDAP & SASL (DIGEST MD5) on Ubuntu 14.4

I have an existing ldap implementation that I would like to start enabling SASL. I don't really have a lot of experience with openldap/slapd and I'd like to be able to configure it using the current ...
0
votes
1answer
241 views

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 ...
1
vote
0answers
39 views

SASL severity 2 password verification failed

I have PHP Memcached running I have binary turned on (both memcached process & php) I am using Memcached::setSaslAuthData Using Ubuntu 14.04 SASL is enabled I just continually get: mech: ...
0
votes
0answers
54 views

OpenLDAP 2.4 pass-through SASL configuration

I am having a hard time configuring pass-through on LDAP 2.4, mainly because most of the information in the internet is written for the older LDAP versions... I am looking to configure SASL but when ...
0
votes
2answers
764 views

CentOS 7 ec2 smtpd - Client host rejected: Access denied

I've been trying to figure this out for hours and can't quite wrap my head around it. I have a mail server on an ec2 instance running CentOS7 that has postfix, courier (authlib and imap), sasl, ...
1
vote
1answer
346 views

Postfix sasl/tls username password ubuntu14.04 only sender [closed]

Anybody can suggest me a good tutorial to configure postfix as a secure smtp. I've installed it by this command sudo apt-get install mail-stack-delivery but I can't use it. In particular I haven't a ...
1
vote
0answers
213 views

Postfix + Saslauthd + Kerberos 5 + CentOS 7 not working

I've almost got saslauthd checking against Kerberos but seeing some last issues on CentOS 7. When postfix talks to saslauthd, it sends a lowercased domain and it's not corrected. I tried to fix things ...
1
vote
1answer
949 views

Postfix cannot authenticate against SASL

My system is Debian 7 aka Wheezy with postfix, courier, and mysql installed. Courier works well and if I issue testsaslauthd -u user@domain -p password -f /var/spool/postfix/var/run/saslauthd/mux -s ...
1
vote
2answers
1k views

postfix SASL authentication failed - Internal authentication error

I've recently had to change SMTP relays from Cablevision to Verizon. Verizon blocks port 25 but they will accept SSL via port 465 (per this). I've used this and this to have stunnnel forward ...
0
votes
1answer
41 views

Postfix accepts unauthorized requests

Here is an excerpt of my Postfix configuration: broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_relay_restrictions = ...
0
votes
3answers
389 views

Can't use EXTERNAL authentication after enabling TLS in ldap-2.4

I used the following LDIF file to activate the TLS support for the LDAP server: dn: cn=config changetype: modify add: olcTLSCipherSuite olcTLSCipherSuite: NORMAL - add: olcTLSCRLCheck ...
0
votes
1answer
326 views

How to exempt localhost from SMTP smart relay?

I've got a mail server (mail.mydomain.com) that has a relay set up as such: /etc/postfix/main.cf: # Smarthost relayhost = [smtpcorp.com]:2525 smtp_sasl_password_maps = ...
0
votes
1answer
162 views

Postfix Policyd both for SASL and non-SASL mail

I have configured Policyd v2 (cluebringer) to apply quota on msg count for SASL and non-SASL users. It is easy in policyd [1]. However I don't know how to configure postfix (2.7.1). Right now I have ...
2
votes
3answers
1k views

Postfix: SASL authentication failure: cannot connect to saslauthd server: Permission denied

I had a Postfix/Dovecot server up and running for about a week until I had to reboot it. When I did, things stopped working. I've been up searching for hours to no avail. IMAP successfully ...
2
votes
1answer
2k views

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 ...
1
vote
1answer
417 views

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 ...
1
vote
1answer
95 views

Postfix selectively enforce TLS

I am running postfix in Debian Wheezy as my MTA. I currently have it configured to require secure connections for SMTP. In main.cf I have: smtpd_tls_auth_only = yes smtpd_tls_security_level = ...
0
votes
1answer
113 views

Has my Postfix been compromised? [duplicate]

I'm running a postfix installation on ubuntu 10.04 LTS with multiple domains. The relay access requires authentication with STARTTLS. This morning one of the user accounts logged in and sent hundreds ...
0
votes
0answers
926 views

Diagnose SASL LOGIN authentication failure with postfix and sasldb

I am trying to configure a Postfix SMTP server on my personal machine (ubuntu server) using sasldb2. So far what I have set up works well with the test command: testsaslauthd (however it may be ...
0
votes
3answers
2k views

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 ...
1
vote
1answer
2k views

How to debug SASL authentication via LDAP towards active directory

I am trying to configure SASL running on Centos 6.5 to allow authentication towards the corporate active directory server. The end goal is to authenticate access to some subversion repos which are ...
-1
votes
1answer
81 views

POSTFIX auth can't get logged in

I try to setup my postfix smtp with sasl auth. It seems to be working when I check it with telnet on the local server. ouput: # telnet mail.domain.tld smtp Trying 37.34.52.199... Connected to ...
5
votes
3answers
10k views

POSTFIX fatal: no SASL authentication mechanisms

I am struggling with the error above for more than 5 hours. I had tried to remove Postfix completely and I had followed the instructions of the next manual and the SASL manual in order to reinstall ...
1
vote
1answer
188 views

SASL accepts “wrong” passwords

I setup an mailserver with Postfix and configured it to use Cyrus SASL to authenticate my users. It worked perfectly, until I found out that I can login with shorter passwords than they actually are. ...
2
votes
2answers
484 views

Postfix doesn't require authentication for local emails?

I've got a Postfix/Courier mail server (Authenticated with SASL/MySQL) all according to this tutorial. I'm currently running my server on Debian 6, it is a VPS. It works well as far as I can see but I ...
1
vote
0answers
266 views

Memcached with SASL: Couldn't find mech PLAIN

I'm trying to get memcached working with SASL. I'm compiling memcached and libevent from source. These are the steps I took (both under root and a user, same result): Having these packages: ...
0
votes
1answer
525 views

Postfix with SASL

I'm getting crazy configuring POSTFIX + DOVECOT + Authenticated SMTP (SASL for now). Pop/imap accounts works well to get the mailbox, but I cannot login to smtp using sasl: Here: [root@mail ...
0
votes
1answer
473 views

No sasl auth mechanism available

I'm trying to use Dovecot+Postfix+Mysql so far everything worked fine. Since upgrading from Debian 6 to 7 I'm unable to send mails. Receiving is still possible. /var/log/mail.log Oct 22 15:21:24 ...
0
votes
3answers
856 views

Postfix: how to use simple file for SASL authentication?

I'd like to run Postfix on a Debian VPS to send e-mails from my application. The application (running on other VPSes) would connect to Postfix via SMTP. Postfix does not have to handle incoming email; ...
0
votes
2answers
97 views

Postfix and dovecot auth

So I am trying to get my head around how this works in relation to how people can send credentials to authenticate via smtp and send mail. With a typical default set up of postfix and dovecot (with ...
0
votes
1answer
126 views

Postfix, Dovecot and SASL: SASL not present

It seems that I don't have SASL support, althou I've checked my configuration against ALL the online tutorials, and it seems fine to me. I've also checked /var/log/mail.log and there's no word "SASL" ...
0
votes
1answer
406 views

How to check if my postfix was compiled with sasl support?

I keep reading everywhere that postfix must be compiled with sasl support to be able to use the sasl authentication. I already have postfix instances running (Centos 6.4 and Fedora 18 machines). They ...
0
votes
1answer
4k views

saslauthd + PostFix producing password verification and authentication errors

So I'm trying to setup PostFix while using SASL (Cyrus variety preferred, I was using dovecot earlier but I'm switching from dovecot to courier so I want to use cyrus instead of dovecot) but I seem to ...
1
vote
1answer
3k views

postfix TLS disconnect from unknown

I install centos 6.4 posttfix with sasl and TLS my postconf -e alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin ...
0
votes
1answer
231 views

Postfix SASL SMTP authentication

I installed Postfix & Dovecot on Debian. Then I tried using SMTP authentication according to this guide: http://www.postfix.org/SASL_README.html Unfortunately the following test tails: telnet ...