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,044 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 13

Author Comment

by:Xyptilon2
Comment Utility
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
Comment Utility
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
Comment Utility
Lead me in the right direction. Thanks.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

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…
There was an incident about the POP3 issue for the double read receipts and delivery receipts in Exchange 2013.  There was huge research been done and found solution for the duplicate mails. Especially when the user gets  duplicate mails.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now