Re: maildir boxes directory mode upon creation

2017-08-24 Thread vadim

And. as I said, postfix create maildirs with right permissions.

Dovecot make wrong permissions. Deliver mail to mailboxes via Dovecot 
LMTP will probably cause this wrong permission problem too.


We have to support legacy installations at our customers' servers and 
need a certain permissions: 660, imap:mail.


How can I do it with Dovecot ?


On 24.08.2017 13:06, Thomas Leuxner wrote:

* vadim  2017.08.23 16:04:


I am unable to enforce dovecot to create mailboxes with 660 permissions.
Output of dovecot -n is in the attachment.

Please tell me what's the right way to control mailbox permissions ?

Hi Vadmin,

inject the mails per LMTP rather than having Postfix save them directly and let 
Dovecot worry about the permissions:

https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP

Regards
Thomas


--
С уважением,
Бажов Вадим,
Инженер отдела технической поддержки,
Компания «Айдеко»
--
Телефоны: +7 (495) 987-32-70; +7 (495) 662-87-34 (тех. поддержка); +7 (343) 
220-77-55; Факс: +7 (343) 220-77-85

Электронная почта:
Вопросы по приобретению: sa...@ideco.ru
Технические вопросы: supp...@ideco.ru

Сайт: http://ideco.ru
Форум: http://forum.ideco.ru


Re: maildir boxes directory mode upon creation

2017-08-24 Thread vadim
I can't do it right now. We have plugins and patches for postfix to 
check the mail before putting it in maildir.


Now I need just replace Courier mail with Dovecot.

Lately I'll remove self-written patches with sieve plugin for dovecot + 
LMTP.


But there is no possibility to make it right now, atomically.


On 24.08.2017 13:06, Thomas Leuxner wrote:

* vadim  2017.08.23 16:04:


I am unable to enforce dovecot to create mailboxes with 660 permissions.
Output of dovecot -n is in the attachment.

Please tell me what's the right way to control mailbox permissions ?

Hi Vadmin,

inject the mails per LMTP rather than having Postfix save them directly and let 
Dovecot worry about the permissions:

https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP

Regards
Thomas


--
С уважением,
Бажов Вадим,
Инженер отдела технической поддержки,
Компания «Айдеко»
--
Телефоны: +7 (495) 987-32-70; +7 (495) 662-87-34 (тех. поддержка); +7 (343) 
220-77-55; Факс: +7 (343) 220-77-85

Электронная почта:
Вопросы по приобретению: sa...@ideco.ru
Технические вопросы: supp...@ideco.ru

Сайт: http://ideco.ru
Форум: http://forum.ideco.ru


Re: maildir boxes directory mode upon creation

2017-08-24 Thread Thomas Leuxner
* vadim  2017.08.23 16:04:

> I am unable to enforce dovecot to create mailboxes with 660 permissions.
> Output of dovecot -n is in the attachment.
> 
> Please tell me what's the right way to control mailbox permissions ?

Hi Vadmin,

inject the mails per LMTP rather than having Postfix save them directly and let 
Dovecot worry about the permissions:

https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP

Regards
Thomas


signature.asc
Description: PGP signature