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

Proxy authentication in cyrus with SASL and kerberos

I am trying to enable proxy authentication in cyrus + SASL, i.e authenticating as the admin user cyrus but with the access rights of any other user, e.g. peter (as described here). I am trying with ...
user avatar
  • 101
0 votes
0 answers
222 views

SASL PLAIN authentication failed: bad protocol / cancel

I try to configure postfix relay in kubernetes on Alpine using saslauthd. Dockerfile: FROM alpine:3.15 RUN apk update && \ apk add --no-cache postfix \ libsasl \ cyrus-sasl \ ...
user avatar
  • 1
1 vote
0 answers
27 views

Tell saslauthd to reject authentication attempts for all domains other than ours

We are running Postfix and require authentication for the sending of mail through SMTP. The authentication uses Cyrus' saslauthd which does a Kerberos authentication against our Kerberos domain. Is ...
user avatar
  • 2,581
1 vote
1 answer
135 views

Postfix: how to use SASL authentication?

Hi I am trying to use a very simple sasl authentication. I have been testing the method here but still encounter error. my server is a fresh install server. And the command I run: # saslpasswd2 -c -u ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
  • 151
0 votes
1 answer
79 views

Saslauthd - slow response, client timeout

We use saslauthd 2.1.27 with postfix and rimap authentication. We experience a strange issue after an update: terribly slow response times soon after a restart. If the saslauthd process is restarted, ...
user avatar
0 votes
0 answers
295 views

Cyrus-sasl config in Postfix in FreeBSD without dovecot

Good Afternoon, I have installed a Freebsd 12.1 with postfix and when trying to start see this in /var/log/maillog warning: SASL: Connect to /usr/local/lib/sasl2/smtpd.conf failed: No such file or ...
user avatar
  • 7
0 votes
0 answers
498 views

postfix+saslauthd+pam_mysql adds EOL to passwords, thus breaks

I'm trying to use the pam_mysql module in conjunction with postfix and saslauthd. Everything appears to be working, except the actual password comparison is failing. Note: the case being tested is ...
user avatar
0 votes
0 answers
427 views

Get saslauthd to use a Kerberos principal other than one based on the hostname

We are using saslauthd on a Debian stretch Linux environment. We use saslauthd to do GSSAPI (i.e., kerberos) authentications. I see that saslauthd uses the principal host/<servername> when doing ...
user avatar
  • 2,581
1 vote
1 answer
1k views

Can't telnet to Postfix SMTP server after adding smtpd_sasl_auth_enable option

I have the Postfix SMTP server installed on my CentOS 7 machine on port 25. To test that it's working, I connect to it using telnet, like this: # telnet localhost 25 and the result is: Trying ::1....
user avatar
  • 1,440
2 votes
1 answer
455 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): ...
user avatar
  • 31
1 vote
0 answers
784 views

ldap pass though authentication

We have a scenario where the local ldap will actually receive all authentication requests and then pass the authentication to SASLauthd module when password is stored as {SASL}username. Thus, the ...
user avatar
0 votes
0 answers
222 views

Pass through authentication from Openldap to Openldap

I am looking for a method to setup a Pass Through Authentication (PTA) between 2 openldap instances. All what I found is that is is possible to have this feature between an openldap instance to which ...
user avatar
1 vote
1 answer
1k views

Using SASL from CentOS 7 Host to Authenticate to Active Directory

Trying to configure SASL on a CentOS 7 box to talk to an Active Directory installation. I've tried a couple different configurations that generate different errors. The latest: No worthy mechs found ...
user avatar
  • 131
0 votes
1 answer
234 views

Openldap RootDN and other 'admin' user work differently when changing userPassword

