Frittella Laurento wrote:
> Hi all,
> I'm trying to use vda and it seems to work but only when I define an
> *exception* quota into my /etc/postfix/vquotas file. I'd like to define
> a default quota. This is the behavior: If I define an entry into
> /etc/postfix/vquotas the maildirsize file contains the correct
> <quota-value>S row and quota works if there isn't any quota for the same
> mail account defined into the file the maildirsize contains 0S and no
> quota seems to be applied.
> I tried using the default virtual_mailbox_limit (it should be 50MB) and
> defining a values but nothing changed.
>
> #virtual_mailbox_limit = 314572800
> virtual_create_maildirsize = yes
> virtual_mailbox_extended = yes
> virtual_mailbox_limit_maps = hash:/etc/postfix/vquotas
> transport_maps = hash:/etc/postfix/transport
> virtual_mailbox_limit_override = yes
> virtual_mailbox_limit_inbox = yes
> virtual_overquota_bounce = yes
>
> Any ideas?
Hi, this was indeed a bug that I just fixed, you can get the new
revision of the VDA-NG (rev 2) patch for Postfix 2.4.3 from
http://overlays.gentoo.org/dev/chtekk/browser/vda/postfix-2.4.3-vda-ng-r2.patch.gz?format=raw
The problem was that the value of virtual_mailbox_limit (which defaults
to 50MB) was only used for Mailboxes, not for Maildirs too, but
according to the Postfix docs (since this is an original Postfix
configuration value, not one added by VDA-NG) it should set the default
for both. This was an oversight on my part, now the default limit works
for both Maildirs and Mailboxes, if nothing is set for that particular
address, which is exactly the correct behavior that one would expect by
reading the docs. :) The fix should work 100%, still if you can, tell us
if it worked to solve your problem, thanks!
Have a good week.
--
Best regards,
Luca Longinotti aka CHTEKK
LongiTEKK Networks Admin: chtekk@lo...
Gentoo Dev: chtekk@ge...
SysCP Dev: chtekk@sy...
TILUG Supporter: chtekk@ti...
|