免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 4544 | 回复: 38
打印 上一主题 下一主题

[Mail] qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-03 13:32 |只看该作者 |倒序浏览
qmailadmin+vpopmail设置虚域容量,指定用户数量,管理员可以指定的域容量内修改每用户的容量。

我指定/var/qmail/domain/ab.com/.limit?文件内的quota 200M,(好像是定义域容量的)defaultquota  20971520 (每用户缺省的容量)maxuser: 10 。

编译qmailadmin时加--enable modifyquota选项。但是修改quota这项好像不起作用。你可以任意修改它的大小,不受域容量的限制。其它像用户数量倒是可以起作用的。请教高手不知道能不能实现?

论坛徽章:
0
2 [报告]
发表于 2004-08-03 19:12 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

怎么没有回我?自己先顶一下。

论坛徽章:
0
3 [报告]
发表于 2004-08-03 19:24 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

奇怪,我的怎么没问题

论坛徽章:
0
4 [报告]
发表于 2004-08-04 12:50 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

我查过很多的网上资料,说法不一。好像说以postmaste登陆后可以任意修改容量,不受.qmail-limits?文件的限制????????????

论坛徽章:
0
5 [报告]
发表于 2004-08-06 12:53 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

各位大哥,我都等了三天啦!帮我想想办法吧。

可以是我以前没说清楚,大家可能没听懂。不好意思!

我现在的系统环境及软件:
redhat 3 enterprise server
apach2+mysql4+php5+qmail1.03+vpopmail5.44+qmailadmin1.22中文+igenus2.0

以上系统安装好后,不知道能否像其它商业邮件服务器一样配置以下功能:
基于虚拟域QUOTA,例如:配置虚拟域灰DOMAIN.COM,域配额100M,最大10个用户,每个域的postmaster可以修改用户的容量,但总的容量不能超过域配额。
我也查过很多的资料,好像说是可以实现,但我从来也没成功过。求版主及各位高手有空能过来看一下,帮帮我吧。

我曾经作过以下设置,没成功过,供大家参考:
在~vpopmal/domains/domain.com/建立一个.qmailadmin_limits文件设置最大用户帐号;缺省每用户邮箱容量;域容量;
maxpopaccounts 10
default quota 10485760
quota 100
编译qmailadmin时加入--enable-modifyquota选项。安装完成后,发现postmaster用户可以修改用户容量不受域配额的限制,不过maxpopaccount 和 default quota 倒是可以起作用。
请各位高手帮我想想办法

论坛徽章:
0
6 [报告]
发表于 2004-08-06 14:04 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

in vpopmail source directory:

./configure --enable-domainquotas --........................

不可以吗?
仅仅qmailadmin是不够的

论坛徽章:
0
7 [报告]
发表于 2004-08-06 14:10 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

这个不就在README.quota文件中吗,说的多详细。

* DOMAIN QUOTAS

    If you want to implement a quota for a whole domain, you have 2 options.  You can either put the domain under a unique system id and implement  system quotas, or (as of 5.3.1 you can use a non-system domain quota.  To  implement the rmer, just use 'vadddomain -u <system user>; <domain>;' and  set the system quota for that user.  To implement the latter, you must first  compile vpopmail with "--enable-domainquotas=y".  Then, you can add this to your .qmailadmin-limits file

        quota 50
        maxmsgcount 1000

    This would set a total domain quota of 50MB , and a maximum  message count of 1000 messages for the entire domain.  Modification of domain quotas should be done with the vmoddomlimits program.

    NOTE: Non-system domain quotas are only enforcable when vdelivermail is the local delivery agent.  If you pipe your mail into anything else, like maildrop, then the non-system domain quota will be ignored.  An alternative would be to install the domain under a unique system user (vadddomain -u) and set system quotas on that account.

论坛徽章:
0
8 [报告]
发表于 2004-08-06 14:41 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

终于有人回我了,谢谢。我去试试看

论坛徽章:
0
9 [报告]
发表于 2004-08-06 14:45 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

刚刚看了编译vpopmail时加了--enable-domainquota啊!怎么办?

以下是我编译的选项:
cd vpopmail-5.4.4
./configure  --enable-auth-module=mysql --disable-passwd --enable-clear-passwd --disable-many-domain --enable-auth-logging --enable-mysql-logging --enable-valias --disable-mysql-limits  --enable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql  --enable-passwd=n --enable-domainquotas=y  --enable-tcprules-prog=/usr/local/bin/tcprules  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-ip-alias-domains=n --enable-sqwebmail-pass=y   --enable-auth-module=mysql
# make
#make install

qmailadmin 1.22

# cd qmailadmin-1.2.2
  # ./configure --enable-cgibindir=/var/www/cgi-bin --enable-htmldir=/var/www/html  --enable-ezmlmdir=/var/qmail/bin/ezmlm  --enable-autoresponder-bin=/var/qmail/bin/autorespond  --enable-modify-quota=y  --enable-help --enable-domain-autofill
# make
# make install-strip

论坛徽章:
0
10 [报告]
发表于 2004-08-06 15:01 |只看该作者

qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!

用vmoddomlimits去改
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP