Solved

Dovecot 1.1.4 + Qmail 1.03 / Vpopmail 5.4.25 and Maildir++ question (cannot get it to work)

Posted on 2008-10-19
6
2,076 Views
Last Modified: 2013-12-06
Hi all, i have a (Qmail 1.03 + Maildir++ patch) and Vpopmail 5.4.25 system on which i've recently installed Dovecot 1.1.4. Previously i've used qmail-popup as my pop daemon, but there are some issues with maildir++ support that caused me to switch to Dovecot.

I have Dovecot up and running, as in Authentication against the Vpopmail backend is working. I understand that Dovecot understands the maildir++ quota system as described on: http://wiki.dovecot.org/Quota, however i cannot seem to get a maildirsize file (if deleted) to be recreated.

The relevant part of the config file is:

protocol pop3 {
      ...
        mail_plugins = quota
}

plugin {
  quota = maildir
}

However that by itself doesn't seem to be enough. I'd like to use the quota as stored in the vpopmail database. I tried (in "auth default"):

        passdb vpopmail {
                args = quota_template=quota_rule=*:backend=%q
        }

however, that also doesn't seem to work. Any suggestions
0
Comment
Question by:Xyptilon2
  • 4
  • 2
6 Comments
 
LVL 6

Expert Comment

by:Syngin9
ID: 22760536
I've only done the Dovecot install a few times but John Simpson has quite a few notes on it working with Vpopmail here:

http://qmail.jms1.net/dovecot.shtml

He mentions on that page to use the following config:

mail_location = maildir:~/Maildir

namespace private {

separator = .  
prefix = INBOX.  
inbox = yes
}
0
 
LVL 13

Author Comment

by:Xyptilon2
ID: 22760756
Yes, i'm familiar with that page, i've installed it using his instructions. The authentication part against the vpopmail backend is working beautifully, but the quota support is not as it should work, preferably i want it to check the maildirsize file and if that doesn't exist, recreate it based on what's inside the vpopmail database.
0
 
LVL 6

Accepted Solution

by:
Syngin9 earned 500 total points
ID: 22760861
Might be worth while to post the question on his mailing list:

http://qmail.jms1.net/lists/

There are quite a few knowledgeable people on there.

Apart from that, not sure what to tell you.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Author Comment

by:Xyptilon2
ID: 22760906
Thanks for the suggestion. I did.. will let you know what i find and award points for helping out!
0
 
LVL 13

Author Comment

by:Xyptilon2
ID: 22830509
The trick was to configure it like this:

plugin {
  quota = maildir
  quota_rule = ?:storage=0
}

The ? means, use "maildirsize" file if present, otherwise storage is unlimited, this way our backend is leading. Vpopmail will recreate the file if it doesnt exist when delivering new mail and the pop or imap daemon just has to update the file.
0
 
LVL 13

Author Closing Comment

by:Xyptilon2
ID: 31507617
Lead me in the right direction. Thanks.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question