Re: First steps in Dovecot; IMAP not working

2016-12-04 Thread Marnaud
Le 18 oct. 2016 à 13:32, Richard a écrit: > Assuming that "barbu.sytes.net" is the intended hostname (not > something made up to obscure the real name), there is an MX-record > for that that points to "mail.barbu.sytes.net", but there is no > A-record for the "mail." hostname. There is an A-reco

RE: First steps in Dovecot; IMAP not working

2016-10-18 Thread Joseph Tam
>doveadm user mailtest field value uid 1002 gid 8 home/home/mailtest mailmbox:~/mail:INBOX=/var/mail/mailtest system_groups_user mailtest Looks fine. [log files] I'll try to locate them. Your best hope. Maybe this helps doveconf -n | grep log_ Or just

RE: First steps in Dovecot; IMAP not working

2016-10-18 Thread Richard
> Date: Tuesday, October 18, 2016 13:12:39 +0200 > From: Moi > > Thank you. It worked and I now have several log files to check. > > In the meantime, I've tried once again to send a message to > "mailtest" from an outside address; this time, I got an error reply: > > This report relates to a m

RE: First steps in Dovecot; IMAP not working

2016-10-18 Thread Moi
> I always install "locate" and whenever I change anything do as root "/usr/bin/updatedb" > then you can type > "locate *.log" Thank you. It worked and I now have several log files to check. In the meantime, I've tried once again to send a message to "mailtest" from an outside address; this time,

Re: First steps in Dovecot; IMAP not working

2016-10-18 Thread Aki Tuomi
On 18.10.2016 13:42, mick crane wrote: > On 2016-10-18 07:55, Moi wrote: >>> Two things to check: >>> >> ># What does dovecot think user "mailtest" has? >> >doveadm user mailtest >> >> I get this: >> field value >> uid 1002 >> gid 8 >> home/home/mailtest >> mailmbox:~/

Re: First steps in Dovecot; IMAP not working

2016-10-18 Thread mick crane
On 2016-10-18 07:55, Moi wrote: Two things to check: > # What does dovecot think user "mailtest" has? > doveadm user mailtest I get this: field value uid 1002 gid 8 home/home/mailtest mailmbox:~/mail:INBOX=/var/mail/mailtest this looks wrong I don't think /var should

RE: First steps in Dovecot; IMAP not working

2016-10-17 Thread Moi
>Two things to check: > > # What does dovecot think user "mailtest" has? > doveadm user mailtest I get this: field value uid 1002 gid 8 home/home/mailtest mailmbox:~/mail:INBOX=/var/mail/mailtest system_groups_user mailtest > # The sticky bit should be set

Re: First steps in Dovecot; IMAP not working

2016-10-17 Thread Joseph Tam
Marnaud writes: "mailtest", the new user, is in group mail(8). In addition, I've added write permission for "others" to /var/mail. Now, I'm trying to send a message to "mailtest" from another, working, e-mail account and nothing happens. This time, "doveadm log errors" is empty. In short, I

Re: First steps in Dovecot; IMAP not working

2016-10-17 Thread Marnaud
Sorry, my previous message got mangled. I'm re-writing it, quoting manually. I apologize for the traffic. (Sorry I read this list in digest form so frequently I'm half a step behind.) No problem. No, it's quite explicit. User "webuser" has uid/gid = 1001(webuser)/1000(ftpusers). Your m

Re: First steps in Dovecot; IMAP not working

