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,081 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 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice on ESXi 5.1 Health / Storage 1 80
RPM creation 6 49
regular expression help for sed command 5 64
20 email accounts needing management 6 15
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

710 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