Questions tagged [sasl]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

saslauthd works when run 'standalone' but not when run by OmniOS svcadm

If I run saslauthd via svcadm it does not work, but if I run it from the command-line, it does. u@h:w$ svcadm enable saslauthd u@h:w$ ps -ef|grep sasl ...
user avatar
0 votes
1 answer
107 views

How it comes that ldapsearch output can't be piped

ldapsearch always outputs an authentication message with every query at the beginning: SASL/GSS-SPNEGO authentication started SASL username: user.principal@DOMAIN.NAME SASL SSF: 56 SASL data security ...
user avatar
  • 1
0 votes
1 answer
40 views

saslpasswd2 support for Berkeley

I have SASL databases, used by postfix and generated with saslpasswd2, on several CentOS 7 machines ( saslpasswd2/LibSasl: 2.1.26 ). They have the Berkeley DB (hash, version 9, native byte-order) ...
user avatar
  • 75.1k
2 votes
2 answers
2k views

Configuring mbsync with AuthMech XOAUTH2

I can't seem to figure out how to get mbsync to work with OAuth for Gmail because I can't get mbsync to find the xoauth2 sasl plugin on Ubuntu. I'm fairly confident that everything about my mbsync ...
user avatar
5 votes
1 answer
4k views

Postfix using OAuth2 authentication for relay host

I tried to set up postfix with Google as its relay host but failed miserably. Google switched to OAuth2 authentication and deprecated other authentication methods. This is why I tried to use the new ...
user avatar
0 votes
1 answer
234 views

FreeBSD 12 on Poweredge T330 and Toshiba 12 TB SAS

I am trying to add a SAS-disk (MG07SCA12TA) on Perc H330 to my server. When I try to initialize the disk with gpart gpart create -s gpt mfisyspd4, it yields gpart: Input/output error. Here is what ...
user avatar
0 votes
1 answer
79 views

How do I disable SASL in KMail?

I have a laptop running KMail 5.7.3 on Bionic Beaver. I just got a new computer with Eoan Ermine and am trying to set up Kmail 5.11.3 to use the same IMAP server. I set up the IMAP account, tried to ...
user avatar
1 vote
1 answer
1k views

Warning in the logs of Postfix: "restriction NNN ignored: no SASL support". But it does have SASL support

I have postfix + dovecot + pgsql. All has been working. Recently I've changed something in the config to combat spam. Now I see this in the logs: localhost postfix/smtpd[2299]: warning: restriction `...
user avatar
  • 229
1 vote
3 answers
2k views

How is sendmail SMTP authentication logging controlled?

I get a ton of failed SMTP login attempts. I'd really like to defend against it, but the logging of those attempts is poor. I'm using sendmail 8.15, cyrus-sasl 2.1.26. The SASL setup is the simplest ...
user avatar
  • 783
0 votes
2 answers
1k views

Postfix configuration issue with fips on centos 7; mailgun relay

I am trying to setup postfix to relay all mail generated on the local machine via SMTP to a mailgun relay. I have used the mailgun relay before with success on an ubuntu server, but I am migrating to ...
user avatar
  • 131
1 vote
0 answers
2k views

SASL Authentication failure

Created an user with # adduser username The configuration file /etc/sysconfig/saslauthd: # Directory in which to place saslauthd's listening socket, pid file, and so # on. This directory must ...
user avatar
  • 93
1 vote
1 answer
805 views

Cannot connect to SMTP server [closed]

I'm unable to establish a connection to my server's SMTP server, it gets closed immediately. telnet x.x.x.x 25 Trying x.x.x.x... Connected to xxxxxx.xxx. Escape character is '^]'. Connection closed ...
user avatar
  • 93
0 votes
2 answers
4k views

Dovecot not listening on imap and pop3 ports

Before I continue, I have looked at tons of posts online about saying that the protocols are not setup, and have tried what they have offered, but all of them do not help, and don't seem to resolve ...
user avatar
  • 103
1 vote
1 answer
1k views

SASL authentication failure: client response doesn't match what we generated

The following tutorial has been used to setup a virtual mail server: How to set up a mail server on a GNU / Linux system Everything works fine, though every time a message is being sent the ...
user avatar
  • 21
0 votes
2 answers
2k views

postfix & cyrus-SASL SASLDB2 0: NO "authentication failed"

We are setting up a Postfix mail relay to accept only authenticated smtp sessions and forward them to our backend smarthosts. CentOS 6.8 postfix-2.6.6-6.el6_7.1.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6....
user avatar
  • 1
