Re: [EXT] doveadm backup from gmail with imapc

2020-04-11 Thread Ben Mulvihill
On Fri, 2020-04-10 at 15:13 +0300, Sami Ketola wrote: > > > > > On 10 Apr 2020, at 14.07, Ben Mulvihill > > wrote: > > > > > last answer from gmail: > > > > > 1586513176.126970 1944 OK Success > > last commands send by dovecot: > > > > > 1586513175.951965 1944 UID FETCH > >

Re: Missing permissions

2020-04-11 Thread Aki Tuomi
On 11/04/2020 15:47 Alex JOST < jost+li...@dimejo.at> wrote: Am 11.04.2020 um 13:00 schrieb Andrei Petru Mura: Hi, After configuring systemd unit with ReadWritePaths=/home/mail, I

Re: Missing permissions

2020-04-11 Thread Alex JOST
Am 11.04.2020 um 13:00 schrieb Andrei Petru Mura: Hi, After configuring systemd unit with ReadWritePaths=/home/mail, I get the following error logs in audit: type=AVC msg=audit(1586604621.637:6736): avc: denied { write } for pid=12750 comm="imap" name="Maildir" dev="dm-3" ino=438370738

Re: [EXT] doveadm backup from gmail with imapc

2020-04-11 Thread Sami Ketola
> On 11 Apr 2020, at 15.20, Ben Mulvihill wrote: > > I tried setting imapc_cmd_timeout = 10s and that was enough to take the > download process past the ID stage and on to downloading messages. > doveadm still failed the same ASSERT and core dumps, just not so soon. > In four attempts I

Re: Missing permissions

2020-04-11 Thread Andrei Petru Mura
Hi, After configuring systemd unit with ReadWritePaths=/home/mail, I get the following error logs in audit: type=AVC msg=audit(1586604621.637:6736): avc: denied { write } for pid=12750 comm="imap" name="Maildir" dev="dm-3" ino=438370738 scontext=system_u:system_r:dovecot_t:s0

Re: Missing permissions

2020-04-11 Thread Andrei Petru Mura
I think I found here what I'm interested in: https://doc.dovecot.org/admin_manual/system_users_used_by_dovecot/. On Sat, Apr 11, 2020 at 9:52 AM Andrei Petru Mura wrote: > Hi Aki, > > Thanks. I was especially interested in documentation related to dovecot > and it's users permissions, the way

Re: Missing permissions

2020-04-11 Thread Andrei Petru Mura
Hi Aki, Thanks. I was especially interested in documentation related to dovecot and it's users permissions, the way in which dovecot uses users. Till now I found only spread information on different articles from dovecot's website. Thanks, Mura Andrei On Sat, Apr 11, 2020 at 9:49 AM Aki Tuomi

Re: Missing permissions

2020-04-11 Thread Aki Tuomi
Hi, https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ReadWritePaths= although we probably need to add some words into doc.dovecot.org under known issues. Aki > On 11/04/2020 09:24 Andrei Petru Mura wrote: > > > Hi Aki, > > Any documentation on this topic? > > Mura

Re: Missing permissions

2020-04-11 Thread Andrei Petru Mura
Hi Aki, Any documentation on this topic? Mura Andrei On Mon, Apr 6, 2020 at 5:27 PM Aki Tuomi wrote: > This is probably caused by systemd (or selinux or both). > > With systemd, you need to add > > ReadWritePaths=/home/mail > > to the systemd unit. > > Then you can check

Re: Missing permissions

2020-04-11 Thread Andrei Petru Mura
Hi Michael, I don't have apparmour installed in my system. Mura Andrei On Mon, Apr 6, 2020 at 10:11 PM Michael Hirmke wrote: > Hi Andrei, > > >Hi, > > >Dovecot version 2.2.36 > >In log files I get this error: > >dovecot: imap(test): Namespace '': mkdir(/home/mail/domain/test/Maildir) >