LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2016, 09:11 AM   #1
brandon65
LQ Newbie
 
Registered: Jun 2016
Posts: 3

Rep: Reputation: Disabled
login without authorization - Postfix/SASL master.cf


I have a problem with logging without authentication on the port SMTPS (465) postfix, because
because security is not working
In master.cf configuration I have:

Code:
smtps     inet  n       -      n       -       1       postscreen
 -o smtpd_tls_wrappermode=yes
 -o smtpd_sasl_auth_enable=yes
 -o content_filter=smtps
 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
 -o smtpd_sender_restrictions=reject_unknown_sender_domain,permit_sasl_authenticated
 -o smtpd_recipient_restrictions=permit_sasl_authenticated
 -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
On port 25 and 587 is OK, ie. not logged without authorization, in my configurations have:

Code:
smtp      inet  n       -       -       -       -       smtpd
 -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
 -o smtpd_sender_restrictions=reject_unknown_sender_domain,permit_sasl_authenticated,reject
 -o smtpd_sasl_auth_enable=yes
 -o smtpd_recipient_restrictions=permit_sasl_authenticated
 -o smtpd_tls_security_level=encrypt
Does anyone know how to just block port 465?
any ideas?
 
Old 06-28-2016, 06:30 PM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
Uh - blocking 465 is rather easy: simply comment out (write # as the first letter in the rows) for the smtps ... part
The "smtps" -> 465 mapping comes from the file /etc/services - take a look.
HTH
Upuetz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix SSL - SASL LOGIN authentication failed: generic failure grambldouch Linux - Server 1 03-21-2014 08:50 AM
Postfix and Cyrus Sasl - LOGIN Problem vickyk Linux - Newbie 1 01-06-2010 03:10 AM
Postfix/SASL/MySQL "SASL LOGIN authentication failed" Temujin_12 Linux - Server 8 10-04-2008 10:37 PM
Postfix - SASL LOGIN authentication failed micko_escalade Linux - Networking 1 02-03-2006 01:53 AM
Postfix configured SASL auth OK, but Outlook login kept rejected randy_liu_tw Linux - Software 2 01-14-2005 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration