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

Re: 有关postfix的问题



Hi,

在man 5 postconf里找到了,默认50M,但是我想控制每个用户的空间大小,怎么做?
现在用户都是虚拟用户,信息存储用mysql。
google到用maildrop来做,而我用的是courier-maildrop,是不是同样可以做到?
写一个/etc/courier/maildroprc,在里边有类似如下内容:

hostname localhost
port 3306
socket /var/lib/mysql/mysql.sock
database mail
dbuser mail
dbpw secret
dbtable USER
default_uidnumber 450
default_gidnumner 450
uid_field MAIL
uidnumber_field UID
gidnumber_field GID
maildir_field MAILDIR
homedirectory_field HOMEDIR
quota_field QUOTA
mailstatus_field STATUS
where_clause "" 

这里主要是那个quota字段,如果这样建立就可以了吗?

谢谢!

On Apr 2, 2005 5:57 PM, SuperMMX <supermmx@163.com> wrote:
> Hi, Huisi Wang
> 
> On Sat, 2 Apr 2005 12:14:32 +0800
> Huisi Wang <huisiwang@gmail.com> wrote:
> 
> > Hi,
> >
> > 在debian sarge中的postfix是否支持quota?
> > 如果想要在debian的postfix中加入quota功能是不是得在postfix的源码中加入
> > 有关quota的patch,重新编译才可以?
> 
> 应该是支持的,  virtual_mailbox_limit = 51200000 是缺省的参数,
> 不过真正用的时候, 跟你使用的后端有关系, 比如你使用 cyrus 作为存储的后端,
> 那么这时候就需要早 cyrus 里面来设置, 其他的估计和类似.
> 
> >
> > 谢谢!
> > --
> > Best regards,
> > Huisi
> >
> >
> 
> --
> http://SuperMMX.org  自由世界 Free Software World
> 
> Your boyfriend takes chocolate from strangers.
> 
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


-- 
Best regards,
Huisi



Reply to: