[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
yes I am using smtps as service name indeed. and smtps has -o smtpd_sasl_auth_enable=yes enabled. Thanks peter. On postfix 3.4 submissions was actually called smtps so you want to enable it in the smtps section (there won't be a submissions entry in your master.cf unless you added it).

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 01:37, Matus UHLAR - fantomas via Postfix-users wrote: He mentioned that on postfix with "smtpd_tls_auth_only=yes" (the default) authentication is only available when TLS is active The default is no, but it is very common to have it set to yes. Peter

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 09:50, Northwind via Postfix-users wrote: just to clarify, submissions is not required to set for enabling sasl_auth on port 465/587. i have tested it, no need to set a separated submissions. Incorrect. submission is *only* port 587, submissions is port 465. my postfix

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 01:12, Benny Pedersen via Postfix-users wrote: Stephan Seitz via Postfix-users skrev den 2024-05-24 15:01: Carefull, if you have „smtpd_tls_auth_only = yes” (I think), then you’ll see AUTH after STARTTLS… port 25 must not be tls only Since authentication should never be done on

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 00:43, Benny Pedersen via Postfix-users wrote: Northwind via Postfix-users skrev den 2024-05-24 14:37: and restarted postfix. now I think it should be working. telnet localhost 25 ehlo localhost if you see AUTH in ehlo results it not done yet no AUTH results take another beer

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 00:29, Benny Pedersen via Postfix-users wrote: Northwind via Postfix-users skrev den 2024-05-24 14:17: so, in main.cf: smtpd_sasl_auth_enable=no comment this out in main.cf, it already default no It's fine to have it, it's simply redundant. Peter

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Peter via Postfix-users
On 25/05/24 00:17, Northwind via Postfix-users wrote: so, in main.cf: smtpd_sasl_auth_enable=no Yes, although the setting is redundant here since it defaults to no anyways it's fine to explicitly state it if you want. then in master.cf: submission inet n   -   y   -   -

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
just to clarify, submissions is not required to set for enabling sasl_auth on port 465/587. i have tested it, no need to set a separated submissions. my postfix version: version 3.4.13 thanks submissions inet n   -   y   -   -   smtpd

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Stephan Seitz via Postfix-users
Am Fr, Mai 24, 2024 at 15:12:31 +0200 schrieb Benny Pedersen via Postfix-users: Stephan Seitz via Postfix-users skrev den 2024-05-24 15:01: Carefull, if you have „smtpd_tls_auth_only = yes” (I think), then you’ll see AUTH after STARTTLS… port 25 must not be tls only I didn’t say that, but

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Matus UHLAR - fantomas via Postfix-users
Stephan Seitz via Postfix-users skrev den 2024-05-24 15:01: Carefull, if you have „smtpd_tls_auth_only = yes” (I think), then you’ll see AUTH after STARTTLS… On 24.05.24 15:12, Benny Pedersen via Postfix-users wrote: port 25 must not be tls only if its needed use another port for tls only

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
Thank you so much. This is really important. > > Le 24/05/2024 à 14:17, Northwind via Postfix-users a écrit : > > > > > so, in main.cf: > > > > smtpd_sasl_auth_enable=no > > > > then in master.cf: > > > > submission inet n   -   y   -   -   smtpd > > > >   -o

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Erwan David via Postfix-users
Le 24/05/2024 à 14:17, Northwind via Postfix-users a écrit : so, in main.cf: smtpd_sasl_auth_enable=no then in master.cf: submission inet n   -   y   -   -   smtpd   -o smtpd_sasl_auth_enable=yes Am I right? does this disable sasl_auth for port 25, but still authorize

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Benny Pedersen via Postfix-users
Stephan Seitz via Postfix-users skrev den 2024-05-24 15:01: Carefull, if you have „smtpd_tls_auth_only = yes” (I think), then you’ll see AUTH after STARTTLS… port 25 must not be tls only if its needed use another port for tls only ___

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Stephan Seitz via Postfix-users
Am Fr, Mai 24, 2024 at 20:48:16 +0800 schrieb Northwind via Postfix-users: ehlo localhost.localdomain 250-mx.domain.xyz 250-PIPELINING 250-SIZE 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING no AUTH was there. so it should be working. :) Carefull, if

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
ehlo localhost.localdomain 250-mx.domain.xyz 250-PIPELINING 250-SIZE 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 CHUNKING no AUTH was there. so it should be working. :) if you see AUTH in ehlo results it not done yet

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Benny Pedersen via Postfix-users
Northwind via Postfix-users skrev den 2024-05-24 14:37: and restarted postfix. now I think it should be working. telnet localhost 25 ehlo localhost if you see AUTH in ehlo results it not done yet no AUTH results take another beer :) ___

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
root@mx:/etc/postfix# vi main.cf root@mx:/etc/postfix# vi master.cf root@mx:/etc/postfix# service postfix restart i have comment out this line in main.cf: #smtpd_sasl_auth_enable = yes And enable this in master.cf: submission inet n - y - - smtpd -o

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Benny Pedersen via Postfix-users
Northwind via Postfix-users skrev den 2024-05-24 14:17: so, in main.cf: smtpd_sasl_auth_enable=no comment this out in main.cf, it already default no then in master.cf: submission inet n - y - - smtpd -o smtpd_sasl_auth_enable=yes Am I right? yes does

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Northwind via Postfix-users
so, in main.cf: smtpd_sasl_auth_enable=no then in master.cf: submission inet n - y - - smtpd -o smtpd_sasl_auth_enable=yes Am I right? does this disable sasl_auth for port 25, but still authorize users on port 587/465? Thanks a lot. Many moons ago I was

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Benny Pedersen via Postfix-users
Allen Coates via Postfix-users skrev den 2024-05-24 11:51: Many moons ago I was told to put "smtpd_sasl_auth_enable=no"  in main.cf, blocking the function everywhere, and then put "-o smtpd_sasl_auth_enable=yes" in the submission stanza(s) in master.cf, expressly enabling it *just* there.

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Matus UHLAR - fantomas via Postfix-users
On 24/05/2024 03:15, Peter via Postfix-users wrote: No you definately should disable auth on port 25 regardless.  It is possible for postscreen to pass a connection to smtpd and smtpd can *then* offer auth. To answer your original question, you can just set   -o smtpd_sasl_auth_enable=no in

