Re: Mailbox limit not observed

2011-03-22 Thread Vincent Lefevre
On 2011-03-16 08:22:10 +0200, Henrik K wrote: Postfwd ftw. http://postfwd.org/doc.html ctrl+f action==size Thanks. It also has other nice features, such as scoring. -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog:

Re: Mailbox limit not observed

2011-03-16 Thread Henrik K
On Tue, Mar 15, 2011 at 07:16:38PM -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/15/2011 9:09 AM: Exactly what are you asking here? Are you trying to limit what emails come into your system via the internet, or limiting how much data is written to user mail storage? I'd

Re: Mailbox limit not observed

2011-03-15 Thread Vincent Lefevre
On 2011-03-14 12:04:49 -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/14/2011 11:17 AM: On 2011-03-14 11:04:02 -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/14/2011 9:34 AM: But there's also mailbox_size_limit to track. Wouldn't it be better to set both

Re: Mailbox limit not observed

2011-03-15 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/15/2011 9:09 AM: Exactly what are you asking here? Are you trying to limit what emails come into your system via the internet, or limiting how much data is written to user mail storage? I'd like something like that: each IP is allowed to send me up to 50 MB

Re: Mailbox limit not observed

2011-03-14 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/13/2011 5:44 PM: On 2011-03-13 07:52:11 -0500, Stan Hoeppner wrote: If you use virtual_mailbox_limit with strictly maildir mailboxes, you may as well set message_size_limit=0 and leave it alone, so you only have one setting to keep track of. Is 0 accepted for

Re: Mailbox limit not observed

2011-03-14 Thread Vincent Lefevre
On 2011-03-14 08:22:53 -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/13/2011 5:44 PM: On 2011-03-13 07:52:11 -0500, Stan Hoeppner wrote: If you use virtual_mailbox_limit with strictly maildir mailboxes, you may as well set message_size_limit=0 and leave it alone, so you only

Re: Mailbox limit not observed

2011-03-14 Thread Charles Marcus
On 2011-03-14 10:34 AM, Vincent Lefevre wrote: But there's also mailbox_size_limit to track. Wouldn't it be better to set both mailbox_size_limit and virtual_mailbox_limit to much larger values (or zero) and modify message_size_limit only, so that one can focus to one parameter only? Imo,

Re: Mailbox limit not observed

2011-03-14 Thread Charles Marcus
On 2011-03-14 11:12 AM, Vincent Lefevre wrote: On 2011-03-14 10:41:16 -0400, Charles Marcus wrote: Imo, zero/unlimited is *never* a good idea... Why (for mailbox_size_limit and virtual_mailbox_limit)? Because... *unlimited* *anything* is never a good idea... too much room for error. I

Re: Mailbox limit not observed

2011-03-14 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/14/2011 9:34 AM: But there's also mailbox_size_limit to track. Wouldn't it be better to set both mailbox_size_limit and virtual_mailbox_limit to much larger values (or zero) and modify message_size_limit only, so that one can focus to one parameter only? I

Re: Mailbox limit not observed

2011-03-14 Thread Vincent Lefevre
On 2011-03-14 11:30:14 -0400, Charles Marcus wrote: On 2011-03-14 11:12 AM, Vincent Lefevre wrote: On 2011-03-14 10:41:16 -0400, Charles Marcus wrote: Imo, zero/unlimited is *never* a good idea... Why (for mailbox_size_limit and virtual_mailbox_limit)? Because... *unlimited* *anything*

Re: Mailbox limit not observed

2011-03-14 Thread Vincent Lefevre
On 2011-03-14 11:04:02 -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/14/2011 9:34 AM: But there's also mailbox_size_limit to track. Wouldn't it be better to set both mailbox_size_limit and virtual_mailbox_limit to much larger values (or zero) and modify message_size_limit

Re: Mailbox limit not observed

