Skip to main content

Questions tagged [saslauthd]

saslauthd is a daemon process that handles plaintext authentication requests on behalf of the SASL library.

Filter by
Sorted by
Tagged with
35 votes
3 answers
96k 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 it....
user2979757's user avatar
10 votes
3 answers
17k views

How to get SASL authentication to work with DIGEST-MD5 for OpenLDAP?

I'm setting up OpenLDAP slapd on Ubuntu 14.04 Trusty Tahr. I want certain instances (replication etc.) that aren't users to be able to login via SASL using DIGEST-MD5 mechanism. Unlike users, they ...
blubberdiblub's user avatar
9 votes
1 answer
16k views

Postfix on CentOS 7 cannot authenticate against cyrus saslauthd

Postfix fails to authenticate against cyrus saslauthd. However, saslauthd itself is willing to authenticate. What am I missing? From syslog mail facility: Aug 5 14:47:26 centos7-msa-test postfix/...
84104's user avatar
  • 13.1k
9 votes
1 answer
4k views

Postfix + sasl method rimap strips domain name from user

I'm setting up a mail server with Postfix and Courier-IMAP. I'd like to do SMTP authentication with rimap, so that I don't have to maintain two user DB's. The problem I'm having, is that the username ...
Halfgaar's user avatar
  • 8,234
7 votes
4 answers
24k views

saslauthd authentication error

My server has developed an expected problem where I am unable to connect from a mail client. I've looked at the server logs and the only thing that looks to identify a problem are events like the ...
James's user avatar
  • 643
7 votes
3 answers
16k 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 ...
flashbang's user avatar
  • 155
7 votes
2 answers
8k 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 ...
Andreas Rehm's user avatar
6 votes
4 answers
49k views

"503 5.5.1 Error: authentication not enabled" when trying to connect to my postfix server remotley

I have the following: postfix-2.10.1-6.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-plain-2.1.26-17.el7.x86_64 cyrus-sasl-2.1.26-17.el7.x86_64 my postconf -n is: alias_database = ...
edotan's user avatar
  • 1,968
6 votes
3 answers
5k views

saslauthd using too much memory

Woke up today to see my site slow/unresponsive. Pulled up top and it looks like a ton of saslauthd processes have spun up using about 64m of RAM each, causing the machine to enter swap space. I've ...
Brian Armstrong's user avatar
6 votes
2 answers
10k views

How can I configure my postfix server so reject_sender_login_mismatch doesn't block aliases of the main account?

I've recently setup postfix, dovecot, amavis and a suite of other tools using iRedMail, and I'm having difficultly authenticating to my outgoing mail server. The issue is this: [email protected] is ...
FilmJ's user avatar
  • 776
6 votes
2 answers
20k 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 ...
harmic's user avatar
  • 268
6 votes
0 answers
605 views

Low Entropy on Container

I am thinking my entropy level may be low? $ cat /proc/sys/kernel/random/entropy_avail I am around 132-178 on average. Pool size is default 4096 (this is a container on a virtualizer by the way). ...
Gordon Snappleweed's user avatar
5 votes
5 answers
8k views

SvnServe On Windows With Active Directory Authentication

Right now my company is using a network share to communicate with the SVN repository. It's really slow so I'd like to switch to SVNSERVE. The main reason my company chose to go the filesystem route ...
Richard's user avatar
  • 627
5 votes
3 answers
915 views

Where can I find tuning resources for postfix, saslauthd and courier [closed]

I just deployed postfix, saslauthd, courier to a starter VPS box running Ubuntu 8.04 with with 512MB of memory. Most of the memory is now being eaten up by these processes. I do plan to upgrade to a ...
Brian Matthews's user avatar
5 votes
1 answer
6k views

Log username in maillogs when there is SASL authentication failure

I have a server with postfix and cyrus-sasl. When ever there is an authentication failure it reports in maillog below line. postfix/smtpd[27669]: warning: unknown[185.xxx.xxx.xxx]: SASL LOGIN ...
Kladizkov's user avatar
5 votes
1 answer
7k views

SMTP authentication failure + PAM-MySQL cannot authenticate

I am building a mail server using Postfix, and set up the authentication to check against a database set-up using Postfixadmin. I can authenticate via Courier IMAP okay, as it can authenticate ...
Bez Hermoso's user avatar
5 votes
1 answer
2k views

svnserve+sasl+ldap : saslauthd not contacted?

