Hello, First of all, I'm sorry if you received this mail twice; I haven't received it the first time so I think it was lost. Second attempt. I've made some more tests and I still can't receive mails. Outlook doesn't complain about anything, no error message; the mails that are supposed to be received just won't appear. In the mail logs, I find this line (other lines are irrelevant): dovecot: imap-login: Aborted login (no auth attempts in 2 secs): user=<> [...] Is this a problem that looks familiar? It's a bit clueless without an error message. Any idea welcome.
On 14.10.2016 15:43, Moi wrote:> Hello, > > First of all, I'm sorry if you received this mail twice; I haven't received > it the first time so I think it was lost. Second attempt. > > I've made some more tests and I still can't receive mails. > Outlook doesn't complain about anything, no error message; the mails that > are supposed to be received just won't appear. > In the mail logs, I find this line (other lines are irrelevant): > dovecot: imap-login: Aborted login (no auth attempts in 2 secs): user=<> > [...] > > Is this a problem that looks familiar? > > It's a bit clueless without an error message. > Any idea welcome.Please post doveconf -n doveadm log errors Aki Tuomi
doveconf -n: # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-042stab116.1 x86_64 Debian 8.6 mail_location = mbox:~/mail:INBOX=/var/mail/%u namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { driver = pam } protocols = " imap" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } } service imap-login { inet_listener imaps { port = 993 ssl = yes } } ssl = required ssl_cert = </etc/ssl/certs/mail.crt ssl_key = </etc/ssl/private/mail.key userdb { driver = passwd } And doveadm log errors: Oct 13 05:56:28 imap(webuser): Error: open(/var/mail/webuser) failed: Permission denied (euid=1001(webuser) egid=1000(ftpusers) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) Oct 13 05:56:28 imap(webuser): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2016-10-13 05:56:28] Oct 13 05:56:33 imap(webuser): Error: open(/var/mail/webuser) failed: Permission denied (euid=1001(webuser) egid=1000(ftpusers) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) Oct 13 05:56:33 imap(webuser): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2016-10-13 05:56:33] Oct 13 06:52:45 imap(webuser): Error: open(/var/mail/webuser) failed: Permission denied (euid=1001(webuser) egid=1000(ftpusers) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) Oct 13 06:52:45 imap(webuser): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2016-10-13 06:52:45] Oct 13 07:12:41 imap(webuser): Error: open(/var/mail/webuser) failed: Permission denied (euid=1001(webuser) egid=1000(ftpusers) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) Oct 13 07:12:41 imap(webuser): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2016-10-13 07:12:41] Oct 13 07:12:50 imap(webuser): Error: open(/var/mail/webuser) failed: Permission denied (euid=1001(webuser) egid=1000(ftpusers) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775) Oct 13 07:12:50 imap(webuser): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2016-10-13 07:12:50] I checked, using ls -l /var, and I get this: drwxrwsr-x 2 root mail 4096 Apr 27 11:27 mail so the group looks to be correctly set to 'mail', despite what the log says, right? Thanks for your answer. The second command is nice to know. -----Message d'origine----- De?: dovecot [mailto:dovecot-bounces at dovecot.org] De la part de Aki Tuomi Envoy??: 14 October 2016 14:58 ??: dovecot at dovecot.org Objet?: Re: First steps in Dovecot; IMAP not working Please post doveconf -n doveadm log errors Aki Tuomi
On 2016-10-14 13:43, Moi wrote:> Hello, > > First of all, I'm sorry if you received this mail twice; I haven't > received > it the first time so I think it was lost. Second attempt. > > I've made some more tests and I still can't receive mails. > Outlook doesn't complain about anything, no error message; the mails > that > are supposed to be received just won't appear. > In the mail logs, I find this line (other lines are irrelevant): > dovecot: imap-login: Aborted login (no auth attempts in 2 secs): > user=<> > [...] > > Is this a problem that looks familiar? > > It's a bit clueless without an error message. > Any idea welcome.http://wiki.dovecot.org/TestInstallation -- key ID: 0x4BFEBB31
Le 14 oct. 2016 ? 16:06, mick crane <mick.crane at gmail.com> a ?crit:> On 2016-10-14 13:43, Moi wrote: >> Hello, >> First of all, I'm sorry if you received this mail twice; I haven't received >> it the first time so I think it was lost. Second attempt. >> I've made some more tests and I still can't receive mails. >> Outlook doesn't complain about anything, no error message; the mails that >> are supposed to be received just won't appear. >> In the mail logs, I find this line (other lines are irrelevant): >> dovecot: imap-login: Aborted login (no auth attempts in 2 secs): user=<> >> [...] >> Is this a problem that looks familiar? >> It's a bit clueless without an error message. >> Any idea welcome. > > http://wiki.dovecot.org/TestInstallationThank you. I?m at the ?Check that it finds INBOX? section and am getting: * 0 EXISTS * 0 RECENT (the remaining text being the same as the example). So it looks like the mailbox doesn?t exist?
Reasonably Related Threads
- First steps in Dovecot; IMAP not working
- Troubles with Dovecot 2.3.3 - mkdir permission denied due to +w perm: /var, dir owned by 0:0 mode=0755)
- Fwd: problem with Error: net_connect_unix(/var/run/dovecot/dict) failed: Permission denied
- Rsync failed as a cron task.
- How to mirror only specified directories