[qmailtoaster] Re: quota warning message

2009-11-27 Thread Eric Shubert

Peter Peltonen wrote:

Hi,

On Mon, Nov 23, 2009 at 9:51 PM, Eric Shubert e...@shubes.net wrote:

I didn't know you can disable quotas at the domain level (learn something
new every day). I'd give it a shot. Oh, and please let us know how you do
that, and how it works.


Well if you don't know about it, then I've might misunderstood something :)

But at least in QControl when editing an domain I have the option:

Domain Quota in megabytes (0 for no quota):

I checked now the command line tools and it appears that the domain
quota can be set also with /home/vpopmail/bin/vmoddomlimits which has
the following options:

 -Q quota-in-megabytes ( set domain disk quota, '100' = 100 MB )
 -q quota-in-bytes ( set default user quota, '10M' = 10 MB )

Never used these though. Does anyone here have experience on setting
the domain disk quota limit and how it reflects on user quotas?

Best,
Peter

-


FWIW, this was just posted on the vpopmail list by Paval Yanchenko:

quote
1)
To use maildirsize files you have to configure vpopmail without
--enable-domainquotas option.
Then each user with defined quota will have file called maildirsize in 
his maildir.

E.g. /home/vpopmail/domains/example.com/username/Maildir/maildirsize
This file contains information about disk space usage and is updated 
every time user deletes messages via pop3/imap or new message arrives.

You can read more about this method here:
http://www.inter7.com/courierimap/README.maildirquota.html
/quote

QMT doesn't appear to configure domainquotas specifically, so it should 
be using whatever the default setting is. I'll let someone else check 
what that value is.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: quota warning message

2009-11-23 Thread Peter Peltonen
Hi,

On Sun, Nov 22, 2009 at 7:09 PM, Michael Colvin mcol...@norcalisp.com wrote:
 I would add to Eric's comments that I don't think simply disabling the Quota
 Warning Message is going to work, or that it's even a good idea.  Sure, your
 user's won't get the message, but will quotas still be enforced?  If so,
 your users will, without warning, start having mail bounced...

 I would either disable quotas, or jack them up stupidly high, then disable
 the messages...  Although, I'm guessing just disabling them would be the
 best bet for now.

Is it enough if I diasble the quotas at domain level? That overrides
the settings that has been disabled for individual users, right?

Best,
Peter

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Re: quota warning message

2009-11-23 Thread Michael Colvin

 Peter Peltonen wrote:
  Hi,
 
  On Mon, Nov 23, 2009 at 9:51 PM, Eric Shubert e...@shubes.net wrote:
  I didn't know you can disable quotas at the domain level (learn
 something
  new every day). I'd give it a shot. Oh, and please let us know how you
 do
  that, and how it works.
 
  Well if you don't know about it, then I've might misunderstood something
 :)
 
  But at least in QControl when editing an domain I have the option:
 
  Domain Quota in megabytes (0 for no quota):
 
  I checked now the command line tools and it appears that the domain
  quota can be set also with /home/vpopmail/bin/vmoddomlimits which has
  the following options:
 
   -Q quota-in-megabytes ( set domain disk quota, '100' = 100 MB )
   -q quota-in-bytes ( set default user quota, '10M' = 10 MB )
 
  Never used these though. Does anyone here have experience on setting
  the domain disk quota limit and how it reflects on user quotas?
 
  Best,
  Peter
 

I've never used them, personally, but it would seem logical that domain wide
quota's would override global settings, and users would override
domain...But, that's just a guess. 

Mike


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: quota warning message

2009-11-23 Thread Jake Vickers

Michael Colvin wrote:

Peter Peltonen wrote:


Hi,

On Mon, Nov 23, 2009 at 9:51 PM, Eric Shubert e...@shubes.net wrote:
  

I didn't know you can disable quotas at the domain level (learn


something


new every day). I'd give it a shot. Oh, and please let us know how you


do


that, and how it works.


Well if you don't know about it, then I've might misunderstood something
  

:)


But at least in QControl when editing an domain I have the option:

Domain Quota in megabytes (0 for no quota):

I checked now the command line tools and it appears that the domain
quota can be set also with /home/vpopmail/bin/vmoddomlimits which has
the following options:

 -Q quota-in-megabytes ( set domain disk quota, '100' = 100 MB )
 -q quota-in-bytes ( set default user quota, '10M' = 10 MB )

Never used these though. Does anyone here have experience on setting
the domain disk quota limit and how it reflects on user quotas?

Best,
Peter

  


I've never used them, personally, but it would seem logical that domain wide
quota's would override global settings, and users would override
domain...But, that's just a guess. 


Mike
  


Quotas in Qmailtoaster (vpopmail really) have, well, mixed results. It 
seems they either work for you or they do not. I personally have never 
had an issue with them on any of my systems, but I will also admit that 
I have not thoroughly tested them either. Drives are *so* cheap these 
days that I just don't worry about quotas for users and either set no 
quota or something ridiculously high. A 1TB drive can be found for 
~$90USD these days (I know - I have two) and at that price why not let 
the users have their email boxes back?
Anyway, I put those options in QControl since vpopmail supported them. I 
have not thoroughly tested any of the extended options for vpopmail in 
general, so any feedback is appreciated and can be added to the wiki for 
future users if nothing else.

