Displaying 2 results from an estimated 2 matches for "onamespac".
Did you mean:
namespac
2016 Aug 08
2
custom mail_location detection for dovecot lda
On 08/08/2016 05:34 PM, Stephan Bosch wrote:
> Op 8-8-2016 om 17:27 schreef Alexander 'Leo' Bergolth:
>> Is it possible to do something like "post-login scripting" to detect and
>> set a per-user custom mail location for dovecot LDA delivery?
>>
> You could use /usr/lib/dovecot/dovecot-lda -omail_location=<location>
Thanks for the hint.
But it seems
2018 Jul 01
0
permissions of newly created mailboxes only with dovecot-lda and posix acls
...ne.
dovecot-lda is called from postfix like this:
----------
mailbox_command = /usr/local/sbin/postfix-lda.sh
----------
logger -p mail.info -t postfix-lda "H: $HOME, S: $SENDER, R: $RECIPIENT, U: $(umask), id: $(/bin/id); $@"
dovecot-lda -f "$SENDER" -a "$RECIPIENT" -onamespace/inbox/location=maildir:~/Maildir:LAYOUT=fs:FULLDIRNAME=__MAILBOX__
----------
If a mailbox is created with dovecot-lda (sieve), permissions look like that:
$ ls -ld Maildir Maildir/2018-q3 Maildir/2018-q3/__MAILBOX__
drwxrws---+ 49 leo leo 4096 Jul 1 09:53 Maildir
drwxrwx---+ 3 leo leo 2...