<div dir="ltr"><div dir="ltr">Hi<br><br>I migrated my dovecot server from Maildir to mdbox with saving attachments to external files and enabled SIS a few days ago.<br><br>Everything works fine except one issue. I have both virtual and system users. Dovecot saves attachments with mode 0600. So I catch such errors for system users:<br>dovecot: lda(wasya): Error: fs-sis: Couldn't read hash file /var/mail/attachments/2e/dc/hashes/2edc6009bc9b6ba38febb581df03986dcaf134d9: Permission denied<br><br>I want to fix this issue by changing default file mode to 0660 via group policy. <br><br>I found such feature in the changelog (v2.1.rc2 2012-01-06):<br>lib-fs: Added "mode" parameter to "posix" backend to specify mode for created files/dirs.<br><br>Unfortunately I can't find any information about this feature in the dovecot documentation. <br><br>Can I use it to setup mode 0660 for attachments in the dovecot configuration? <br><br>uname -a<br>Linux <a href="http://diplo.trueconf.ru">diplo.trueconf.ru</a> 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux<br><br>dovecot --version<br>2.2.27 (c0f36b0)<br><br>10-mail.conf dovecot configuration:<br><br>mail_access_groups = vmail<br>mail_location = mdbox:~/mdbox<br>mdbox_preallocate_space = yes<br>mdbox_rotate_interval = 1 weeks<br>mdbox_rotate_size = 5 M<br><br>mail_attachment_dir = /var/mail/attachments<br>mail_attachment_min_size = 32k<br>mail_attachment_fs = sis posix<br>mail_attachment_hash = %{sha1}<br><br>Thank you<br></div></div>