Thanks.



Re: [qmailtoaster] Re: quota warning message

2009-11-22 Thread Igor Smitran

Eric Shubert wrote:

Jake Vickers wrote:

Peter Peltonen wrote:

Today a user of my qmailtoaster server received a quota warning
message like this:

From: Mail Delivery System mailer-dae...@example.com
Subject: Mail quota warning
X-Comment: Rename/Copy this file to ~vpopmail/domains/.quotawarn.msg,
andmake appropriate changes
Your mailbox on the server is now more than 90% full. So that you 
can continue

to receive mail you need to remove some messages from your mailbox.

I haven't seen this kind of quota warnings issued before. Also a
strange thing is that the user's quota is nowhere near full (it's
about 11%).

I checke and the quota warning message template is
~vpopmail/domains/.quotawarn.msg there.

If I remove it, will it disable these false alarms?

Or is there a way to configure the warning messages so, that they
actually are sent when user is near exceeding her quota?

Best,
Peter
  


Removing the file will cause no messages to be sent, regardless of 
quota level.
Just out of curiosity, can you see what the user's actual disk usage 
is? I know there have been some bugs with quotas in the past and am 
wondering if it's not counting actual drive usage in vpopmail, but 
only the inbox folders in Squirrelmail.
Hopefully the next release of vpopmail will resolve some of the bugs 
with quotas.




Bad news: quotas are broken on QMT. I'm not sure to what extent. Easy 
fix is to change their account to unlimited. :(


Good news: quotas work better in a more recent vpopmail release 
(5.4.28 I think) than what is in QMT. This is not a simple upgrade 
though, as I think there is a small database change somewhere between 
QMT's version (5.4.17) and 5.4.28.


Better news: quotas have reportedly been really fixed in vpopmail 5.5. 
I will be working on packaging vpopmail-5.5 for QMT when it's 
available (with LDAP), which I expect will be in the first quarter of 
'10.


I am not sure what are you talking about. Quota in latest QMT is broken? 
But, i have installed latest QMT on one of my servers and as far as i 
can see quota is ok. Quota warnings are sent and mails refused if user 
is overquota. latest vpopmail in qmt is 5.4.17.
Should i be warried? Currently i have few thousands of users on that 
server...
Also, squirrelmail is displaying correct quota usage, no matter where 
email was saved. Same goes for roundcube.


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: quota warning message

2009-11-22 Thread Peter Peltonen
Hi,

On Sun, Nov 22, 2009 at 1:14 AM, Eric Shubert e...@shubes.net wrote:
 Bad news: quotas are broken on QMT. I'm not sure to what extent. Easy fix is
 to change their account to unlimited. :(

 Good news: quotas work better in a more recent vpopmail release (5.4.28 I
 think) than what is in QMT. This is not a simple upgrade though, as I think
 there is a small database change somewhere between QMT's version (5.4.17)
 and 5.4.28.

 Better news: quotas have reportedly been really fixed in vpopmail 5.5. I
 will be working on packaging vpopmail-5.5 for QMT when it's available (with
 LDAP), which I expect will be in the first quarter of '10.

Thanks for clarifying this. I now disabled the quota warning messages:

# mv /home/vpopmail/domains/.quotawarn.msg
/home/vpopmail/domains/.quotawarn.msg-notinuse

Is it really that badly broken, that I really should disable quotas
for every user or is disabling the warning message enough?

Best,
Peter

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: quota warning message

2009-11-22 Thread Eric Shubert

Igor Smitran wrote:

Eric Shubert wrote:

Jake Vickers wrote:

Peter Peltonen wrote:

Today a user of my qmailtoaster server received a quota warning
message like this:

From: Mail Delivery System mailer-dae...@example.com
Subject: Mail quota warning
X-Comment: Rename/Copy this file to ~vpopmail/domains/.quotawarn.msg,
andmake appropriate changes
Your mailbox on the server is now more than 90% full. So that you 
can continue

to receive mail you need to remove some messages from your mailbox.

I haven't seen this kind of quota warnings issued before. Also a
strange thing is that the user's quota is nowhere near full (it's
about 11%).

I checke and the quota warning message template is
~vpopmail/domains/.quotawarn.msg there.

If I remove it, will it disable these false alarms?

Or is there a way to configure the warning messages so, that they
actually are sent when user is near exceeding her quota?

Best,
Peter
  


Removing the file will cause no messages to be sent, regardless of 
quota level.
Just out of curiosity, can you see what the user's actual disk usage 
is? I know there have been some bugs with quotas in the past and am 
wondering if it's not counting actual drive usage in vpopmail, but 
only the inbox folders in Squirrelmail.
Hopefully the next release of vpopmail will resolve some of the bugs 
with quotas.




