ONLYOFFICE / Docker-MailServer

ONLYOFFICE Mail Server is a full-featured mail server solution developed on the base of the iRedMail package, containing the following components: Postfix, Dovecot, SpamAssassin, ClamAV, OpenDKIM, Fail2ban.
Other
79 stars 54 forks source link

can not create mail account after deploying a local LAN mail server #19

Open jackson-ls opened 4 years ago

jackson-ls commented 4 years ago

I have installed onlyoffice mail server integrated with document and community servers on linux platform following the installing instructions as the website https://github.com/ONLYOFFICE/Docker-MailServer told. Community and document server can work fine, but 'imap authorization failed' error occurred when creating mail account, so how to solve this problem? thanks!

Carazyda commented 4 years ago

Hello @jackson-ls please describe more about error(click details). And please check logs for errors. You use local domain or public?

jackson-ls commented 4 years ago

We use the mail service only limited in our company, so I use local domain without dns server which i add 'ip domain' record into /etc/hosts file in community docker instead. I create mail account by onlyoffice-community service, when that failed, the error message is only "IMAP response: Authenticatin failed, see inner exception", no more other message. I use docker logs mail-server, no valuable hint. I also can not find anything valuable in /app/onlyoffice/MailServer/logs or /app/onlyoffice/CommunityServer/logs. how to find the error in detail?

jackson-ls commented 4 years ago

The process i create mail account is:

  1. Open the onlyoffice community web serivce ip in browser and switch to mail page;
  2. I've been told there is no account or domain currently, so I click "create account"button;
  3. "creating account" dialog box appeared, I click "advanced setting";
  4. Input the email i want to create, and change the imap port to 143, set login password, click "save" button;
  5. "Account connect error" dialog box occurs, printing error message is "IMAP response: Authenticatin failed, see inner exception". I wondering if the mail server SSL i have not set?
Carazyda commented 4 years ago

If you select "Add New Account" on welcome message in module Mail - it means to add you an existing mail account, not create a new mail account on mail server.

For creating new mailboxes on mailserver - you need first to set up a domain at mail server settings in module. But if your domain not specified in your dns servers - it may causes problems for set up.

jackson-ls commented 4 years ago

Get it! Thanks! So you mean dns server is necessary even there is no need to send mail to other public mail server?