2016-10-17 Thread Marnaud
Le 14 octobre 2016 à 14:28, Joseph Tam a écrit: (Sorry I read this list in digest form so frequently I'm half a step behind.) No problem.   No, it's quite explicit. User "webuser" has uid/gid = 1001(webuser)/1000(ftpusers). Your mail spool has permission uid/gid = root(0)/mail(8), neither

Re: First steps in Dovecot; IMAP not working

2016-10-17 Thread Marnaud
Le 15 octobre 2016 à 07:35, mick crane a écrit: http://wiki.dovecot.org/FindMailLocation Ok, there are non-standard facts about my user. When I do: eval echo ~webuser I'm getting: /var/www/html/ This is because webuser is for an FTP account in that directory. I'm now trying with a "reg

Re: First steps in Dovecot; IMAP not working

2016-10-15 Thread mick crane
On 2016-10-15 09:48, Marnaud wrote: Le 15 oct. 2016 à 9:56, mick crane a écrit: I assume this means there are no emails in the INBOX. send yourself a mail. This is actually one of the first thing I tried when I saw outgoing mails worked. I also tried sending mails from another address, hopin

Re: First steps in Dovecot; IMAP not working

2016-10-15 Thread Marnaud
Le 15 oct. 2016 à 9:56, mick crane a écrit: > I assume this means there are no emails in the INBOX. > send yourself a mail. This is actually one of the first thing I tried when I saw outgoing mails worked. I also tried sending mails from another address, hoping to receive an error message back

Re: First steps in Dovecot; IMAP not working

2016-10-15 Thread mick crane
On 2016-10-14 21:32, Marnaud wrote: Le 14 oct. 2016 à 16:06, mick crane 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

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Joseph Tam
(Sorry I read this list in digest form so frequently I'm half a step behind.) For sake of ?security?, I chose to not allow plaintext communication (being new to this, I think being strict is a good choice). I?ve tried with the openssl option and it successfully logged in. Yes, you've included

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Marnaud
Le 14 oct. 2016 à 15:54, Aki Tuomi a écrit: > In your configuration, dovecot uses whatever user/group returned by PAM. Excuse my ignorance, but what is PAM? > Since the web user has never logged in, it has no directory under /var/mail. Hmm… So it can’t log in because it has no directory and it

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Marnaud
Le 14 oct. 2016 à 16:06, mick crane 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. >> Out

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Marnaud
Le 14 oct. 2016 à 21:22, Joseph Tam a écrit: > Did you post doveconf -n (I didn't catch the head of this thread)? That > would be step 0. Yes (actually, twice). If you want to see it again, no problem, just ask. > I assume you allow plaintext communication, but if not, substitute telnet with >

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Joseph Tam
Moi wrote: I've made some more tests and I still can't receive mails; sending them still works. I don't receive any error message, just the mails that are supposed to be received won't come. In the mail logs, I find only this relevant line: dovecot: imap-login: Aborted login (no auth attempts i

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread mick crane
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; th

RE: First steps in Dovecot; IMAP not working

2016-10-14 Thread Aki Tuomi
> On October 14, 2016 at 4:16 PM Moi wrote: > In your configuration, dovecot uses whatever user/group returned by PAM. Since the webuser has never logged in, it has no directory under /var/mail. If you want, you can a) override mail_uid and mail_gid in userdb/passdb b) pre-create /var/mail/

RE: First steps in Dovecot; IMAP not working

2016-10-14 Thread Moi
tfix mode = 0666 user = postfix } } service imap-login { inet_listener imaps { port = 993 ssl = yes } } ssl = required ssl_cert = mailto:dovecot-boun...@dovecot.org] De la part de Aki Tuomi Envoyé : 14 October 2016 14:58 À : dovecot@dovecot.org Objet : Re: First steps in Dovec

Re: First steps in Dovecot; IMAP not working

2016-10-14 Thread Aki Tuomi
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; th

RE: First steps in Dovecot; IMAP not working

2016-10-14 Thread Moi
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 rece

RE: First steps in Dovecot; IMAP not working

2016-10-14 Thread Moi
Hello, I've made some more tests and I still can't receive mails; sending them still works. I don't receive any error message, just the mails that are supposed to be received won't come. In the mail logs, I find only this relevant line: dovecot: imap-login: Aborted login (no auth attempts in 2 sec

RE: First steps in Dovecot; IMAP not working

2016-10-13 Thread Moi
I think I found the culprit. I had backed files up using cp (e.g. 10-ssl.conf to 10-ssl.default.conf) so if I made mistakes, I could revert easily. It looks like all files in the conf.d folder are included, therefore my backup files overwrote the standard ones. Now, when I try to send mails, outlo

Re: First steps in Dovecot; IMAP not working

2016-10-13 Thread Aki Tuomi
On 13.10.2016 12:42, Marnaud wrote: > > "Aki Tuomi" wrote: > >> doveconf -n shows what's there. if you have ssl=no somewhere else in the >> config after you set it to required, it gets overwritten. >> >> Aki > > Thanks, Aki. > It means I have to open each conf file (e.g. using nano) and search >

Re: First steps in Dovecot; IMAP not working

2016-10-13 Thread Aki Tuomi
doveconf -n shows what's there. if you have ssl=no somewhere else in the config after you set it to required, it gets overwritten. Aki On 13.10.2016 12:18, Marnaud wrote: > Hello, > > > > I'm new in Dovecot and am having troubles making it working. I'm > trying using Outlook and Apple's Mail as