Bad news: quotas are broken on QMT. I'm not sure to what extent. Easy 
fix is to change their account to unlimited. :(


Good news: quotas work better in a more recent vpopmail release 
(5.4.28 I think) than what is in QMT. This is not a simple upgrade 
though, as I think there is a small database change somewhere between 
QMT's version (5.4.17) and 5.4.28.


Better news: quotas have reportedly been really fixed in vpopmail 5.5. 
I will be working on packaging vpopmail-5.5 for QMT when it's 
available (with LDAP), which I expect will be in the first quarter of 
'10.


I am not sure what are you talking about. Quota in latest QMT is broken? 
But, i have installed latest QMT on one of my servers and as far as i 
can see quota is ok. Quota warnings are sent and mails refused if user 
is overquota. latest vpopmail in qmt is 5.4.17.
Should i be warried? Currently i have few thousands of users on that 
server...
Also, squirrelmail is displaying correct quota usage, no matter where 
email was saved. Same goes for roundcube.




I don't know what causes the problem with quotas. You might try finding 
something about it in the vpopmail list archives. Please report back 
here if you find something pertinent.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Re: quota warning message

2009-11-22 Thread Michael Colvin
 Peter Peltonen wrote:
  Hi,
 
  On Sun, Nov 22, 2009 at 1:14 AM, Eric Shubert e...@shubes.net wrote:
  Bad news: quotas are broken on QMT. I'm not sure to what extent. Easy
 fix is
  to change their account to unlimited. :(
 
  Good news: quotas work better in a more recent vpopmail release (5.4.28
 I
  think) than what is in QMT. This is not a simple upgrade though, as I
 think
  there is a small database change somewhere between QMT's version
 (5.4.17)
  and 5.4.28.
 
  Better news: quotas have reportedly been really fixed in vpopmail 5.5.
 I
  will be working on packaging vpopmail-5.5 for QMT when it's available
 (with
  LDAP), which I expect will be in the first quarter of '10.
 
  Thanks for clarifying this. I now disabled the quota warning messages:
 
  # mv /home/vpopmail/domains/.quotawarn.msg
  /home/vpopmail/domains/.quotawarn.msg-notinuse
 
  Is it really that badly broken, that I really should disable quotas
  for every user or is disabling the warning message enough?
 
  Best,
  Peter
 
 
 I honestly don't know the extent to which quotas are broken. I suppose
 they might work under some circumstances, but I'm not aware of what
 those circumstances are.
 
 I also don't know what the best fix would be for all situations. For me,
 simply not using it is sufficient. If I really needed it, I think I'd
 check the vpopmail list archives to see what's known about the problem
 first. Then either attempt to upgrade to 5.4.28, or simply ride out the
 status quo and wait for 5.5 to become available.
 
 --
 -Eric 'shubes'
 

I would add to Eric's comments that I don't think simply disabling the Quota
Warning Message is going to work, or that it's even a good idea.  Sure, your
user's won't get the message, but will quotas still be enforced?  If so,
your users will, without warning, start having mail bounced...

I would either disable quotas, or jack them up stupidly high, then disable
the messages...  Although, I'm guessing just disabling them would be the
best bet for now.

Mike


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: quota warning message

2009-11-21 Thread Eric Shubert

Jake Vickers wrote:

Peter Peltonen wrote:

Today a user of my qmailtoaster server received a quota warning
message like this:

From: Mail Delivery System mailer-dae...@example.com
Subject: Mail quota warning
X-Comment: Rename/Copy this file to ~vpopmail/domains/.quotawarn.msg,
andmake appropriate changes
Your mailbox on the server is now more than 90% full. So that you can 
continue

to receive mail you need to remove some messages from your mailbox.

I haven't seen this kind of quota warnings issued before. Also a
strange thing is that the user's quota is nowhere near full (it's
about 11%).

I checke and the quota warning message template is
~vpopmail/domains/.quotawarn.msg there.

If I remove it, will it disable these false alarms?

Or is there a way to configure the warning messages so, that they
actually are sent when user is near exceeding her quota?

Best,
Peter
  


Removing the file will cause no messages to be sent, regardless of quota 
level.
Just out of curiosity, can you see what the user's actual disk usage is? 
I know there have been some bugs with quotas in the past and am 
wondering if it's not counting actual drive usage in vpopmail, but only 
the inbox folders in Squirrelmail.
Hopefully the next release of vpopmail will resolve some of the bugs 
with quotas.




Bad news: quotas are broken on QMT. I'm not sure to what extent. Easy 
fix is to change their account to unlimited. :(


Good news: quotas work better in a more recent vpopmail release (5.4.28 
I think) than what is in QMT. This is not a simple upgrade though, as I 
think there is a small database change somewhere between QMT's version 
(5.4.17) and 5.4.28.


Better news: quotas have reportedly been really fixed in vpopmail 5.5. I 
will be working on packaging vpopmail-5.5 for QMT when it's available 
(with LDAP), which I expect will be in the first quarter of '10.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com