Re: Pread error over smb3
I wonder if you are relying on secondary groups? If you are, using service imap { extra_groups = somegroup } can help. Also you could try service imap { executable = /usr/bin/strace -o /tmp/imap -f -ff /usr/lib/dovecot/imap } might be useful Aki On 06/07/2024 16:08 EEST Joan Moreau via dovecot wrote: Moved from smb3 to sshfs to test same problem, only dovecot is complaining On Sat, 2024-07-06 at 21:04 +0800, Joan Moreau wrote: archlinux x64 no selinux activated On Sat, 2024-07-06 at 13:53 +0200, John Fawcett via dovecot wrote: Hi Joan not sure what OS you're using, so just a guess: but maybe this is selinux related or something similar. When it's the OS providing the error code to dovecot, it's very unlikely to be anything in dovecot itself. On 06/07/2024 12:51, Joan Moreau via dovecot wrote: No error on the error side the error occurs only with dovecot. all other soft do nto complains about the smb3 protocol I get also Jul 6 10:49:45 gjserver dovecot[4220]: lmtp (ad...@grosjo.net)<4355>: Error: rename(/net/mails/grosjo.net/admin/ storage/dovecot.map.index.tmp, /net/mails/grosjo.net/admin/storage/ dovecot.map.index) failed: Permission denied On Tue, 2024-07-02 at 08:00 +0300, Aki Tuomi via dovecot wrote: Ok. But the error is coming from kernel, so not much Dovecot can do about it. Maybe try turning on some debugging in your server to see what is going on? Aki On 02/07/2024 07:54 EEST Joan Moreau via dovecot wrote: Permissions on the server are very fine The problem occurs ONLY with dovecot On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: On 02/ 07/ 2024 02:05 EEST Joan Moreau via dovecot wrote: Hi I am trying to move my storage of email on a smb3 mounted volume. I am getting the following error : Error: pread (/ net/.../
Re: Pread error over smb3
Moved from smb3 to sshfs to test same problem, only dovecot is complaining On Sat, 2024-07-06 at 21:04 +0800, Joan Moreau wrote: > archlinux x64 > > no selinux activated > > On Sat, 2024-07-06 at 13:53 +0200, John Fawcett via dovecot wrote: > > Hi Joan > > > > not sure what OS you're using, so just a guess: but maybe this is > > selinux related or something similar. When it's the OS providing > > the > > error code to dovecot, it's very unlikely to be anything in dovecot > > itself. > > > > On 06/07/2024 12:51, Joan Moreau via dovecot wrote: > > > No error on the error side > > > > > > the error occurs only with dovecot. all other soft do nto > > > complains > > > about the smb3 protocol > > > > > > I get also > > > Jul 6 10:49:45 gjserver dovecot[4220]: > > > lmtp(ad...@grosjo.net)<4355>: Error: > > > rename(/net/mails/grosjo.net/admin/storage/dovecot.map.index.tmp, > > > /net/mails/grosjo.net/admin/storage/dovecot.map.index) failed: > > > Permission denied > > > > > > > > > > > > On Tue, 2024-07-02 at 08:00 +0300, Aki Tuomi via dovecot wrote: > > > > Ok. But the error is coming from kernel, so not much Dovecot > > > > can do > > > > about it. Maybe try turning on some debugging in your server to > > > > see > > > > what is going on? > > > > > > > > Aki > > > > > > > > > On 02/07/2024 07:54 EEST Joan Moreau via dovecot > > > > > wrote: > > > > > > > > > > > > > > > Permissions on the server are very fine > > > > > > > > > > The problem occurs ONLY with dovecot > > > > > > > > > > > > > > > On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > > > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > Hi > > > > > > > > > > > > > > I am trying to move my storage of email on a smb3 mounted > > > > > > > volume. > > > > > > > > > > > > > > I am getting the following error : > > > > > > > Error: pread(/net/.../storage/dovecot.map.index.log) > > > > > > > failed: > > > > > > > Permission > > > > > > > denied (euid=1004(mailusers) egid=12(mail) UNIX perms > > > > > > > appear ok > > > > > > > (ACL/MAC wrong?)) > > > > > > > > > > > > > > How to resolve that ? > > > > > > > > > > > > > > Thank you > > > > > > > > > > > > > This seems to be some kind of smb3 ACL problem, check > > > > > > permissions > > > > > > on > > > > > > the server? > > > > > > > > > > > > Aki > > > > > ___ > > > > > dovecot mailing list -- dovecot@dovecot.org > > > > > To unsubscribe send an email to dovecot-le...@dovecot.org > > > > ___ > > > > dovecot mailing list -- dovecot@dovecot.org > > > > To unsubscribe send an email to dovecot-le...@dovecot.org > > > ___ > > > dovecot mailing list -- dovecot@dovecot.org > > > To unsubscribe send an email to dovecot-le...@dovecot.org > > ___ > > dovecot mailing list -- dovecot@dovecot.org > > To unsubscribe send an email to dovecot-le...@dovecot.org > ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
archlinux x64 no selinux activated On Sat, 2024-07-06 at 13:53 +0200, John Fawcett via dovecot wrote: > Hi Joan > > not sure what OS you're using, so just a guess: but maybe this is > selinux related or something similar. When it's the OS providing the > error code to dovecot, it's very unlikely to be anything in dovecot > itself. > > On 06/07/2024 12:51, Joan Moreau via dovecot wrote: > > No error on the error side > > > > the error occurs only with dovecot. all other soft do nto complains > > about the smb3 protocol > > > > I get also > > Jul 6 10:49:45 gjserver dovecot[4220]: > > lmtp(ad...@grosjo.net)<4355>: Error: > > rename(/net/mails/grosjo.net/admin/storage/dovecot.map.index.tmp, > > /net/mails/grosjo.net/admin/storage/dovecot.map.index) failed: > > Permission denied > > > > > > > > On Tue, 2024-07-02 at 08:00 +0300, Aki Tuomi via dovecot wrote: > > > Ok. But the error is coming from kernel, so not much Dovecot can > > > do > > > about it. Maybe try turning on some debugging in your server to > > > see > > > what is going on? > > > > > > Aki > > > > > > > On 02/07/2024 07:54 EEST Joan Moreau via dovecot > > > > wrote: > > > > > > > > > > > > Permissions on the server are very fine > > > > > > > > The problem occurs ONLY with dovecot > > > > > > > > > > > > On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > > > > > wrote: > > > > > > > > > > > > > > > > > > Hi > > > > > > > > > > > > I am trying to move my storage of email on a smb3 mounted > > > > > > volume. > > > > > > > > > > > > I am getting the following error : > > > > > > Error: pread(/net/.../storage/dovecot.map.index.log) > > > > > > failed: > > > > > > Permission > > > > > > denied (euid=1004(mailusers) egid=12(mail) UNIX perms > > > > > > appear ok > > > > > > (ACL/MAC wrong?)) > > > > > > > > > > > > How to resolve that ? > > > > > > > > > > > > Thank you > > > > > > > > > > > This seems to be some kind of smb3 ACL problem, check > > > > > permissions > > > > > on > > > > > the server? > > > > > > > > > > Aki > > > > ___ > > > > dovecot mailing list -- dovecot@dovecot.org > > > > To unsubscribe send an email to dovecot-le...@dovecot.org > > > ___ > > > dovecot mailing list -- dovecot@dovecot.org > > > To unsubscribe send an email to dovecot-le...@dovecot.org > > ___ > > dovecot mailing list -- dovecot@dovecot.org > > To unsubscribe send an email to dovecot-le...@dovecot.org > ___ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
Hi Joan not sure what OS you're using, so just a guess: but maybe this is selinux related or something similar. When it's the OS providing the error code to dovecot, it's very unlikely to be anything in dovecot itself. On 06/07/2024 12:51, Joan Moreau via dovecot wrote: No error on the error side the error occurs only with dovecot. all other soft do nto complains about the smb3 protocol I get also Jul 6 10:49:45 gjserver dovecot[4220]: lmtp(ad...@grosjo.net)<4355>: Error: rename(/net/mails/grosjo.net/admin/storage/dovecot.map.index.tmp, /net/mails/grosjo.net/admin/storage/dovecot.map.index) failed: Permission denied On Tue, 2024-07-02 at 08:00 +0300, Aki Tuomi via dovecot wrote: Ok. But the error is coming from kernel, so not much Dovecot can do about it. Maybe try turning on some debugging in your server to see what is going on? Aki On 02/07/2024 07:54 EEST Joan Moreau via dovecot wrote: Permissions on the server are very fine The problem occurs ONLY with dovecot On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: On 02/07/2024 02:05 EEST Joan Moreau via dovecot wrote: Hi I am trying to move my storage of email on a smb3 mounted volume. I am getting the following error : Error: pread(/net/.../storage/dovecot.map.index.log) failed: Permission denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok (ACL/MAC wrong?)) How to resolve that ? Thank you This seems to be some kind of smb3 ACL problem, check permissions on the server? Aki ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
No error on the error side the error occurs only with dovecot. all other soft do nto complains about the smb3 protocol I get also Jul 6 10:49:45 gjserver dovecot[4220]: lmtp(ad...@grosjo.net)<4355>: Error: rename(/net/mails/grosjo.net/admin/storage/dovecot.map.index.tmp, /net/mails/grosjo.net/admin/storage/dovecot.map.index) failed: Permission denied On Tue, 2024-07-02 at 08:00 +0300, Aki Tuomi via dovecot wrote: > Ok. But the error is coming from kernel, so not much Dovecot can do > about it. Maybe try turning on some debugging in your server to see > what is going on? > > Aki > > > On 02/07/2024 07:54 EEST Joan Moreau via dovecot > > wrote: > > > > > > Permissions on the server are very fine > > > > The problem occurs ONLY with dovecot > > > > > > On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > > > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > > > wrote: > > > > > > > > > > > > Hi > > > > > > > > I am trying to move my storage of email on a smb3 mounted > > > > volume. > > > > > > > > I am getting the following error : > > > > Error: pread(/net/.../storage/dovecot.map.index.log) failed: > > > > Permission > > > > denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok > > > > (ACL/MAC wrong?)) > > > > > > > > How to resolve that ? > > > > > > > > Thank you > > > > > > > > > > This seems to be some kind of smb3 ACL problem, check permissions > > > on > > > the server? > > > > > > Aki > > > > ___ > > dovecot mailing list -- dovecot@dovecot.org > > To unsubscribe send an email to dovecot-le...@dovecot.org > ___ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
Ok. But the error is coming from kernel, so not much Dovecot can do about it. Maybe try turning on some debugging in your server to see what is going on? Aki > On 02/07/2024 07:54 EEST Joan Moreau via dovecot wrote: > > > Permissions on the server are very fine > > The problem occurs ONLY with dovecot > > > On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > > wrote: > > > > > > > > > Hi > > > > > > I am trying to move my storage of email on a smb3 mounted volume. > > > > > > I am getting the following error : > > > Error: pread(/net/.../storage/dovecot.map.index.log) failed: > > > Permission > > > denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok > > > (ACL/MAC wrong?)) > > > > > > How to resolve that ? > > > > > > Thank you > > > > > > > This seems to be some kind of smb3 ACL problem, check permissions on > > the server? > > > > Aki > > ___ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-le...@dovecot.org ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
Permissions on the server are very fine The problem occurs ONLY with dovecot On Tue, 2024-07-02 at 07:49 +0300, Aki Tuomi wrote: > > > On 02/07/2024 02:05 EEST Joan Moreau via dovecot > > wrote: > > > > > > Hi > > > > I am trying to move my storage of email on a smb3 mounted volume. > > > > I am getting the following error : > > Error: pread(/net/.../storage/dovecot.map.index.log) failed: > > Permission > > denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok > > (ACL/MAC wrong?)) > > > > How to resolve that ? > > > > Thank you > > > > This seems to be some kind of smb3 ACL problem, check permissions on > the server? > > Aki ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Re: Pread error over smb3
> On 02/07/2024 02:05 EEST Joan Moreau via dovecot wrote: > > > Hi > > I am trying to move my storage of email on a smb3 mounted volume. > > I am getting the following error : > Error: pread(/net/.../storage/dovecot.map.index.log) failed: Permission > denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok > (ACL/MAC wrong?)) > > How to resolve that ? > > Thank you > This seems to be some kind of smb3 ACL problem, check permissions on the server? Aki ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org
Pread error over smb3
Hi I am trying to move my storage of email on a smb3 mounted volume. I am getting the following error : Error: pread(/net/.../storage/dovecot.map.index.log) failed: Permission denied (euid=1004(mailusers) egid=12(mail) UNIX perms appear ok (ACL/MAC wrong?)) How to resolve that ? Thank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org