Re: plain text authentication

2020-05-12 Thread Adrian Ali



On 5/12/20 4:57 AM, gil...@poolp.org wrote:

May 12, 2020 1:47 AM, "Thomas Bohl"  wrote:


Hi,


I need to use plain text authentication. I have to migrate an old > postfix 
server that uses this
authentication mode. I have a lot of > devices configured in this way. I have 
to plan the migration
to TLS, > while I want to use OpenSMTPD with plain text authentication. It's 
possible?

It's not possible to use plain text authentication with OpenSMTPD.
https://www.mail-archive.com/misc@opensmtpd.org/msg04397.html

I guess your migration plan has to give OpenSMTPD a different hostname or port 
and let postfix run
till ever device is moved to a TLS config.

The question is confusing:

PLAIN AUTH is an authentication method which uses plaintext credentials and 
encodes them in base64
in opposition to other authentication methods relying on challenges.

OpenSMTPD supports PLAIN AUTH, what it doesn't support is authentication 
outside of a TLS channel.

So yes, you can use OpenSMTPD with plain authentication BUT you can't use 
authentication if you do
not setup TLS first.

Gilles



Understood. My old Postfix installation doesn't use TLS. Following 
Thomas comment I am going to install OpenSMTP and migrate devices to TLS.


Thank you very much.

P.D: Sorry for my bad English


Re: plain text authentication

2020-05-12 Thread gilles
May 12, 2020 1:47 AM, "Thomas Bohl"  wrote:

> Hi,
> 
>> I need to use plain text authentication. I have to migrate an old > postfix 
>> server that uses this
>> authentication mode. I have a lot of > devices configured in this way. I 
>> have to plan the migration
>> to TLS, > while I want to use OpenSMTPD with plain text authentication. It's 
>> possible?
> 
> It's not possible to use plain text authentication with OpenSMTPD.
> https://www.mail-archive.com/misc@opensmtpd.org/msg04397.html
> 
> I guess your migration plan has to give OpenSMTPD a different hostname or 
> port and let postfix run
> till ever device is moved to a TLS config.

The question is confusing:

PLAIN AUTH is an authentication method which uses plaintext credentials and 
encodes them in base64
in opposition to other authentication methods relying on challenges.

OpenSMTPD supports PLAIN AUTH, what it doesn't support is authentication 
outside of a TLS channel.

So yes, you can use OpenSMTPD with plain authentication BUT you can't use 
authentication if you do
not setup TLS first.

Gilles



Re: plain text authentication

2020-05-11 Thread Thomas Bohl

Hi,

I need to use plain text authentication. I have to migrate an old 
postfix server that uses this authentication mode. I have a lot of 
devices configured in this way. I have to plan the migration to TLS, 
while I want to use OpenSMTPD with plain text authentication. It's possible?


It's not possible to use plain text authentication with OpenSMTPD.
https://www.mail-archive.com/misc@opensmtpd.org/msg04397.html

I guess your migration plan has to give OpenSMTPD a different hostname 
or port and let postfix run till ever device is moved to a TLS config.