I am trying to authenticate subversion users against sasl+ldap. Other questions about this problem seem to be related to earlier versions of subversion, or sasldb authentication. lsb_release -a No ...
user1387's user avatar
  • 161
5 votes
1 answer
2k views

saslauthd multi instance for postfix smtp authentication

I have mail server Postfix+Saslauth. I configure multiple instance for Postfix: postfix postfix-out and two instances for saslauth: saslauthd saslauthd-out Setting saslauthd is for ...
superuser's user avatar
  • 281
4 votes
2 answers
5k views

Postfix, saslauthd, mysql, smtp authentication problems

Trying to get authentication on my mail server (ubuntu 10.04) running but am having trouble. I have a server with postfix for smtp setup, imap server with courier setup. My postfix authentication is ...
italiansoda's user avatar
4 votes
3 answers
2k views

Apache 2.4 replacement for mod_auth_shadow?

My employer has been running RHEL 6.x and Apache httpd 2.2 for many years. We are currently in the process of migrating to new hardware running RHEL 7.1 and Apache httpd 2.4. Our current web site has ...
Eric Chevalier's user avatar
3 votes
3 answers
6k views

Postfix smtpd won't talk to saslauthd

I have an saslauthd setup to authenticate against PAM. It seems to do its stuff: root@sasltest:~# testsaslauthd -u quest -p #### -s smtp 0: OK "Success." I have libsasl 2.1.23, postfix 2.7.1. I ...
Bittrance's user avatar
  • 3,130
3 votes
1 answer
360 views

Ubuntu: Postfix and Cyrus expecting saslauthd PID file in different locations

I'm running postfix and cyrus in parallel on my server, as far as I understand this is a quite common think to do. Both daemons use sasl authorization. However, postfix is looking for the saslauthd ...
Stefan's user avatar
  • 31
3 votes
1 answer
4k views

Getting SENDMAIL (as a client) to use AUTH LOGIN

I am trying to use SENDMAIL (v8.15) on a Pi in my network to just forward mails to my SendGrid account. This is needed because my legacy webcams on my network cannot use the very long password ...
Old Geezer's user avatar
3 votes
2 answers
9k views

saslauthd on centos no authentication

I want instal on centos 6.4 postfix with auth-smtp, i instal sasl ps -ef | grep pam root 3148 1 0 15:29 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam root 3150 ...
mardon's user avatar
  • 241
3 votes
1 answer
3k views

configure saslauthd with PAM

I'm trying to configure saslauthd with PAM. I created a user test with password test using useradd and passwd and I checked that I can login with su - test. [arch@vps-5220ce87 ~]$ systemctl status ...
Labo's user avatar
  • 151
3 votes
1 answer
16k views

SASL authentication failure: Password verification failed (postfix + cyrus + saslauthd)

We're having difficulties authenticating over smtp, running postfix + cyrus on centos 7. When I try to telnet to port 25 (or 587) locally and auth plain, I get the following errors in the mail log: ...
sdragnev's user avatar
  • 221
3 votes
1 answer
2k views

testsaslauthd - permission denied

Running: Ubuntu 12.10 32bits server version. I'm trying to connect to the saslauthd and getting the error I mentioned on the title (permission denied). $ /usr/sbin/testsaslauthd -u myuser -p ...
Kleber S.'s user avatar
  • 141
3 votes
1 answer
3k views

Can I use DenyHosts for a SMTP service

I would like to block some hosts that are brute forcing my SMTP server. I'm currently using DenyHosts for SSHD and was wondering if I can add the SMTP service too. It could be possible based on this ...
Derick Schoonbee's user avatar
3 votes
2 answers
939 views

Can't find the IP address of a Saslauthd login attempt

I need help locating the origin IP from this error messages/ login attempts: From the 'sasl auth daemon' via Logwatch: pam_unix(smtp:auth): check pass; user unknown pam_unix(smtp:auth): ...
Minner's user avatar
  • 41
3 votes
1 answer
931 views

apt-get purge removing seemingly unrelated packages

I somehow managed to remove the /var/run/saslauthd directory while installing authentication for Postfix, so I was trying to apt-get purge and then reinstall the various saslauthd packages in order to ...
Nick Clifford's user avatar
3 votes
0 answers
1k views

SMTP authentification: saslauthd won't start

I've set up a mailserver, which is working fine, but now I wanted to add SMTP authentification using SASL. However, trying to start saslauthd (my system is Ubuntu 16.04) doesn't work, but I don't get ...
c128linux's user avatar
2 votes
5 answers
10k views

