I haven’t changed anything on the mail config except for master user
and password
to make it static as per this guide.
I also doubled checked the credentials by retrieving from sogo with docker compose exec dovecot-mailcow cat /etc/sogo/sieve.creds
mymasteruser@mailcow.local:mymasteruserpassword
I am trying to connect to imap with this simple python script:
import imaplib
import ssl
server = 'xxx.xxx.com'
username = 'info@mail.com*mymasteruser@mailcow.local'
password = 'mymasteruserpassword'
context = ssl.create_default_context()
mail = imaplib.IMAP4_SSL(server, 993, ssl_context=context)
mail.login(username, password)
mail.select('INBOX')
The regular user and password works however when i try to connect with master user and password following the format , it just throws the Authentication Failed Error
imaplib.IMAP4.error: b'[AUTHENTICATIONFAILED] Authentication failed.'
This is my first time working on with mailcow so i am curious if there is any configuration to be made apart from changing master user and password.
I would appreciate any help.
Thankyou.