[Dovecot] Wish list item: %g/%{gid} variable

Pascal Volk user+dovecot at localhost.localdomain.org
Thu Dec 8 18:37:23 EET 2011


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



More information about the dovecot mailing list