[Dovecot] Wish list item: %g/%{gid} variable
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@example.com or to john.doe@example.net.
"quota = dict:domain:%{gid}:proxy::quota" would then also work.
Regards, Pascal
The trapper recommends today: c01dcofe.1134217@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
participants (2)
-
Pascal Volk
-
Timo Sirainen