Re: [Dovecot] Per user quotas

2012-10-17 Thread David Travers
. Thanks for your quick reply. Dave -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Jack Bates Sent: 17 October 2012 04:02 To: dovecot@dovecot.org Subject: Re: [Dovecot] Per user quotas On 10/16/2012 11:39 AM, David Travers wrote: Hi All

Re: [Dovecot] Per user quotas

2012-10-17 Thread Jack Bates
the numbering and have corrected. Thanks for your quick reply. Dave -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Jack Bates Sent: 17 October 2012 04:02 To: dovecot@dovecot.org Subject: Re: [Dovecot] Per user quotas On 10/16/2012 11:39 AM

Re: [Dovecot] Per user quotas

2012-10-17 Thread Timo Sirainen
for your quick reply. Dave -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Jack Bates Sent: 17 October 2012 04:02 To: dovecot@dovecot.org Subject: Re: [Dovecot] Per user quotas On 10/16/2012 11:39 AM, David Travers wrote

Re: [Dovecot] per-user quotas

2012-10-16 Thread David Mehler
Hello, Thanks for your replies so far. Still having issues with per-user quotas. To my Mysql virtual_users table I've added a column quota_kb and for a test user I've added in a value of 25 going for a 250 megabyte quota. I've tried various sql queries they're returning empty sets not

[Dovecot] Per user quotas

2012-10-16 Thread David Travers
Hi All, I keep going round in circles with this. I have quotas up and running but would like to add a couple of per user exceptions but can't figure out how to do it! I am using Open Xchange community edition on top of dovecot and tha tis showing the 200MB limit, if I change it in the

Re: [Dovecot] Per user quotas

2012-10-16 Thread Jack Bates
On 10/16/2012 11:39 AM, David Travers wrote: Hi All, I keep going round in circles with this. I have quotas up and running but would like to add a couple of per user exceptions but can't figure out how to do it! I am using Open Xchange community edition on top of dovecot and tha tis showing

[Dovecot] per-user quotas