2011-03-14 Thread Charles Marcus
On 2011-03-14 12:11 PM, Vincent Lefevre wrote: On 2011-03-14 11:30:14 -0400, Charles Marcus wrote: On 2011-03-14 11:12 AM, Vincent Lefevre wrote: On 2011-03-14 10:41:16 -0400, Charles Marcus wrote: Imo, zero/unlimited is *never* a good idea... Why (for mailbox_size_limit and

Re: Mailbox limit not observed

2011-03-14 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/14/2011 11:17 AM: On 2011-03-14 11:04:02 -0500, Stan Hoeppner wrote: Vincent Lefevre put forth on 3/14/2011 9:34 AM: But there's also mailbox_size_limit to track. Wouldn't it be better to set both mailbox_size_limit and virtual_mailbox_limit to much larger

Re: Mailbox limit not observed

2011-03-13 Thread Vincent Lefevre
On 2011-03-12 10:58:41 -0600, Stan Hoeppner wrote: No, it's not a bug. As you know maildir storage format stores one email _per file_. virtual_mailbox_limit is a _per file_ size restriction. With maildir storage it will prevent individual emails (individual files) greater than (default:

Re: Mailbox limit not observed

2011-03-13 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/13/2011 4:24 AM: On 2011-03-12 10:58:41 -0600, Stan Hoeppner wrote: No, it's not a bug. As you know maildir storage format stores one email _per file_. virtual_mailbox_limit is a _per file_ size restriction. With maildir storage it will prevent individual

Re: Mailbox limit not observed

2011-03-13 Thread Vincent Lefevre
On 2011-03-13 07:52:11 -0500, Stan Hoeppner wrote: If you use virtual_mailbox_limit with strictly maildir mailboxes, you may as well set message_size_limit=0 and leave it alone, so you only have one setting to keep track of. Is 0 accepted for this option? http://www.postfix.org/postconf.5.html

Re: Mailbox limit not observed

2011-03-12 Thread Vincent Lefevre
This is a bit old, but... On 2011-02-17 07:47:29 -0600, Noel Jones wrote: On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override

Re: Mailbox limit not observed

2011-03-12 Thread Stan Hoeppner
Vincent Lefevre put forth on 3/12/2011 9:51 AM: The maximal size in bytes of an individual virtual(8) mailbox or maildir file, or zero (no limit). Is it a bug in the documentation? No, it's not a bug. As you know maildir storage format stores one email _per file_.

Re: Mailbox limit not observed

2011-03-12 Thread /dev/rob0
On Sat, Mar 12, 2011 at 04:51:22PM +0100, Vincent Lefevre wrote: This is a bit old, but... On 2011-02-17 07:47:29 -0600, Noel Jones wrote: On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like

Re: Mailbox limit not observed

2011-03-12 Thread Nikolaos Milas
On 12/3/2011 7:03 μμ, /dev/rob0 wrote: That ONE message, a maildir file, is subject to virtual_mailbox_limit. The maildir structure itself is not. As discussed earlier in this thread, in order to enforce maildir quotas the best solution is to use Dovecot with LDA or LMTP and define quotas

Re: Mailbox limit not observed

2011-03-12 Thread Erwan David
Le Sat 12/03/2011, Vincent Lefevre disait This is a bit old, but... On 2011-02-17 07:47:29 -0600, Noel Jones wrote: On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the

Re: Mailbox limit not observed

2011-02-18 Thread Ralf Hildebrandt
* Nikolaos Milas nmi...@noa.gr: Wietse, Would you have any plans to integrate in Postfix support for global AND per user mailbox quotas supporting both Maildir and MBOX? But why? dovecot (which has an LMTP server and a LDA) can do both. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung

Re: Mailbox limit not observed

2011-02-18 Thread Benny Pedersen
On Fri, 18 Feb 2011 09:23:23 +0200, Nikolaos Milas nmi...@noa.gr wrote: Would you have any plans to integrate in Postfix support for global AND per user mailbox quotas supporting both Maildir and MBOX? mailBOX is working in postfix core mailDIR needs vda patch vda have being working since

Re: Mailbox limit not observed

2011-02-18 Thread Reindl Harald
Am 18.02.2011 08:23, schrieb Nikolaos Milas: Would you have any plans to integrate in Postfix support for global AND per user mailbox quotas supporting both Maildir and MBOX? This is a frequently needed feature Quota on the MTA is totally useless since sent messages are coming from the

Re: Mailbox limit not observed

2011-02-18 Thread Nikolaos Milas
OK guys, I'll set up quotas in Dovecot and see how it goes. I've also just installed (compiled from source on CentOS 5.5) Postfix 2.8.0 with VDA (just published for 2.8.0), and I will experiment with all the available settings. Just a question: If quota is useless on the MTA, why there is

Re: Mailbox limit not observed

2011-02-18 Thread Wietse Venema
Nikolaos Milas: Wietse, Would you have any plans to integrate in Postfix support for global AND per user mailbox quotas supporting both Maildir and MBOX? This is a frequently needed feature, as I am sure you are aware. Of course, everything is always a matter of priorities and policies

Re: Mailbox limit not observed

2011-02-18 Thread Nikolaos Milas
I have a problem. I am trying to set: virtual_mailbox_limit = 4294967296 (that is 4GB) However, postfix doesn't accept it; I copy from the log: Feb 18 16:58:31 vmail postfix/virtual[18849]: fatal: bad numerical configuration: virtual_mailbox_limit = 4294967296 Feb 18 16:58:32 vmail

Re: Mailbox limit not observed

2011-02-18 Thread Wietse Venema
Nikolaos Milas: I have a problem. I am trying to set: virtual_mailbox_limit = 4294967296 Specify a limit of zero, or a limit under 2GB. Wietse

Re: Mailbox limit not observed

2011-02-17 Thread Wietse Venema
Nikolaos Milas: Hello, Although I'm using virtual_mailbox_limit (in main.cf), it seems it's not being observed. I set it to: 314572800 (300MB), but I see our users have sometimes larger mailboxes. There is no virtual_mailbox_limit in Postfix. It is a third-party patch. Wietse

Re: Mailbox limit not observed

2011-02-17 Thread Wietse Venema
Nikolaos Milas: Hello, Although I'm using virtual_mailbox_limit (in main.cf), it seems it's not being observed. I set it to: 314572800 (300MB), but I see our users have sometimes larger mailboxes. virtual_mailbox_limit (not the quota that I was confused with) limits the size that POSTFIX

Re: Mailbox limit not observed

2011-02-17 Thread Nikolaos Milas
Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override the directive? Or, what other, common tools could cause such an override? Our users are virtual, and don't have shell or

Re: Mailbox limit not observed

2011-02-17 Thread Daniel Bromberg
On 2/17/2011 8:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override the directive? Or, what other, common tools could cause such an override?

Re: Mailbox limit not observed

2011-02-17 Thread Wietse Venema
Nikolaos Milas: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override the directive? As documented, virtual_mailbox_limit is a mailBOX limit not a mailDIR limit.

Re: Mailbox limit not observed

2011-02-17 Thread Noel Jones
On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override the directive? The postfix limit is for mailBOX, not mailDIR. The postfix

Re: Mailbox limit not observed

2011-02-17 Thread Frank Bonnet
On 02/17/2011 02:47 PM, Noel Jones wrote: On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow override the directive? The postfix limit is

Re: Mailbox limit not observed

2011-02-17 Thread Reindl Harald
Am 17.02.2011 14:49, schrieb Frank Bonnet: If all users are virtuals how to enforce filesystem quota? postfix is simply the wrong instance quotas should do the imap/lmtp-server as example in dbmail you have in the users table a field for max mailbox size in bytes and the dbmail-lmtp rejects

Re: Mailbox limit not observed

2011-02-17 Thread Noel Jones
On 2/17/2011 7:49 AM, Frank Bonnet wrote: On 02/17/2011 02:47 PM, Noel Jones wrote: On 2/17/2011 7:32 AM, Nikolaos Milas wrote: Thanks Witsie, Could the use of an IMAP client program (workstation-based or web-based, like Squirrelmail) to access the incoming (new/ Maildir) mailbox, somehow

Re: Mailbox limit not observed

2011-02-17 Thread Nikolaos Milas
Wietse, Would you have any plans to integrate in Postfix support for global AND per user mailbox quotas supporting both Maildir and MBOX? This is a frequently needed feature, as I am sure you are aware. Of course, everything is always a matter of priorities and policies for the Postfix