Dovecot + Pieonhole + Quotas

jca

Verified User
Joined
Oct 31, 2006
Messages
283
Location
Allen, TX
Dovecot + Pigeonhole + Quotas

Hello,

I just tried to enable Pieonhole on my installation and ran into a couple of issues.

After fixing my dovecot.conf for correct patching my CustomBuild, I noticed that Quotas is no longer working.

I tried to follow this guide with no results: http://www.directadmin.com/features.php?id=1461

Then, after using Google found this guide: https://www.plugins-da.net/info/exim-quotas-and-pigeonhole courtesy of zEitEr, yet it is not working for me.

Is there any updated guide on how to enable Quotas with Pigeonhole?

Thanks!

Jose
 
Last edited:
Hello,

Why do you think it's not working? Is that you don't see email box size in Roundcube? Or other?
 
1. make sure to have the section:

Code:
protocol imap {
  mail_plugins = quota imap_quota
}

in /etc/devocot/dovecot.conf and restart dovecot.


2. re-install roundcube (remove or rename):

Code:
mv /var/www/html/roundcubemail-1.0.3 /var/www/html/roundcubemail-1.0.3~moved
cd /usr/local/directadmin/custombuild
./build update
./build roundcube

That should help, at least this helped me, just tested now.

p.s. and of course make sure password files were updated according this: http://www.directadmin.com/features.php?id=1461


Please fix it in custombuild script, so step 1 would be done automatically.
 
Alex,

I did add step one and recompiled Roundcube, afterwards I would get errors on some email clients. (for example AquaMail for Android)

I also had to load the default dovecot.conf from Directadmin: http://files.directadmin.com/services/custombuild/dovecot.conf.2.0 as my previous changes to enable Quota broke the .patch file on Hatch 3.

After further checking logs, I noticed also Exim failed while Pigeonhole was enabled. After disabling it, the queue was processed and all email was delivered. The error messages for all inbound email were like this:

Code:
2014-10-13 19:02:48 H=col004-omc1s16.hotmail.com [65.55.34.26] X=TLSv1.2:AES256-SHA256:256 F=<[email protected]> temporarily rejected RCPT <[email protected]>: transport "dovecot_lmtp_udp" not found in virtual_user router
2014-10-13 19:02:48 H=col004-omc1s16.hotmail.com [65.55.34.26] incomplete transaction (RSET) from <[email protected]>

I'm sure both issues are related.
 
The guide you refer to (from my site) is 1 year old already and it has not been reviewed since that time.

For now all what you should do is the following:

1. have default /etc/exim.conf and /etc/dovecot/dovecot.conf from custombuild 2.

renaming files (to get defaults later):

Code:
mv /etc/dovecot/dovecot.conf /etc/dovecot/dovecot.conf~moved
mv /etc/exim.conf /etc/exim.conf~moved

re-install exim/dovecot with pigeonhole support

Code:
./build update
./build set exim yes
./build set dovecot yes
./build set pigeonhole yes
./build exim
./build dovecot

2. add a section:

Code:
protocol imap {
  mail_plugins = quota imap_quota
}
in /etc/devocot/dovecot.conf and restart dovecot.


3. re-install roundcube (remove or rename):

Code:
export file=`ls -1d /var/www/html/roundcubemail-*`; mv $file $file~moved
cd /usr/local/directadmin/custombuild
./build update
./build roundcube


4. Follow this http://www.directadmin.com/features.php?id=1461

That's all about using CustomBuild 2.x.
 
Last edited:
Back
Top