I have recently set up a standalone dovecot/postfix mail server that works perfectly.
Nevertheless, when I tried to install RounCube on my Apache2 webserver, I encountered a lot of problems.
First, the SMTP config test client certificate was causing an error, which I solved.
But the IMAP config test wasn't working at all, I've tried many settings but none of them worked.
Then I enabled dovecot debug-mode, which indicated that RoundCube was passing incorrect login credentials to the server.
The correct credentials are as follows: ('contact@mydigifit.nl', '*********').
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: conn unix:auth-worker (pid=16591,uid=110): Server accepted connection (fd=13)
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: conn unix:auth-worker (pid=16591,uid=110): Sending version handshake
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: conn unix:auth-worker (pid=16591,uid=110): auth-worker<1>: Handling PASSV request
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: pam(edd,212.70.149.71): Performing passdb lookup
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: pam(edd,212.70.149.71): lookup service=dovecot
Oct 16 10:02:30 mydigifit dovecot: auth-worker(16600): Debug: pam(edd,212.70.149.71): #1/1 style=1 msg=Password:
Oct 16 10:02:32 mydigifit dovecot: auth-worker(16600): pam(edd,212.70.149.71): pam_authenticate() failed: Authentication failure (Password mismatch?) (given password: edd@123)
Oct 16 10:02:32 mydigifit dovecot: auth-worker(16600): Debug: pam(edd,212.70.149.71): Finished passdb lookup
Oct 16 10:02:32 mydigifit dovecot: auth-worker(16600): Debug: conn unix:auth-worker (pid=16591,uid=110): auth-worker<1>: Finished
Oct 16 10:02:32 mydigifit dovecot: auth: Debug: pam(edd,212.70.149.71): Finished passdb lookup
Oct 16 10:02:32 mydigifit dovecot: auth: Debug: auth(edd,212.70.149.71): Auth request finished
Oct 16 10:02:34 mydigifit postfix/smtps/smtpd[14610]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Oct 16 10:02:34 mydigifit dovecot: auth: Debug: client passdb out: FAIL#01182#011user=edd#011original_user=edd@mydigifit.nl
Oct 16 10:02:35 mydigifit postfix/smtps/smtpd[14610]: lost connection after AUTH from unknown[212.70.149.71]
Oct 16 10:02:35 mydigifit postfix/smtps/smtpd[14610]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 commands=2/3
As you can see in the logs down below, you can clearly see that the email has changed to 'edd@mydigifit.nl', and the same goes for the password.
Can anyone explain to me what is happening and give advice of how to resolve this issue?