1 vote
1 answer
3k views

Postfix + dovecot, disable authentication on port 25 [duplicate]

I use postfix 2.9.6 on ubuntu 12.04 (with dovecot if that matters). I'm trying to disable auth on port 25 and only allow it on port 587, so that I can receive mails normally from other servers but ...
user avatar
  • 11
2 votes
1 answer
4k views

Enabling SASL authentication mechanisms in openLDAP using OLC

All of the information that I have been able to find about enabling SASL mechanisms for openldap still use the slapd.conf method while all modern LDAP directories have elected to use OLC over a static ...
user avatar
1 vote
1 answer
1k views

Postfix using a RESTful API for authentication

Is it possible to connect Postfix to a RESTful API to validate password/username? What I imagine an ideal scenario is if Postfix handled the LOGIN or PLAIN methods (behind TLS only, but that is ...
user avatar
  • 123
0 votes
1 answer
82 views

Does default postfix installation support ssl and sasl2 Linux Mint (Ubuntu)

I am trying to setup a postfix mail server locally only to send mails on Linux Mint 16. I was successfully able to send mails to non TLS MTA, but not to gmail. Later I found that I need to configure ...
user avatar
  • 91
1 vote
1 answer
5k views

testsaslauthd succeeds but sasl-sample-server/client fail

I try to set up saslauthd for the XMPP server prosody but got stuck somewhere. I used the following documentation: http://blogs.mafia-server.net/nur-bahnhof/2013/12/prosody-authentification-...
user avatar
1 vote
0 answers
1k views

Authentication 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
0 votes
1 answer
2k views

sendmail smtp auth simple,why fail auth?

On sendmail i did this for smtp auth sasl is running root 1609 1 0 05:16 ? 00:00:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5 root 1610 1609 0 05:16 ? 00:...
user avatar
  • 10.9k
3 votes
0 answers
2k views

Postfix SMTP client won't authenticate with AUTH LOGIN

Log extract: 127.0.0.1[127.0.0.1]:11127: 250-AUTH LOGIN PLAIN maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,lock|fold_fix): [127.0.0.1]:11127 = XXXX smtp_sasl_passwd_lookup: host `127....
user avatar
  • 131
1 vote
0 answers
262 views

IMAP login not recognizing SASL while simple postfix send is

I've got SASLAuthd working (via LDAP), and am also successfully able to telnet via port 25 with my LDAP credentials. Postfix is configured with Dovecot. All 3 services are running fine (Postfix, ...
user avatar
0 votes
1 answer
2k views

Ubuntu Postfix Open LDAP integration - no SASL authentication mechanisms

Ive followed all the steps in https://help.ubuntu.com/community/Postfix/DovecotLDAP but I am getting a localhost postfix/smtpd[12520]: fatal: no SASL authentication mechanisms in my /var/log/...
user avatar
0 votes
1 answer
281 views

SASL authentication fails when called from crontab

When I run mbsync from the command line it works fine. But if mbsync is run from the crontab, mbsync fails with this error "Error: SASL(-1): generic failure:". My guess is that mbsync's SASL ...
user avatar
3 votes
2 answers
4k views

Why doesn't Postfix reject a specific client's connection attempts?

My SMTP server is being probed. It looks like a brute force attach on SASL, where they're going through a password dictionary. Having seen thousands of these lines in the log files Sep 18 14:09:52 ...
user avatar
14 votes
1 answer
36k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
user avatar
2 votes
1 answer
3k views

zpool status hangs forever

Openindiana oi_151a7. zpool with 15x 1TB raidz3 + 2x 8 disk 2TB raidz2. Many disk operations such as zpool status, creating a new iscsi volume (using sbdadm) etc hangs. Using iostat (-xne) I can ...
user avatar
  • 191
1 vote
1 answer
1k views

SVN failing to create SASL context

Trying to execute the command svn log svn://[my server address]/path/to/repository nets me the following: svn: E170001: Unable to connect to a repository at URL 'svn://[my server address]/path/to/...
user avatar
4 votes
3 answers
4k views

Appending a pem to another

I found a blog that helped me relay postfix through smtp.gmail.com with SASL authentication. One of the steps was: cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | \ sudo tee -a /etc/...
user avatar
2 votes
1 answer
695 views

SSH Authentication Mechanism

Doing a personal research project and I'm wondering: Why does SSH do its own mechanism negotiation rather than use SASL? At first I thought it might be to ensure confidentiality of the whole session, ...
user avatar
  • 15.9k