[Dovecot] mdbox with mail_attachment_dir per user in 2.2.12
Hello,
we have 2 netapp arrays with 2 volumes and we need to store our mail data in one or other volume for every user. We want keep data for one user in one volume only.
So we would like to have 2 separate mail_attachment_dir, one on every volume. But in latest version 2.2.12 it look like it is only possible to set one global mail_attachment_dir.
I have an idea with 2 separate dovecot instances per machine with different mail_attachment_dir. Or it is possible to somehow specify it per user ?
Thanks
[ Ohodnotte kvalitu mailu: http://nicereply.com/websupport/Stano/ ]
Pavel Stano | Troubleshooter
http://WebSupport.sk *** BERTE A VYCHUTNAVAJTE ***
Le 3 avr. 2014 à 15:12, Pavel Stano a écrit :
Hello,
we have 2 netapp arrays with 2 volumes and we need to store our mail data in one or other volume for every user. We want keep data for one user in one volume only.
So we would like to have 2 separate mail_attachment_dir, one on every volume. But in latest version 2.2.12 it look like it is only possible to set one global mail_attachment_dir.
I have an idea with 2 separate dovecot instances per machine with different mail_attachment_dir. Or it is possible to somehow specify it per user ?
Hello Pavel,
I don't know whether that setting may be customized or if must have a single constant value.
Anyway, have you tried to make use of variables for setting its value? Or, if more relevant in your case, by overriding it from your user database (see section "Overriding settings" at http://wiki2.dovecot.org/UserDatabase/ExtraFields).
Axel
Hello Alex,
overriding it from user database works perfectly.
Thanks
On Fri, 4 Apr 2014 11:22:37 +0200 Axel Luttgens axel.luttgens@skynet.be wrote:
Le 3 avr. 2014 à 15:12, Pavel Stano a écrit :
Hello,
we have 2 netapp arrays with 2 volumes and we need to store our mail data in one or other volume for every user. We want keep data for one user in one volume only.
So we would like to have 2 separate mail_attachment_dir, one on every volume. But in latest version 2.2.12 it look like it is only possible to set one global mail_attachment_dir.
I have an idea with 2 separate dovecot instances per machine with different mail_attachment_dir. Or it is possible to somehow specify it per user ?
Hello Pavel,
I don't know whether that setting may be customized or if must have a single constant value.
Anyway, have you tried to make use of variables for setting its value? Or, if more relevant in your case, by overriding it from your user database (see section "Overriding settings" at http://wiki2.dovecot.org/UserDatabase/ExtraFields).
Axel
-- [ Ohodnotte kvalitu mailu: http://nicereply.com/websupport/Stano/ ]
Pavel Stano | Troubleshooter
http://WebSupport.sk *** BERTE A VYCHUTNAVAJTE ***
participants (2)
-
Axel Luttgens
-
Pavel Stano