Re: [Vda-users] Problem With VDA Maildrsize file Location
Brought to you by:
andernadal
From: Idan S. <id...@su...> - 2010-06-24 13:15:34
|
Nope Hav'n Noticed IT . I set It as INBOX and Set the MailBOX to the Root Dir /var/spool/mail/virtual/user@domain And Mail is being delivered to the right place , Meaning the change has worked. However , maildirsize is still created under INBOX . From the Patches' Source Code : + if (*var_virt_maildir_suffix == 0) { + sizefilename = concatenate(usr_attr.mailbox, "maildirsize", (char *) 0); + } + else { + sizefilename = concatenate(usr_attr.mailbox, var_virt_maildir_suffix, (char *) 0); + sizefilename = concatenate(sizefilename, "maildirsize", (char *) 0); + } So Unforunantly , Maildirsize is still being put under the Wrong Place.... I Can Change That ,Though I wouldn't like changing changes to an open source code. too risky... On Thu, 2010-06-24 at 14:04 +0200, Tomáš Macek wrote: > Hello, > have you noticed the option "virtual_maildir_suffix"? This will not help > you? > > Tomas > > > On Thu, 24 Jun 2010 12:43:42 +0200, Idan Shinberg <id...@su...> > wrote: > > > Hello > > > > I'm Using Postfix 2.6.5 wuth the proper VDA Patch + Dovecot 1.2 with > > Maildir++ Quota Configured. > > > > A common user Directory Layout is > > > > /var/spool/mail/virtual/user@domain > > /var/spool/mail/virtual/user@domain/INBOX > > /var/spool/mail/virtual/user@domain/Sent > > and So on... > > > > Of Course Dovcot is fully aware of maildirs' hierarchy And thus puts the > > Maildirsize file outside of the INBOX , meaning > > under /var/spool/mail/virtual/user@domain > > > > Postfix However , being Only Able To Deliver to One directory ( as he is > > only aware of low level dirs cur , new and tmp) Is Configured to > > deliver using virtual transport > > to /var/spool/mail/virtual/user@domain/INBOX ( defined in > > virtual_mailbox_maps ). > > > > The Problem is , that Through Using The VDA Patch with > > virtual_maildir_extended = yes Creates The Maildirsize file inside what > > is defined in virtual_mailbox_maps ( meaning > > inside /var/spool/mail/virtual/user@domain/INBOX ) > > > > The Results - 2 Separate maildirsize files , One Under The Account's > > root dir ( The Real One , Maintained by dovcot) , and the other , under > > the INBOX directory of the account only incremented by postfix. > > > > Since Postfix is not aware of anything going inside the maildirs , it > > only adds new messages size to the file , never decreasess them.. > > Of Course dovecot is not aware of that file , so he does'nt maintain it > > either > > > > The Final Result - Postfix Over Quota Per User ( due to the wrong > > overgrown numbers in postfix maildirsize file under INBOX ) when no real > > over quota has occurred. > > > > I've Switched virtual_maildir_extended = yes to virtual_maildir_extended > > = no for the meanwhile . > > > > Any Suggestions ? > > > > > > | Idan Shinberg > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Vda-users mailing list > Vda...@li... > https://lists.sourceforge.net/lists/listinfo/vda-users | Idan Shinberg | IT Manager | Superfish.com | id...@su... I discover products using Superfish visual search. |