Authentication Failure

barbarza

Verified User
Joined
Feb 3, 2020
Messages
10
I am trying to use an imapsync script to connect to IMAP of a directadmin server. I keep on getting the below error:

Code:
Host1: connecting and login on host1 [*.*.*.*] port [993] with user [*@*]
Host1 IP address: *.*.*.*
Host1 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot DA ready.

Host1 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN
Host1 info: authmech [LOGIN] user [*@*] authuser [] IsUnconnected []
Host1 failure: Error login on [*.*.*.*] with user [*@*] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed.
Exiting with return value 16 (EXIT_AUTHENTICATION_FAILURE) 1/20 nb_errors/max_errors

I have checked that the password is correct. It occurs when trying to connect with many different email addresses.

The script has worked perfectly on a different DirectAdmin server.

Please can you assist to resolve.
 
I'm having the same issue. What are the correct "Fetching Email via IMAP or POP' settings?
I have the following settings fields;
Hostname:
Port Number:
Mail Box Protocol:
IMAP+SSL or IMAP or POP+SSL or just POP

Also, have these for sending mail:
Hostname:
Port Number:
Authentication Required:
YES or NO
Header Spoofing:

Any help on this, please?
 
Back
Top