Using OpenLDAP (2.4.44) on CENTOS 7 and have configured {SASL} pass-thru to another remote LDAP for some users using the userPassword field. This can change (overwrite) to using the local password {...
user avatar
4 votes
1 answer
4k 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 ...
user avatar
0 votes
1 answer
5k views

How to restart linux services if it reaches 100% CPU? [closed]

I have postfix email server with saslauthd. Time and again saslauthd daemon eats 100% CPU. Restarting these services returns to normal cpu usage. Is there any proper script to determine services with ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 130
-1 votes
1 answer
671 views

postfix fails to autheticate aginst saslauthd

I have a weird problem trying to autheticate postfix against saslauthd. I am on a standard linux system: Linux smswtc 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 GNU/Linux postfix ...
user avatar
0 votes
1 answer
5k views

sasl authentication with postfix

I have a weird problem on postfix trying to authenticate user/pass saslauthd relevant lines in mail.log Feb 14 16:06:21 smswtc postfix/smtpd[3577]: warning: SASL authentication failure: Requested ...
user avatar
0 votes
1 answer
2k views

Postfix SMTP SASL Authentication with pam_mysql can't accept email addresses as username

I'm currently trying working on a project to update an existing postfix deployment. I'm having issues with authenticating users against smtp. The primary issue I have is that our postfix users ...
user avatar
1 vote
1 answer
1k views

Need help creating LDAP Server that syncs users from 3 separate AD Controllers

Hopefully I can get some help here as I have really been beating my head against the ol' keyboard over here. So, here's the situation. We recently migrated end users from an onsite Exchange server ...
user avatar
0 votes
0 answers
2k 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 ...
user avatar
3 votes
1 answer
683 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 ...
user avatar
1 vote
0 answers
97 views

My webmail access (Proxy CAS) fails when I check my mails by IMAP

I use a web sso portal which provides cas tickets. I "cassify" my webmail and my imap server (cyrus-imapd). When I fetch my emails from the Webmail (proxy CAS), it's ok. Except if I fetch my emails ...
user avatar
1 vote
1 answer
5k views

Postifx and Dovecot: fatal: no SASL authentication mechanisms

When I sent an test mail from my Gmail to my server, I get this error: fatal: no SASL authentication mechanisms Here is all my configuration files and log files, to help us: /var/log/maillog Nov ...
user avatar
  • 11
1 vote
1 answer
794 views

SMTP-SASL authentification doesn't work

I created another thread previously, where I reported about the problem that I wasn't able to get saslauthd starting up at all: SMTP authentification: saslauthd won't start I now re-installed a ...
user avatar
3 votes
0 answers
783 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 ...
user avatar
1 vote
1 answer
1k views

Postfix SASL allow SMTP Authentication and relay messages

I am trying to set my SMTP server so it allows only SMTP authenticated users to send emails but the actual sending is done via Mailjet. I am running on Ubuntu 14.04 LTS and Postfix version is ...
user avatar
  • 111
1 vote
1 answer
467 views

How to protect saslauthd from local brute force attack?

There are numerous instructions over the internet to use saslauthd. I've tried to run the service. It gave me a surprise when I discovered that /run/saslauthd/mux socket and /usr/sbin/testsaslauthd ...
user avatar
  • 131
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 ...
user avatar
0 votes
1 answer
1k views

Unable to send email from Command Line in Postfix (warning: TLS library .....)

I configured postfix with ssl/tls. and created an smtp. However I am unable to send test email and/or login. "Text below first defines error log (different attempts) and then configuration files." ...
user avatar
  • 53
1 vote
1 answer
366 views

Postfix multi instance with separate SASLDB for each instance

I configured postfix with multiple instances (postmulti), each instance has your own IP address and it´s working great, but I need each instance uses it´s own sasldb2 file to authenticate users. The ...
user avatar
0 votes
0 answers
924 views

fail2ban saslauth ban not working

when I run: fail2ban-regex /var/log/mail.warn /etc/fail2ban/filter.d/sasl.conf output: Date template hits: 8158 hit(s): MONTH Day Hour:Minute:Second 0 hit(s): WEEKDAY MONTH Day Hour:Minute:Second ...
user avatar
  • 83
0 votes
1 answer
394 views

testsaslauthd on openLDAP centos worked for first time but failed after that

testsaslauthd only works for first time after i edited the file /etc/saslauthd.conf and restarted openLDAP when i run it the second time, it is showing authentication failed. When i reedited the file ...
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 ...
user avatar
  • 155
2 votes
1 answer
746 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 ...
user avatar
  • 167
2 votes
1 answer
309 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....
user avatar
  • 252
10 votes
3 answers
14k 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 ...
user avatar
1 vote
2 answers
2k views

Postfix config for virtual aliases and sasldb

I'm trying to set-up postfix to handle several domains as aliases, with an SMTP server accepting incoming mails from these domains with sasldb authentication. The documentation looks quite old, and ...
user avatar
1 vote
0 answers
334 views

Authnetication failure with postfix and sasl using sasldb

I'm really not sure what my issue is. I've checked several guides, and I am sure I have set this up correctly, including config fails, restarting the service, permissions etc. OS is Ubuntu Server. ...
user avatar
1 vote
1 answer
1k views

Setup Postfix with SMTP-AUTH over SASL2 with SASLDB for users to send emails

Hello, I spent the last few days trying to setup Postfix with SASLDB to send emails from my application over SMTP on Ubuntu Server 15.04. I searched, read and tested a lot about it but I can't get it ...
user avatar
1 vote
1 answer
5k views

Postfix SMTP+saslauthd autentication failure

I try to implement SMTP authentication with postfix and saslauthd on Ubuntu. My IP is W.X.Y.Z, and my VPS IP is W'.X'.Y'.Z'. My user is JohnDoe and my hostname is server. It doesn't work, here are ...
user avatar
  • 11
5 votes
0 answers
480 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). ...
user avatar
5 votes
1 answer
1k 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 ...
user avatar
5 votes
3 answers
39k 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 = ...
user avatar
  • 1,786
2 votes
1 answer
234 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 ...
user avatar
  • 21
2 votes
2 answers
24k 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 =...
user avatar
  • 1,786
2 votes
2 answers
994 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 ...
user avatar
  • 519