[pfx] Re: disable authentication on port 25

2024-05-24 Thread Allen Coates via Postfix-users
On 24/05/2024 03:15, Peter via Postfix-users wrote: No you definately should disable auth on port 25 regardless.  It is possible for postscreen to pass a connection to smtpd and smtpd can *then* offer auth. To answer your original question, you can just set   -o smtpd_sasl_auth_enable=no in

[pfx] Re: disable authentication on port 25

2024-05-23 Thread Peter via Postfix-users
On 24/05/24 13:08, Northwind via Postfix-users wrote: do you mean since I have been using postscreen, there is no need to manually disable authentication on port 25? since postscreen doesn't have auth support. No you definately should disable auth on port 25 regardless. It is possible for

[pfx] Re: disable authentication on port 25

2024-05-23 Thread Northwind via Postfix-users
do you mean since I have been using postscreen, there is no need to manually disable authentication on port 25? since postscreen doesn't have auth support. Thanks Wietse. As documnented somewhere, postscreen never announces AUTH support. ___

[pfx] Re: disable authentication on port 25

2024-05-23 Thread Wietse Venema via Postfix-users
Northwind via Postfix-users: > Hello, > > since my smtp instance is postscreen as showing the follow, > > smtp inet n - y - 1 postscreen > > > How can I disable authentication on port 25 then? > > I know if the smtp instance is smtpd, this option should