mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
558 stars 82 forks source link

davmail autodiscovery always got Authentication failed: invalid user or password #354

Closed aryabisma closed 1 month ago

aryabisma commented 1 month ago

Hi Sir,

we have davmail version is 4.7.2-trunk server setup where it act as gateway to connect our application with exchange.

davmail and our email app is hosted in the same machine, thus the email will connect to davmail via port 1143 at localhost. then, davmail will retrieve emails from exchange using basic auth (davmail properties provided).

it works smoothly until today at 18 May, 00:00:00 UTC+8, our davmail is suddenly having authentication failure.

the error is consistently telling us as follow (wire debug log provided):

davmail.exchange.ExchangeSession - autodiscover.com.my davmail.exchange.ExchangeSession - Authentication failed: invalid user or password davmail - Authentication failed: invalid user or password

we have tried directly opening EWS/Exchange.asmx through our corporate domain (davmail.host value), it works and can login to EWS just fine. it only prompt to input username and password and return the following page (screenshot provided).

could you please advise what we should check to resolve this?

Screenshot EWS Exchange test davmail_wire_debug_log_18052024.zip

aryabisma commented 1 month ago

this is currently happening in our production and stopping our email handling activity. any advices is very much appreciated.

aryabisma commented 1 month ago

apologize, missclicked as closed. this is not yet fixed on our side.

aryabisma commented 1 month ago

Closed as not relevant anymore