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
On 02/07/2024 02:05 EEST Joan Moreau via dovecot <dovecot@dovecot.org> 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
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 <dovecot@dovecot.org> 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
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 <dovecot@dovecot.org> 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 <dovecot@dovecot.org> 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-leave@dovecot.org
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(admin@grosjo.net)<4355><RPxjCUkhiWYDEQAA0thIag>: 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 <dovecot@dovecot.org> 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 <dovecot@dovecot.org> 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-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
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(admin@grosjo.net)<4355><RPxjCUkhiWYDEQAA0thIag>: 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 <dovecot@dovecot.org> 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 <dovecot@dovecot.org> 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-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
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(admin@grosjo.net)<4355><RPxjCUkhiWYDEQAA0thIag>: 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 <dovecot@dovecot.org> 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 <dovecot@dovecot.org> 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-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
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(admin@grosjo.net)<4355><RPxjCUkhiWYDEQAA0thIag>: 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 <dovecot@dovecot.org> 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 > <dovecot@dovecot.org> 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-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
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 <dovecot@dovecot.org> 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 (admin@grosjo.net)<4355><RPxjCUkhiWYDEQAA0thIag>: 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 <dovecot@dovecot.org> 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 <dovecot@dovecot.org> 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- leave@dovecot.org _______________________________________________ dovecot mailing list - - dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org _______________________________________________ dovecot mailing list - - dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot- leave@dovecot.org _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (3)
-
Aki Tuomi
-
Joan Moreau
-
John Fawcett