2012-10-11 Thread David Mehler
Hello, I've got quotas set up on an all-user basis on my system, it's a Postfix, Dovecot, Mysql virtual users setup. Currently I have each user getting a 1GB quota with these settings in 90-quota.conf: plugin { quota_rule = *:storage=1G quota_rule2 = Trash:storage=+100M } plugin { quota =

Re: [Dovecot] per-user quotas

2012-10-11 Thread Tibby
Hello! What's the version of your dovecot? 1.2.X ? or 2.0 ? Tibby On Oct 11, 2012, at 10:40 PM, David Mehler wrote: Hello, I've got quotas set up on an all-user basis on my system, it's a Postfix, Dovecot, Mysql virtual users setup. Currently I have each user getting a 1GB quota with

Re: [Dovecot] per-user quotas

2012-10-11 Thread David Mehler
Hello, I'm running Dovecot 2.1.10. Thanks. Dave. On 10/11/12, Tibby ti...@tibby.hu wrote: Hello! What's the version of your dovecot? 1.2.X ? or 2.0 ? Tibby On Oct 11, 2012, at 10:40 PM, David Mehler wrote: Hello, I've got quotas set up on an all-user basis on my system, it's a

Re: [Dovecot] per-user quotas

2012-10-11 Thread Daniel Parthey
Hi Dave, David Mehler wrote: I've got quotas set up on an all-user basis on my system, it's a Postfix, Dovecot, Mysql virtual users setup. Currently I have each user getting a 1GB quota with these settings in 90-quota.conf: plugin { quota_rule = *:storage=1G quota_rule2 =

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Camron W. Fox
On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox command in /etc/postfix/main.cf: mailbox_command = /usr/libexec/dovecot/deliver -d ${recipient} This causes

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Timo Sirainen
On 27.10.2010, at 21.11, Camron W. Fox wrote: mailbox_command = /usr/libexec/dovecot/deliver -d ${recipient} This causes postfix to bounce the message with this error: Oct 27 09:06:57 rb8 postfix/local[1931]: A99494E0D25: to=loadt...@subaru.naoj.org, relay=local, delay=10,

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Jerry
On Wed, 27 Oct 2010 09:11:02 -1000 Camron W. Fox cw...@us.fujitsu.com articulated: On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox command in

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Camron W. Fox
On 10/10/27 09:56, Jerry wrote: On Wed, 27 Oct 2010 09:11:02 -1000 Camron W. Fox cw...@us.fujitsu.com articulated: On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-19 Thread Timo Sirainen
On Mon, 2010-10-18 at 13:09 -1000, Camron W. Fox wrote: Looking at the logs, it appears that it must already be using -d $user because of the username shown in the deliver lines in dovecot.log, right? No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Timo Sirainen
On Fri, 2010-10-15 at 09:29 -1000, Camron W. Fox wrote: Once again, dovecot-imap seems to read the info correctly, as the TBird plugin reads 20MB as the user quota, but deliver begins to reject mail at the 10MB default. Also, the quota warning messages are sent base on the default,

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Camron W. Fox
On 10/10/18 04:15, Timo Sirainen wrote: On Fri, 2010-10-15 at 09:29 -1000, Camron W. Fox wrote: Once again, dovecot-imap seems to read the info correctly, as the TBird plugin reads 20MB as the user quota, but deliver begins to reject mail at the 10MB default. Also, the quota warning

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Timo Sirainen
On 18.10.2010, at 20.42, Camron W. Fox wrote: You're not calling deliver with -d parameter? No. Did I miss that in the documentation? Where is that configured? This is what I have in postfix main.cf: mailbox_command = /usr/libexec/dovecot/deliver Often that's done with system users

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Camron W. Fox
On 10/10/18 11:28, Timo Sirainen wrote: On 18.10.2010, at 20.42, Camron W. Fox wrote: You're not calling deliver with -d parameter? No. Did I miss that in the documentation? Where is that configured? This is what I have in postfix main.cf: mailbox_command =

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-15 Thread Camron W. Fox
On 10/10/08 13:47, Aliet Santiesteban Sifontes wrote: Camron, if you look in the downloads link at dovecot site, you can can check: http://wiki2.dovecot.org/PrebuiltBinaries#RPMs_of_newer_Dovecot_and_Sieve_packages There you will find references to third party repositories wich build

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-10 Thread Timo Sirainen
On 7.10.2010, at 22.12, Camron W. Fox wrote: Dovecot-imap appear to recognize the quota from ldap, as the Thunderbird quota plugin reads the correct info from LDAP if the mailQuotaSize entry exists, and the default storage=10240 from doveconf.conf if there is no LDAP attr. ok, so

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Camron W. Fox
On 10/10/07 10:08, Charles Marcus wrote: On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Camron W. Fox
On 10/10/08 08:59, Charles Marcus wrote: On 2010-10-08 2:10 PM, Camron W. Fox wrote: I started poking @ 1.2 as you suggested, but I run into libcurl-devel dependency issues. Does anyone know where to get a libcurl-devel RPM for RHEL5? I'd think you could get everything you needed from the

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Aliet Santiesteban Sifontes
Camron, if you look in the downloads link at dovecot site, you can can check: http://wiki2.dovecot.org/PrebuiltBinaries#RPMs_of_newer_Dovecot_and_Sieve_packages There you will find references to third party repositories wich build latest dovecot rpm versions for rhel5.5. If you will use atrpms

[Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
Alle, We're running Dovecot V1.0.7 on RHEL5.5, using maildir. We would like to user per user quotas with an OpenLDAP (V2.3.43) backend. We have setup a default quota in /etc/dovecot.conf: quota = maildir:storage=10240:ignore=Trash And have the following userdb configs in

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Charles Marcus
On 2010-10-07 3:12 PM, Camron W. Fox wrote: We're running Dovecot V1.0.7 on RHEL5.5, Very old, you will not get much support unless/until you upgrade... 1.2.15 is recommended for most, although 2.0.5 is current stable... Lots of changes with respect to quotas (and everything else)... -- Best

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
On 10/10/07 09:17, Charles Marcus wrote: On 2010-10-07 3:12 PM, Camron W. Fox wrote: We're running Dovecot V1.0.7 on RHEL5.5, Very old, you will not get much support unless/until you upgrade... 1.2.15 is recommended for most, although 2.0.5 is current stable... Lots of changes with

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread William Blunn
On 07/10/2010 20:38, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues And if you don't upgrade, you don't get any support from the guy who wrote Dovecot and therefore knows it inside-out :-) I tend to suggest the practice of: Keep your server on

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Charles Marcus
On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right here from the developer himself... But of

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
On 10/10/07 10:08, Charles Marcus wrote: On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right

[Dovecot] Per-user quotas aren't working

2010-07-02 Thread Guillaume CHARREYRON
Hello I tried to get per-user quotas working. The global quota is working well, but I can't get the one work on my test user: dovecot -n # 1.1.20: /etc/dovecot.conf # OS: Linux 2.6.18-164.el5 i686 Red Hat Enterprise Linux Server release 5.4 (Tikanga) log_path: /var/log/dovecot.log

Re: [Dovecot] Per-user quotas aren't working

2010-07-02 Thread Timo Sirainen
On Fri, 2010-07-02 at 12:18 +, Guillaume CHARREYRON wrote: dovecot: Jul 02 12:55:32 Info: auth(default): master out: USER 1 test-oper uid=501 gid=501 home=/home/test-operquota_rule=*:bytes=20M Looks ok. The user should have 20 MB quota. dovecot: Jul 02 12:55:32 Info:

Re: [Dovecot] Per-user quotas aren't working

2010-07-02 Thread Guillaume CHARREYRON
2.7.10, Timo Sirainen t...@iki.fi a écrit : De: Timo Sirainen t...@iki.fi Objet: Re: [Dovecot] Per-user quotas aren't working À: Guillaume CHARREYRON gcharrey...@yahoo.fr Cc: dovecot@dovecot.org Date: Vendredi 2 juillet 2010, 14h28 On Fri, 2010-07-02 at 12:18 +, Guillaume CHARREYRON

Re: [Dovecot] Per-user quotas aren't working

2010-07-02 Thread Timo Sirainen
On Fri, 2010-07-02 at 12:58 +, Guillaume CHARREYRON wrote: Well, I just put it in Postfix, like it is said in Dovecot Wiki: mailbox_command = /usr/libexec/dovecot/deliver because I do use system users for postfix too, I have no virtual users. deliver -d in postfix is only for virtual

Re: [Dovecot] Per User Quotas

2009-10-16 Thread thedoghousemailcom
Hi Peter, please insert 1024M in the description field in active directory. Greetings And of course, I put in a users description field in Active Directory *:bytes=%1024 When I log in as that user, and check the quota, I'm still seeing 512 MB Very strange.

Re: [Dovecot] Per User Quotas

2009-10-16 Thread Peter Fraser
Well I did all that and when I look at the properties for the inbox in thunderbird under quotas, It still shows 512MB for that user. These are the logs below: dovecot: Oct 16 09:54:44 Info: dovecot v1.1.16 starting up dovecot: Oct 16 09:54:46 Info: auth(default): new auth connection: pid=32854

Re: [Dovecot] Per User Quotas

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 14:55 -0500, Peter Fraser wrote: dovecot: Oct 16 10:09:27 Error: auth(default): LDAP: Connection lost to LDAP server, reconnecting .. dovecot: Oct 16 10:51:30 Info: auth(default): ldap(peter.fraser,192.168.1.112): Aborting (timeout), we're not connected to LDAP server

Re: [Dovecot] Per User Quotas

2009-10-16 Thread Peter Fraser
Yes, the servers are up servicing clients and my production mail server with dovecot even uses it to authenticate users for email. They are all up and running. On Fri, Oct 16, 2009 at 3:02 PM, Timo Sirainen t...@iki.fi wrote: On Fri, 2009-10-16 at 14:55 -0500, Peter Fraser wrote: dovecot: Oct

Re: [Dovecot] Per User Quotas

2009-10-16 Thread Timo Sirainen
Do the args point to same file now in passdb ldap and userdb ldap? On Fri, 2009-10-16 at 15:17 -0500, Peter Fraser wrote: Yes, the servers are up servicing clients and my production mail server with dovecot even uses it to authenticate users for email. They are all up and running. On Fri,

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Timo Sirainen
On Wed, 2009-10-14 at 21:18 -0500, Peter Fraser wrote: userdb: driver: static args: uid=1002 gid=1002 home=/home/vmail/%u allow_all_users=yes This catches all userdb lookups. userdb: driver: passwd args: blocking=yes This is never used. You probably want to comment it

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Peter Fraser
Ok I see, so can I get per-user quotas going and still use userdb static? or do I have to change to userdb ldap? On Thu, Oct 15, 2009 at 11:30 AM, Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-14 at 21:18 -0500, Peter Fraser wrote:   userdb:     driver: static     args: uid=1002 gid=1002

Re: [Dovecot] Per User Quotas

2009-10-15 Thread thedoghousemailcom
Hi Peter + Timo, I think the solution is the right order in dovecot.conf: userdb ldap should stand in front of userdb static. Greetings Timo Sirainen schrieb: On Wed, 2009-10-14 at 21:18 -0500, Peter Fraser wrote: userdb: driver: static args: uid=1002 gid=1002

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 12:31 -0500, Peter Fraser wrote: Ok I see, so can I get per-user quotas going and still use userdb static? No. That means all users have the same static configuration. or do I have to change to userdb ldap? Yes. signature.asc Description: This is a digitally signed

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 19:36 +0200, thedoghousemailcom wrote: Hi Peter + Timo, I think the solution is the right order in dovecot.conf: userdb ldap should stand in front of userdb static. Well, if that's done then userdb static is used only when user isn't found from ldap. And I guess that

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Peter Fraser
OK this is what I now have. In dovecot.conf I put: userdb ldap { args = /usr/local/etc/dovecot-ldap.conf } In dovecot-ldap.conf: hosts = 192.168.1.97 base = dc=atlas,dc=local auth_bind = yes scope = subtree auth_bind_userdn = atlas\%u user_filter = ((objectClass=mailUser)(mail=%u))

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 14:11 -0500, Peter Fraser wrote: user_attrs = streetAddress=quota_rule=*:storage=%$M ,=uid=uid,=gid=gid,=home=/home/vmail/%u The =uid=uid part looks wrong. Should be more like =uid=1000, =gid=1000. Anyway.. Post again dovecot -n output and also logs with auth_debug=yes

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Peter Fraser
Here they are mail# dovecot -n # 1.1.16: /usr/local/etc/dovecot.conf # OS: FreeBSD 7.2-RELEASE-p1 i386 protocols: imaps pop3s imap ssl_cert_file: /usr/local/etc/dovecot/ssl/certs/dovecot.pem ssl_key_file: /usr/local/etc/dovecot/ssl/private/dovecot.pem ssl_cipher_list:

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Peter Fraser
Ok thanks I tried your config. Just edited to my my setup. This is what I now have dovecot.conf --- passdb ldap { args = /usr/local/etc/dovecot-ldap.conf } userdb ldap { args =

Re: [Dovecot] Per User Quotas

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 16:15 -0500, Peter Fraser wrote: When I log in as that user, and check the quota, I'm still seeing 512 MB Very strange. auth_debug=yes, mail_debug=yes makes Dovecot log exactly what it's doing. No point in guessing what the problem is. signature.asc Description: This

[Dovecot] Per User Quotas

2009-10-14 Thread Peter Fraser
Hi All I have not been able to get per user quotas going. A general quota works fine. My LDAP server is windows 2000. Here is my config mail# dovecot -n # 1.1.3: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot.log protocols: imaps pop3s lda managesieve listen(default): * listen(imap): *

[Dovecot] Per User Quotas

2008-11-06 Thread Peter Fraser
HI All Asking for a little patience and a bit of help here. I'm using dovecot-1.1.3_1 with postfix and squirrelmail. I have implemented a global quota successfully. That works fine. I want to now implement per user quotas. So far I have read the howto in the documentation and searched several

Re: [Dovecot] Per User Quotas

2008-11-06 Thread Peter Fraser
OK thanks for replying, I am attaching both files with the information. On Thu, Nov 6, 2008 at 9:09 AM, Timo Sirainen [EMAIL PROTECTED] wrote: On Thu, 2008-11-06 at 09:02 -0500, Peter Fraser wrote: HI All Asking for a little patience and a bit of help here. I'm using dovecot-1.1.3_1 with