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
0answers
8 views

cyrus-sasl doesn't load extensions

On my VPS which runs CentOS Linux release 7.8.2003 (Core) I installed as following. yum install -y cyrus-sasl cyrus-sasl-devel cyrus-sasl-lib cyrus-sasl-md5 cyrus-sasl-plain And the installed files ...
0
votes
0answers
494 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 ...
0
votes
0answers
144 views

How to configure svnserve to use OpenLDAP through SASL

Bear with me, I'm really annoyed and frustrated after about 2 weeks of struggles following different guides and manuals without any success, so any suggestions and ideas are welcome because I'm lost. ...
0
votes
0answers
408 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 ...
0
votes
1answer
191 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....
2
votes
0answers
164 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): ...
1
vote
0answers
392 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 ...
0
votes
0answers
173 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 ...
1
vote
1answer
597 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 ...
0
votes
1answer
97 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 {...
3
votes
1answer
2k 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
1k 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 ...
-1
votes
1answer
470 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
3
votes
1answer
450 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 ...
1
vote
0answers
77 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
613 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 ...
2
votes
0answers
630 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 ...
1
vote
1answer
857 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 ...
1
vote
1answer
375 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 ...
3
votes
3answers
1k 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 ...
0
votes
1answer
626 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." ...
1
vote
1answer
268 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 ...
0
votes
0answers
572 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 ...
0
votes
1answer
302 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
525 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 ...
2
votes
1answer
252 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....
8
votes
3answers
9k 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 ...
1
vote
2answers
1k 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 ...
1
vote
0answers
205 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. ...
1
vote
1answer
718 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 ...
1
vote
1answer
4k 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 ...
5
votes
0answers
376 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). ...
5
votes
1answer
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 ...
1
vote
3answers
28k 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 = ...
2
votes
1answer
189 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 ...
0
votes
2answers
17k 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 =...
2
votes
2answers
706 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 ...
2
votes
1answer
772 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: ...
0
votes
1answer
665 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@...
1
vote
0answers
220 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 ...
2
votes
1answer
195 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 ...
2
votes
1answer
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://...
-1
votes
1answer
8k 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 ...