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,062 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Postfix issues with spam/auth attempts under NAT 9 83
Access_log 17 121
php ssh2_scp_send 1 61
AWS Central Authentication 1 57
What is Usenet? There are many different opinions on exactly what Usenet is an isn't. Many opinions are incorrect simply out of ignorance. The Wikipedia listing about Usenet does a good job of explaining it, so instead of repeating it all here I wi…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

776 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