Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [saslauthd]

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

0
votes
0answers
32 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
26 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
108 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
23 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
167 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
291 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
0answers
88 views

Setup an OpenLDAP proxy where authentication is not passed on

I'm wanting to selectively go two factor with a variety of web applications. Our current second factor is Google Authenticator and we can make use of that through PAM or through a Radius server we've ...
0
votes
0answers
610 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 ...
0
votes
0answers
39 views

Multiple ldap autentication with proxy for Cisco Call Manager

We have two different domain like a.com and b.net. User ids are unique in both sides. Call Manager can pull user for up to 5 instance but can associate only one. Implementing p.com can we use as a ...
-1
votes
1answer
112 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
638 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
569 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
845 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
312 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
43 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
1k 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 ...
0
votes
1answer
467 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
472 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
635 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
221 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
786 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
391 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
165 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
309 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
190 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
740 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
382 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
160 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
6k 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
794 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
108 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
525 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
297 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
905 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 ...
0
votes
3answers
20k 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
178 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 ...
-1
votes
2answers
12k 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 =...
1
vote
2answers
430 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
558 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
455 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
51 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
178 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
2k 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
7k 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
2answers
2k 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 user@email.com -p password 0: NO "...
0
votes
2answers
3k 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
vote
1answer
2k views

imapd-ssl: admin: No such file or directory

I am trying to set up my VPS so I can use Thunderbird IMAP to manage my mails. First, I installed postfix and followed this guide to create an SSL certificate. Then I installed sasl2-bin and courier-...
1
vote
1answer
1k 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 ...