Help! Linux server under SMTP SASLAUTHD attack!

My linux sendmail server is being forced out of commission by a flood of invalid smtp saslauthd logins. Steady stream of PAM auth errors logged for saslauthd in messages. I have searched and searched ...
xivix's user avatar
  • 563
2 votes
1 answer
347 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 ...
blurstream's user avatar
2 votes
2 answers
27k views

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 =...
edotan's user avatar
  • 1,968
2 votes
2 answers
1k views

Postfix omits realm (@domain) when checking for smtpd pam+mysql authentication

I've trying to configure Postfix so users can send email through SMTP having a username and password. And I'm trying to store credential within a MySQL database. I've taken the path of saslauthd and ...
Mehran's user avatar
  • 519
2 votes
1 answer
8k views

Postfix (SASL) / MySQL: Use MD5 Encryption?

Is it possible to use MD5 password encryption to encrypt passwords when using Postfix / SASL and MySQL? Currently, my setup is using the MySQL CRYPT() function, which for various reasons isn't ideal.
mO_odRing's user avatar
  • 183
2 votes
2 answers
3k views

Debugging a Postfix Saslauthd PAM-PGsql authentication failure

I've set up pam-pgsql to lookup passwords in my database for Postfix via Saslauthd. I can test credentials using the command line: $ sudo testsaslauthd -u [email protected] -p password 0: NO "...
jonallard's user avatar
  • 261
2 votes
1 answer
8k views

Postfix SMTP auth not working with virtual mailboxes + SASL + Courier userdb

So I've read a variety of tutorials and how-to's and I'm struggling to make sense of how to get SMTP auth working with virtual mailboxes in Postfix. I used this Ubuntu tutorial to get set up. I'm ...
Greg K's user avatar
  • 169
2 votes
1 answer
3k views

Postfix+saslauthd: pam_unix(smtp:auth): authentication failure

I'm run postfix 2.10 + Cyrus sasl 2.1 + Dovecot 2.2 on Oracle Linux 7. Dovecot works with saslauthd normally, but Postfix always failed on authentication, wish someone can help to check what problem ...
Yun Wang's user avatar
2 votes
1 answer
2k views

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 ...
maddo7's user avatar
  • 165
2 votes
1 answer
392 views

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....
ychaouche's user avatar
  • 282
2 votes
1 answer
4k 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 ...
Or W's user avatar
  • 99
2 votes
1 answer
329 views

SASL authentication failure: Password verification failed even when it works with testsaslauthd

I'm having some trouble configuring client authentication using saslauthd and postfix on ubuntu 22.04. The issue is that users are not getting authenticated although the user exists. It's my first ...
Lukas Guldstøv's user avatar
2 votes
1 answer
945 views

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: ...
MohammedSimba's user avatar
2 votes
1 answer
3k views

saslauthd on Red Hat 6.5 NO "authentication failed"

I'm trying to authorize an user of an active directory in a red hat linux 6.5. To do that I am using saslauthd. This is its configuration: /etc/saslauthd.conf: ldap_servers: ldap://...
Adrian's user avatar
  • 141
2 votes
1 answer
2k 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. ...
Matthias Dunkel's user avatar
2 votes
1 answer
3k views

What is wrong with my SASL?

So the story goes: I have a score of CentOS 6.9 virtual machines, migrated to Microsoft's Azure cloud by VHD upload. Once deployed I found out that Azure doesn't allow to send out email directly from ...
djn's user avatar
  • 150
2 votes
1 answer
1k views

Properly Configure Postfix to be secure (SASL + TLS)

I've followed online tutorials online to setup my mail server with SASL and TLS, and amavis. It all seems to works - except i can send mails even if i don't authenticate first - which is not good. I ...
537mfb's user avatar
  • 167
2 votes
0 answers
330 views

How to pass full user name to saslauthd from postfix [duplicate]

I'm trying to configure postfix for SMTP Auth using Cyrus saslauthd and an rimap configuration. I have it working, except for the fact that, due to virtual domains, the auth username for my IMAP ...
Flimzy's user avatar
  • 2,472
1 vote
1 answer
1k views

What is a saslpasswd2 domain?

What does saslpasswd2 do, in particular, what is the domain option for: -u domain use domain for user domain (realm). UPDATE: Suppose, I: smtp login to smtp.mydomain.com, as myself@...
user14645's user avatar
  • 1,690