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

learn more… | top users | synonyms

4
votes
2answers
2k views

postfix sasl “cannot connect to saslauthd server: No such file or directory”

I try to setup postfix with smtp authentication. I want to use /etc/shadow as my realm Unfortunately I get a "generic error" when i try to authenticate # nc localhost 25 220 mail.foo ESMTP Postfix ...
1
vote
2answers
557 views

What is the exact meaning of “SASL authentication failure: incorrect digest response”

I followed Flurdy's how-to for setting up a mail server on ubuntu. I can receive mails and use squirrelmail to read and send emails. However, I can't send emails through my server using my email ...
1
vote
2answers
764 views

Problem with testsaslauthd and kerberos5 (“saslauthd internal error”)

The error message “saslauthd internal error” seems like a catch-all for saslauthd, so I’m not sure if it’s a red herring, but here’s the brief description of my problem: This Kerberos command works ...
0
votes
2answers
291 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 ...
0
votes
2answers
1k views

Mail server: SASL authentication failure - Postfix + Dovecot + Mysql

I tried to set up my own mail server (postfix, dovecot, mysql, ) and I can connect via imaps/pop3s without any problems. But every time I try to connect to the SMTP server (e.g. with the Apple Mail ...
2
votes
1answer
444 views

Postfix + SASLAUTHD + MySQL authentication problems

I've been trying to sort this out for the past 6 hours or so, this is the error message I'm facing (Running CentOS x64): /var/log/maillog: Jun 22 20:42:49 ptroa postfix/smtpd[10130]: warning: SASL ...
1
vote
1answer
267 views

Postfix + Dovecot SASL - Need catch all with virtual users

I have a Postfix instance using SASL with Dovecot for authentication. I am using virtual_alias_maps for some address rewriting, but I'm unable to use a catch all definition (@domain newaddress) as ...
0
votes
1answer
86 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 ...
0
votes
1answer
49 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
39 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 ...
0
votes
1answer
89 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
2k 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 ...
0
votes
1answer
643 views

Postfix ignoring SASL with dovecot -how to debug?

I recently upgraded my server (Ubuntu 12.03) and today I noticed that SMTP is not offering authentication anymore. My setup is using virtual mailboxes + MySQL. Telnet session: telnet ...
0
votes
1answer
509 views

Postfix (MySQL): Encrypted passwords does not work

Update: I've tried to insert the password in plain text in the DB. That works, and I'm now able to send mail as well. I tried setting up the whole thing (using the guide mentioned) again, but with the ...
0
votes
1answer
271 views

generic failure for SASL LOGIN

few years ago I've set up my server using this guide: http://flurdy.com/docs/postfix/ at that time machine was running ubuntu 8.04 LTS, recently I've updated machine to 12.04 LTS but can't force SASL ...
0
votes
1answer
254 views

postfix relayhost 'Recipient is not recognized. Relay access denied'

im trying to get webmin postfix to send emails through my smtp account with another email provider (in this case lavabit.com) im getting the error 'Recipient is not recognized. Relay access ...
0
votes
1answer
171 views

Limit Port 25 for local delivery only

I have configured my postfix so as users under my server shall send mails through port 587 and port 25 will only be used to receive mails from mail servers. I am successful to the extent that on ...
0
votes
1answer
138 views

Fedora 389 ds sasl mapping issue?

I have a fedora client that is authenticating to a centos server running 389 ds and kerberos I can run kinit <my-user-principal> on the fedora client successfully and get a ticket, but no ...
0
votes
1answer
649 views

SASL - Plaintext password not accepted - Encrypted works

I have a very strange issue! SASL does not work properly, as it does not accept plain-text passwords (like Outlook sends them) Oct 2 10:35:09 srf cyrus/imap[4119]: accepted connection Oct 2 ...
0
votes
1answer
334 views

pam_ldap, where is the filter set?

A while ago I asked a question about this same issue already (Cyrus on CentOS with sasl / pam / ldap), and I came a bit further. The Bind DN is no longer empty; LDAP works with all apps except imap. ...
0
votes
1answer
275 views

Postfix auth problem

Apr 1 21:05:05 Lucid postfix/smtpd[6230]: warning: xxx: SASL PLAIN authentication failed: no mechanism available Apr 1 21:05:05 Lucid postfix/smtpd[6230]: warning: SASL authentication problem: ...
0
votes
1answer
106 views

In SASL authentication, are the messages between a particular client and server the same every time it connects?

I wrote a test client and server using the Cyrus SASL library, and I'm manually forcing it to select GSSAPI as the mechanism. While debugging, I printed the md5sum of each message as it was passed ...
3
votes
0answers
1k views

Saslauth with ldapdb on debian

I'm trying to get saslauthd working with openldap. ldapsearch and every service connected to openldap works fine. sasldblistusers2 doesn't work - and ldapwhoami does not work either. getent passwd ...
3
votes
0answers
645 views

Postfix sasl relay host - weird behaviour

Previously I had a relayhost set in postfix to mailhost.zen.co.uk - I don't think it accepts SASL - only TLS. So I though I would try changing to a different relay host. However, the following log ...
2
votes
0answers
282 views

issue with heimdal kerberos in ldap backend

I'm having a bit of trouble getting Kerberos (Heimdal version) to work nicely with OpenLDAP. The kerberos database is being stored in LDAP itself. The KDC uses SASL EXTERNAL authentication as root to ...
1
vote
0answers
77 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
142 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: ...
1
vote
0answers
550 views

heimdal kerberos in openldap issue

I think I posted this on the wrong 'sister site', so here it is. I'm having a bit of trouble getting Kerberos (Heimdal version) to work nicely with OpenLDAP. The kerberos database is being stored in ...
1
vote
0answers
416 views

How do I use an encrypted MySQL password with Cyrus SASL?

In /etc/postfix/sasl/smtpd.conf I have: auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_database: mail sql_user: mailadmin sql_passwd: secret sql_select: SELECT password FROM users ...
1
vote
0answers
308 views

OpenLDAP, SASL and non-cleartext password storage

I'm working on a setup where postfix and cyrus-imap do proxy authorization against openldap (my setup is here http://1nw.eu/!cD ). I love this solution, it's a lot more elegant that using saslauthd. ...
0
votes
0answers
57 views

Postfix: Offer SASL authentication based on RBL

Given the current spam waves, I'm thinking about offering SASL authentication only to clients not listed in specific DNS-BLs. The effect should be: SASL auth is not offered -> no way to relay mail ...
0
votes
0answers
19 views

Postfix does not offer authentication on submission port when it is enabled

I'm having an odd (to me at least) problem with a new Postfix install. I'm using Postfix with Dovecot, and the IMAP from Dovecot is working just great, but when clients try to send mail to the ...
0
votes
0answers
56 views

SASLAUTH: Temporary block on more than 5 authentication followed failures

I'm running a Postfix MTA together to SASL when it comes to authentication. Yesterday saslauthd collapsed and none of the email users could login to the mail server. What i think is probably ...
0
votes
0answers
101 views

/etc/rc.d/init.d/saslauthd doesn't appear to be working correctly

I have enabled saslauthd to start when my system boots as follow. However when I tested it and actually did a real reboot, it started and was running but wasn't able to authenticate. Has anyone ...
0
votes
0answers
128 views

How to ask memcached auth connection by sasl and pam?

I use memcached in a untrust network, so I try to use sasl and pam to auth connection to memcached. I installed sasl and pam module, compiled and installed memcached with sasl enabled. Also I created ...
0
votes
0answers
88 views

No SASL authentication with Postfix (using Dovecot)

I'm trying to have Postfix authenticate through Dovecot using SASL and I'm receiving the following error: postfix/smtpd[15194]: warning: SASL: Connect to private/auth failed: No such file or ...
0
votes
0answers
286 views

Postfix with Dovecot SASL doesn't authenticate SMTP senders

I have a Postfix/Dovecot setup on my server and I use Webmin/Virtualmin for management. Receiving emails works fine, and users are able to authenticate when accessing via IMAP. I am having problems ...
0
votes
0answers
238 views

Reconfigure a yum package

I'm running an Amazon linux AMI and using sendmail as the mail server. By default, STARTTLS is disabled on this build and I'd like to enable it for SMTP and POP3. I seem to have it configured ...
0
votes
0answers
1k views

How to migrate OSX Open Directory users/passwords from 10.5 --> 10.6 using slapcat and mkpassdb

I have an OSX 10.5 Leopard Server Open Directory master. I have an OSX 10.6 Snow Leopard Server Open Directory master into which I want to migrate all users. Stipulate that I don't want to use the ...
0
votes
0answers
495 views

Postfix SASL Authentication using PAM_Python

Cross-post from: http://stackoverflow.com/questions/4337995/postfix-sasl-authentication-using-pam-python Hey guys, I just set up a Postfix server in Ubuntu and I want to add SASL authentication ...