Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
2,097 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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
Technology Partners: 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

705 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