1

Topic: IMAP Error : Insecure server advertised AUTH=PLAIN

==== Provide basic information to help troubleshoot ====
- iRedMail version: 7.2
- Linux/BSD distribution name and version: 5.6 Centos
- Any related log? Log is helpful for troubleshooting.
====
Hi,

I am trying to get emails through PHP ( 3rd party app) using following command, it is able to connect with IMAP with message "IMAP connection opened successfully but immediate after it is throwing this error.

SECURITY PROBLEM: insecure server advertised auth=plain

Here is a php command used.
_mbox = @imap_open( localhost:143/imap/notls/norsh, $username, $password)

checked dovecot config it is 'disable_plaintext_auth = no'

why dovecot is saying auth = plain, how can we resolve it?

Thanks in advance.

Pine Mail Admin

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: IMAP Error : Insecure server advertised AUTH=PLAIN

PineMail11 wrote:

Here is a php command used.
_mbox = @imap_open( localhost:143/imap/notls/norsh, $username, $password)

You didn't use IMAPS in your PHP command.

3

Re: IMAP Error : Insecure server advertised AUTH=PLAIN

as I am using notls and port 143.
do I need to use IMAPS or will it work with IMAP also?

4

Re: IMAP Error : Insecure server advertised AUTH=PLAIN

Please use IMAPS.