Questions tagged [sasl]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Postfix mail sending issue with SMTP Authentication using SASL

I have configured an SMTP server on my Ubuntu server using Postfix, and I am encountering issues with SMTP authentication. Emails sent directly through the server are successful. However, when I ...
Deepak S's user avatar
0 votes
1 answer
77 views

sg_format Low Level Format Interrupted - Kernel Errors

I was going through a sg_format low-level format from 520-byte to 4096 native byte sectors - during the process, the system lost power and the server went down hard. Now in the the kernel, I'm getting ...
tkrn's user avatar
  • 123
0 votes
0 answers
362 views

Mail relay allowing "internal" senders to mail only to our own domains unless they come from certain IPs or authenticate

Scroll to bottom for configuration snippets I have NewInternalMailserver being set up to relay for internal applications that have been hard coded for InternalMailServerURL. When mailing "our&...
Jan Gronemann's user avatar
1 vote
2 answers
235 views

Is my connection to my Postfix server encrypted?

I would like to use my Thunderbird client to send mails trough my Postfix server running on port 25 (SMTP). I would like an authenticated and encrypted connection. I followed these documentations: ...
YuGiOhJCJ's user avatar
  • 113
0 votes
0 answers
58 views

Skip first pass in sasl-pam-mysql authentication

I have configured in pam.d/ an smtp configuration module like this: $ cat pam.d/smtp auth required pam_nologin.so auth sufficient pam_mysql.so config_file=/etc/mail-pam-mysql.conf ...
easy_mungo's user avatar
0 votes
1 answer
24 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 ...
Michael NGV's user avatar
0 votes
1 answer
665 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.princi[email protected] SASL SSF: 56 SASL data security ...
Stefan's user avatar
  • 1
0 votes
1 answer
148 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) ...
Anthon's user avatar
  • 78.7k
5 votes
3 answers
6k 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 ...
jackmac92's user avatar
7 votes
1 answer
11k 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 ...
Andreas Matthias's user avatar
0 votes
1 answer
305 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 ...
Ronny's user avatar
  • 3
0 votes
1 answer
160 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 ...
Pierre Abbat's user avatar
0 votes
1 answer
2k views

How to resolve SAS macro variable in shell script

I am running a shell script via X command within a SAS macro. I want to use a macro variable defined in SAS macro, in my shell script. I know if I pass that macro variable as parameter to shell script,...
Deepak Malhotra's user avatar
2 votes
1 answer
2k 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 `...
nylypej's user avatar
  • 239
1 vote
3 answers
3k 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 ...
Hack Saw's user avatar
  • 1,024
0 votes
2 answers
2k 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 ...
Foghorn's user avatar
  • 141
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 ...
Gotenks's user avatar
  • 213
1 vote
1 answer
1k 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 ...
Gotenks's user avatar
  • 213
0 votes
2 answers
5k 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 ...
Dahknee's user avatar
  • 103
1 vote
1 answer
2k 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 ...
Ioannis's user avatar
  • 21
0 votes
2 answers
3k 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....
ausip's user avatar
  • 101
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 ...
Sylvain's user avatar
  • 11
3 votes
1 answer
5k 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 ...
Andrew Meyer's user avatar
1 vote
1 answer
2k 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 ...
Martijn's user avatar
  • 123
0 votes
1 answer
109 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 ...
Srikan's user avatar
  • 101
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-...
Daniel Alder's user avatar
1 vote
0 answers
2k 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. ...
John Sanders's 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:...
elbarna's user avatar
  • 12.4k
3 votes
0 answers
3k 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....
flymike's user avatar
  • 131
1 vote
0 answers
288 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, ...
Arjun Dhar's 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/...
Arjun Dhar's user avatar
0 votes
1 answer
328 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 ...
scaramouche's user avatar
3 votes
2 answers
5k 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 ...
patschiboy's user avatar
14 votes
1 answer
40k 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 ...
Martin Vegter's 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 ...
3molo's user avatar
  • 189
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/...
MirroredFate's user avatar
4 votes
3 answers
5k 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/...
Mike Pennington's user avatar
2 votes
1 answer
756 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, ...
Bratchley's user avatar
  • 16.7k