I think it would be very useful to have a user's GID in a variable. So i could use for example: mail_attachment_dir = /srv/mail/.SiS/%{gid} I use one GID per domain and the aliases fqhns of the domain. When for example example.com would be an alias for exmaple.net (gid: 12345), the attachments would be stored inside /srv/mail/.SiS/12345/, no matter if a message was sent to john.doe at example.com or to john.doe at example.net. "quota = dict:domain:%{gid}:proxy::quota" would then also work. Regards, Pascal -- The trapper recommends today: c01dcofe.1134217 at localdomain.org
On 8.12.2011, at 18.37, Pascal Volk wrote:> I think it would be very useful to have a user's GID in a variable. > > So i could use for example: mail_attachment_dir = /srv/mail/.SiS/%{gid}This was simple enough :) http://hg.dovecot.org/dovecot-2.1/rev/8a63f621bd2e http://hg.dovecot.org/dovecot-2.0/rev/af6d0858e64b
Maybe Matching Threads
- 2.1.rc1 (51d87deb5c26): %{gid} modification problem
- doveadm search: Error: Syncing mailbox foo failed: Mailbox doesn't exist: foo
- 2.1.rc3 (1a722c7676bb): doveadm mailbox list -> Segmentation fault
- v1.2.rc5 imap ignores configuration reloads
- Panic: file doveadm-print.c: line 102: unreached