Questions tagged [sasl]

Simple Authentication and Security Layer (SASL) is a framework for authentication and data security in Internet protocols.

259 questions
0
votes
1 answer

Postfix: reject_sender_login_mismatch not working

I want to use the following configuration for Postfix: smtpd_relay_restrictions = permit_mynetworks reject_sender_login_mismatch permit_sasl_authenticated defer_unauth_destination, check_policy_service…
janeden
  • 237
  • 2
  • 6
0
votes
2 answers

How does Sendmail figure out where SASL is listening?

I'm trying to get SMTP-AUTH working on a Mint Linux 20.2 machine, and I'm having trouble getting authentication to happen. I have installed Cyrus sasl2, and apparently configured it properly - testsaslauthd -u -p -s smtp returns 0:…
tsc_chazz
  • 905
  • 3
  • 14
0
votes
1 answer

postfix/sasl/pam (mysql) auth error

I've followed tutorial on http://flurdy.com/docs/postfix/ to set up an email server, and most of it works (after switching from Courier to Dovecot). Just not sending email through SMTP. Sending with sendmail works. This is what I see in…
Rudie
  • 337
  • 1
  • 3
  • 14
0
votes
1 answer

In SASL authentication, are the messages between a particular client and server the same every time it connects?

I wrote a test client and server using the Cyrus SASL library, and I'm manually forcing it to select GSSAPI as the mechanism. While debugging, I printed the md5sum of each message as it was passed between the two. I noticed that the sequence seems…
karenc
0
votes
1 answer

mysql not authenticating with cyrus for postfix athentication

So i have been building a mail server and i have setted up postfix and a database now what i want is that cyrus should authenticate my users of mail server from a database i have setted up a database and now i am having some issue yum -y install…
ram khanal
  • 23
  • 1
  • 4
0
votes
1 answer

Postfix: How to malware & spam scan outgoing SMTP SASL auth users?

Although I have found two answers to this, I can't work out how to actually implement them, and at least one of them doesn't actually answer the question. So if anyone has any experience to share I'd be very grateful. I have a server (Ubuntu 18.04)…
TommyPeanuts
  • 472
  • 1
  • 7
  • 24
0
votes
1 answer

Postfix SASL authentication via Dovecot - Can I use the SASL login name in my postfix sql queries?

I have a mailserver with postfix, dovecot and mysql running on Debian buster. Everythings works fine so far, but I would like to setup a scenario where the login name for SASL auth is different from the user part of the recipient…
Michael
  • 36
  • 5
0
votes
0 answers

Demanding SASL authentication on port 25 rejects all of my incomming email

I am using this chunk of code inside /etc/postfix/master.cf to force people to securely "subimt" email through port 465 which uses protocol SMTPS. SMTPS supports mandatory TLS which I use to demand from clients to 1st "encrypt" connection using…
71GA
  • 363
  • 1
  • 3
  • 10
0
votes
2 answers

Postfix fails on incoming SMTP from remote MTAs for local delivery

I am transferring MTA to newer servers running Ubuntu 20.04 LTS. SMTPS is working well thus permitting clients to send mails after authentication. However, when sending mails from remote MTAs for local delivery postfix is failing due to fatal: no…
Thomas Urban
  • 202
  • 2
  • 10
0
votes
1 answer

Using "postfix" user for "dovecot"

I set the Postfix so that my mailboxes (maildir format) for my virtual users are set like this: ┌───┐ │ # │ root > myserver > ~ └─┬─┘ └─> ls -l /var/mail/ total 4 drwxr-sr-x 5 postfix postfix 4096 Dec 2 12:27 pistam.eu ┌───┐ │ # │ root >…
71GA
  • 363
  • 1
  • 3
  • 10
0
votes
1 answer

OpenLDAP cn=config database access blocked

I use OpenLDAP 2.4.54 with Alpine. Here is my ldap configuration $ sudo slapcat -n0 dn: olcDatabase={-1}frontend,cn=config objectClass: olcDatabaseConfig objectClass: olcFrontendConfig olcDatabase: {-1}frontend structuralObjectClass:…
azmeuk
  • 195
  • 1
  • 2
  • 16
0
votes
2 answers

Postfix SMTP AUTH setup??? Confused

I have setup Postfix on my CentOS and configured it properly. Now, I want to enable user authentication to avoid any spam deliveries. I don't want a complicated setup, just a plain txt file which will keep the username/password (or MySQL database if…
Willy
  • 225
  • 1
  • 5
  • 9
0
votes
1 answer

Postfix + SASL SQLite gives auxprop error on CentOS 7

I am receiving an unknown password verifier(s) auxprop error when trying to use SQLite for SASL authentication in Postfix on CentOS 7. It seems that the SQLite SQL engine is not found. Contents of /etc/sasl2/smtp.conf: log_level:…
tater
  • 1,445
  • 2
  • 10
  • 12
0
votes
2 answers

Can't determine the principal used to LDAP syncrepl GSSAPI

I've configured two openldap fully functional in HA (syncrepl mode provider - slave). After testing that simple bind syncrepl works flawlessly, I'm trying to deploy from scratch using only GSSAPI to avoid the use of plain text passwords. I've…
DG DM
  • 35
  • 5
0
votes
0 answers

Getting postfix to log to a file on docker

I have created a docker image based on Ubuntu 20.04 with postfix and dovecot. I also installed syslog-ng in hope to solve my problem, but it didn't work. Thing is, I want to use fail2ban to prevent force brute attacks, and I need postfix/smtp/sasl…
1 2 3
17
18