[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 有关postfix的问题



Hi, Huisi Wang

先声明一下, 我自己没有做过 quota 方面的设置, 所以说的仅仅是自己的推断,
没有实际测试过的.

On Wed, 6 Apr 2005 12:12:52 +0800
Huisi Wang <huisiwang@gmail.com> wrote:

> Hi,
> 
> 另外,在man 5 postconf里有默认50M设置是否可以认为是打过patch的?
> 因为看到有这样的设置:
> #add quota support
> message_size_limit = 4000000 //单个邮件的大小限制,这里是4000000字节
> virtual_mailbox_limit = 4000000 //默认的邮箱的大小。
> virtual_mailbox_limit_maps = mysql:/etc/postfix/quota.cf //每个用户的
> 邮箱大小 virtual_mailbox_limit_override = yes //是否允许覆盖默认的邮箱
> 大小。另外建立一个/etc/postfix/quota.cf
> user = postfix
> password = <password for user:postfix>
> dbname = postfix
> table = user
> select_field = quota
> where_field = username
> hosts = localhost
> 但这个前提是打过quota的patch。
> 因为在manpage里没有看到有virtual_mailbox_limit_maps这条目。
> 
> 谢谢!		

postconf 确实没有这个参数, 估计是打过 quota patch 的.
不知道最新的里面有没有.

另外如果使用其他的处理程序, 可能就跟 postfix 本身关系不大了, 
quota 的设置应该由实际的处理程序那边来做吧. 我感觉应该是这样的,

希望能有些帮助.

-- 
http://SuperMMX.org  自由世界 Free Software World

Persons attempting to find a motive in this narrative will be
prosecuted; persons attempting to find a moral in it will be banished;
persons attempting to find a plot in it will be shot.  By Order of the
Author -- Mark Twain, "Tom Sawyer"



Reply to: