ExtMail服务器社区's Archiver

lixvfei 发表于 2009-4-25 23:26

EMOS1.3升级后的一系列问题

[size=5][/size]前段用的是EMOS1.3的版本,今天升级了extmail和extman,extmail有原来的1.0.3升级到1.0.8,extman有原来的0.2.3升级到了1.0.0。升级的方法是按照论坛里[url=http://www.extmail.org/forum/thread-10170-1-1.html]http://www.extmail.org/forum/thread-10170-1-1.html[/url]的方法升级的。

yum install yum-plugin-fastestmirror
yum update extsuite*

升级后出现的问题如下:

1,注册用户总是报错,不能注册用户。

[attach]1387[/attach]

[attach]1397[/attach]

2,登陆ExtMail管理后台后默认的用户名变成了[email=root@extmail.org]root@extmail.org[/email]了。
      更新前是默认用户名是自己的域名后缀的,不知道在什么地方修改,有点不方便进后台。

[attach]1388[/attach]

3,进入后台之后,管理域的时候,修改“自由注册用户”,保存时,总是提示“时间格式不对”的信息,要设置成不过期才可以,也很不方便。
[attach]1389[/attach]

[attach]1390[/attach]

4,进入extmail用户邮箱里面后,用户“个人设置”里面没有设置找回密码问题的地方,而Extmail管理页面却提供了“忘记密码”找回的选项,但是进去后问题一栏是灰色的,不能输入的,所以也不能用此办法找回设置密码。

[attach]1391[/attach]
[attach]1392[/attach]
[attach]1398[/attach]

5,升级后天气信息,加载的出奇的慢,不过在论坛里找到不少人的解决办法,注释掉天气等算是解决了。

[attach]1393[/attach]

6,全局通讯录问题,这个在1.3默认版本的时候就不行,全局地址本不能自动加入所有注册用户,很不方便用,使员工无法查找收信人信息很不方便。
     不知道如何添加全局通讯录,最好是有个解决自动添加域里面所有用户邮件地址的方法。

[attach]1394[/attach]

7,我的邮件监控的问题,搞的不是很清楚,在这里咨询下大家哈。
     特别是邮件队列,一直搞不懂,大家给看下图,我的邮件服务器这两天基本上就没有收发信件,有也就是不超过10封信的。但是队列里面显示的数非常的,经常这样的,希望大家给帮忙看下,讲解下着方面的东西。。

[attach]1395[/attach]

下面是一周的分析,我觉得一周总的收发邮件,就算我群发给域内的用户都算上,也不会超过300封,但是队列的数却总是很大,不太懂这个,不知道每项代表的含义。。。。

[attach]1396[/attach]

以上这些问题,请各位老大帮给指点分析下,新手,有些问题太幼嫩的话,大家不要介意,帮忙给讲解下,不胜感激。。[size=4][/size][size=6][/size][size=5][/size]

liushaobo 发表于 2009-4-25 23:45

[quote]前段用的是EMOS1.3的版本,今天升级了extmail和extman,extmail有原来的1.0.3升级到1.0.8,extman有原来的0.2.3升级到了1.0.0。升级的方法是按照论坛里[url]http://www.extmail.org/forum/thread-10170-1-1.html[/url]的方法升级的。[/quote]
rpm包我没有用过,看你的错误好像是mysql没有升级造成的;解决了这个问题,,其它的问题可能就不存在了
extman0.23要升级sql的,请参考这个[url]http://www.extmail.org/forum/viewthread.php?tid=8923&extra=page%3D1%26amp%3Bfilter%3Ddigest[/url]
[quote]我的邮件监控的问题,搞的不是很清楚,在这里咨询下大家哈。
     特别是邮件队列,一直搞不懂,大家给看下图,我的邮件服务器这两天基本上就没有收发信件,有也就是不超过10封信的。但是队列里面显示的数非常的,经常这样的,希望大家给帮忙看下,讲解下着方面的东西。。[/quote]
邮件队列最好贴一下日志,

lixvfei 发表于 2009-4-26 00:54

回复 2# liushaobo 的帖子

恩,我不是用RPM包升级的,是yum方式升级的。
参考那个网页所述,升级sql但是好像不可以哦。
[root@mail ~]# ls /var/www/extsuite/extman/addon/
cleanup.sql    README                        upgrade_0.2.3_to_0.2.4.sql
courbd.ttf     upgrade_0.16_to_0.2beta3.sql  upgrade_0.2beta3_to_0.2.0.sql
font.ttf       upgrade_0.2.0_to_0.2.1.sql
mailgraph_ext  upgrade_0.2.1_to_0.2.2.sql
[root@mail ~]# ls /var/www/extsuite/extman/docs/
backport                      ldap_virtual_mailbox_maps.cf
extmail.schema                ldap_virtual_sender_maps.cf
extmail.sql                   mysql_virtual_alias_maps.cf
init.ldif                     mysql_virtual_domains_maps.cf
init.sql                      mysql_virtual_limit_maps.cf
ldap_virtual_alias_maps.cf    mysql_virtual_mailbox_maps.cf
ldap_virtual_domains_maps.cf  mysql_virtual_sender_maps.cf
ldap_virtual_limit_maps.cf    README.postfix
[root@mail ~]# mysql -u root -p < /var/www/extsuite/extman/docs/upgrade_0.2.3_to_0.2.4.sql
-bash: /var/www/extsuite/extman/docs/upgrade_0.2.3_to_0.2.4.sql: No such file or directory
[root@mail ~]#

另外“邮件队列最好贴一下日志”可是我不知道邮件队列的日志在哪里哦,/var/log/maillog吗?好像不是哦,里面几乎什么都么有。。
[root@mail ~]# ls /var/log/
anaconda.log     anaconda.xlog  boot.log  cron  dmesg  lastlog  messages    ppp          rpmpkgs  slockd.log       spooler  yum.log
anaconda.syslog  audit          clamav    cups  httpd  maillog  mysqld.log  prelink.log  secure   slockd.log.1.gz  wtmp

那个日志是邮件队列的呢?

liushaobo 发表于 2009-4-26 12:26

[quote][root@mail ~]# mysql -u root -p < /var/www/extsuite/extman/docs/upgrade_0.2.3_to_0.2.4.sql
-bash: /var/www/extsuite/extman/docs/[color=Red]upgrade_0.2.3_to_0.2.4.sql: No such file or directory[/color][/quote]
[quote]可是我不知道邮件队列的日志在哪里哦,/var/log/maillog吗?好像不是哦,里面几乎什么都么有。。
[/quote]
查看邮件日志 # tail -f /var/log/maillog
查看邮件队列 # postqueue -p

lixvfei 发表于 2009-4-26 19:00

回复 4# liushaobo 的帖子

查看邮件队列的信息,好像都是我自己的
[root@mail ~]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
603E453063C*    1121 Tue Apr 21 04:02:11  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

D2DDF53028E*  457118 Sun Apr 26 10:54:44  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

076BD530645*  293282 Fri Apr 24 04:02:32  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

B1ED053063F*  527805 Wed Apr 22 04:02:24  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

E194B53062E*    1121 Sat Apr 25 04:02:15  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

42687530640*    1121 Thu Apr 23 04:02:25  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

5E6C7530603*    1288 Sun Apr 26 10:54:35  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

57CC25301B5*    1121 Sun Apr 26 10:54:35  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

E33CA5303EB*    1302 Sun Apr 26 10:54:35  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

336FA530639*    1121 Wed Apr 22 04:02:14  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

484D7530646*    1121 Fri Apr 24 04:02:27  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

71C3B53063A*  202954 Tue Apr 21 04:02:15  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

C4BA8530642* 2001525 Thu Apr 23 04:02:22  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

4AD0B5305FA*    1056 Sun Apr 26 10:54:36  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]

E511A530647*  779434 Sat Apr 25 04:02:14  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]


-- 4180 Kbytes in 15 Requests.

[color=SeaGreen]不知道有没有问题,我的管理员账号应该是[email]root@XXX.com.cn[/email]才对啊,不知道为什么好些地方都成了[email]root@mail.xxx.com.cn[/email]了呢。。


再者就是:active      total:54468 msgs 代表的什么意思呢?不太理解,54468这么大的数,有什么意义呢......[/color]

[color=Red]maillog日志拿最典型的19号邮件队列情况来看,全天机会没有发送接收过邮件。

全天出现的记录如下:

1,  [email]ywy@xxxx.com.cn[/email]用户每隔1个小时,便会连接一次服务器,但是我服务器上没有此用户,因此不晓得这个用户是什么.....

2,  每天总会有一些用我服务器转发的信件,好像都没有成功的

3,  每隔一分钟,就会出现一次提示,mailbox的问题,如下这里太多就不剪过来了。

Apr 19 01:20:01 mail postfix/local[32150]: fatal: main.cf configuration error:

mailbox_size_limit is smaller than message_size_limit
Apr 19 01:20:02 mail postfix/master[27514]: warning: process /usr/libexec/postfix/local

pid 32150 exit status 1
Apr 19 01:20:02 mail postfix/master[27514]: warning: /usr/libexec/postfix/local: bad

command startup -- throttling

4,差不多就是root用户的邮件及postmaster的了。。[/color]



Apr 19 00:10:12 mail pop3d: Connection, ip=[::ffff:192.168.200.1]
Apr 19 00:10:12 mail pop3d: LOGIN, user=ywy@xxxx.com.cn, ip=[::ffff:192.168.200.1]
Apr 19 00:10:12 mail pop3d: LOGOUT, user=ywy@xxxx.com.cn, ip=[::ffff:192.168.200.1],

top=0, retr=0, rcvd=12, sent=222, time=0


Apr 19 00:21:32 mail postfix/smtpd[29490]: connect from unknown[192.168.200.1]
Apr 19 00:21:33 mail postfix/smtpd[29490]: NOQUEUE: reject: RCPT from unknown

[192.168.200.1]: 504 5.5.2 <219.140.59.14>: Helo command rejected
: need fully-qualified hostname; from=<[email]ck360chen@gmail.com[/email]> to=<[email]bibiorm@gmail.com[/email]>

proto=SMTP helo=<219.140.59.14>
Apr 19 00:21:34 mail postfix/smtpd[29490]: lost connection after RCPT from unknown

[192.168.200.1]
Apr 19 00:21:34 mail postfix/smtpd[29490]: disconnect from unknown[192.168.200.1]


Apr 19 00:24:07 mail postfix/master[27514]: warning: /usr/libexec/postfix/local: bad

command startup -- throttling
Apr 19 00:24:54 mail postfix/anvil[29492]: statistics: max connection rate 1/60s for

(smtp:192.168.200.1) at Apr 19 00:21:32
Apr 19 00:24:54 mail postfix/anvil[29492]: statistics: max connection count 1 for

(smtp:192.168.200.1) at Apr 19 00:21:32
Apr 19 00:24:54 mail postfix/anvil[29492]: statistics: max cache size 1 at Apr 19

00:21:32


Apr 19 01:10:14 mail pop3d: Connection, ip=[::ffff:192.168.200.1]
Apr 19 01:10:14 mail pop3d: LOGIN, user=ywy@xxxx.com.cn, ip=[::ffff:192.168.200.1]
Apr 19 01:10:14 mail pop3d: LOGOUT, user=ywy@xxxx.com.cn, ip=[::ffff:192.168.200.1],

top=0, retr=0, rcvd=12, sent=222, time=0

Apr 19 01:20:01 mail postfix/local[32150]: fatal: main.cf configuration error:

mailbox_size_limit is smaller than message_size_limit
Apr 19 01:20:02 mail postfix/master[27514]: warning: process /usr/libexec/postfix/local

pid 32150 exit status 1
Apr 19 01:20:02 mail postfix/master[27514]: warning: /usr/libexec/postfix/local: bad

command startup -- throttling
Apr 19 01:20:18 mail postfix/qmgr[18155]: fatal: timeout connecting to transport: local


Apr 19 01:25:06 mail postfix/local[32385]: fatal: main.cf configuration error:

mailbox_size_limit is smaller than message_size_limit
Apr 19 01:25:07 mail postfix/master[27514]: warning: process /usr/libexec/postfix/local

pid 32385 exit status 1
Apr 19 01:25:07 mail postfix/master[27514]: warning: /usr/libexec/postfix/local: bad

command startup -- throttling
Apr 19 01:25:17 mail postfix/qmgr[32402]: BED1C530639: from=<[email]root@mail.xxxx.com.cn[/email]>,

size=151516, nrcpt=1 (queue active)
Apr 19 01:25:17 mail postfix/qmgr[32402]: B86D753063A: from=<[email]root@mail.xxxx.com.cn[/email]>,

size=1121, nrcpt=1 (queue active)
Apr 19 01:25:17 mail postfix/qmgr[32402]: A2DE0530634: from=<[email]root@mail.xxxx.com.cn[/email]>,

size=396764, nrcpt=1 (queue active)
Apr 19 01:25:17 mail postfix/qmgr[32402]: 944F3530605: from=<[email]root@mail.xxxx.com.cn[/email]>,

size=1121, nrcpt=1 (queue active)


[color=Red]太长,剩下的贴在附件里了。。  [/color] [attach]1400[/attach]

[[i] 本帖最后由 lixvfei 于 2009-4-26 19:04 编辑 [/i]]

edit 发表于 2009-4-27 15:21

[quote]E511A530647*  779434 Sat Apr 25 04:02:14  [email]root@mail.xxxxx.com.cn[/email]
                                         [email]root@mail.xxxxx.com.cn[/email]
[/quote]这个好像是你的本地用户
参考这个[url]http://www.extmail.org/forum/viewthread.php?tid=10383&extra=page%3D1%26amp%3Bfilter%3Ddigest[/url]
[quote]Apr 19 01:20:01 mail postfix/local[32150]: fatal: main.cf configuration error:

[color=Red]mailbox_size_limit [/color]is smaller than [color=Red]message_size_limit[/color]
Apr 19 01:20:02 mail postfix/master[27514]: warning: process /usr/libexec/postfix/local [/quote]
红色的两个参数配置有问题呀

lixvfei 发表于 2009-4-27 20:02

回复 6# edit 的帖子

多谢楼上的,恩,这个错误我在另一个帖子上发过的,还没改过来呢,每隔一分钟就会产生一个。。很是烦人,又拿它没办法:L
见这个帖子:[url]http://www.extmail.org/forum/thread-10422-1-1.html[/url]
能不能给看下,为什么邮件队列里有那么大的数据产生呢??代表的什么含义哦,我一天都没有产生过几封邮件的。。。搞不懂什么意思。。

lootan 发表于 2009-4-27 22:35

我好象在哪里见过,postfix 可以自动拆分大邮件为小邮件?

edit 发表于 2009-4-28 14:49

[quote]原帖由 [i]lixvfei[/i] 于 2009-4-27 20:02 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=58585&ptid=10462][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
多谢楼上的,恩,这个错误我在另一个帖子上发过的,还没改过来呢,每隔一分钟就会产生一个。。很是烦人,又拿它没办法:L
见这个帖子:[url]http://www.extmail.org/forum/thread-10422-1-1.html[/url]
能不能给看下,为什么邮件队列里有那么 ... [/quote]
估计是你没改,所以把错误发roo@hostname:lol

lixvfei 发表于 2009-4-28 15:52

[quote]原帖由 [i]edit[/i] 于 2009-4-28 14:49 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=58617&ptid=10462][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]

估计是你没改,所以把错误发roo@hostname:lol [/quote]

请问,我该如何改呢,呵呵,关键的地方没说出来,我也这样想过,邮件队列里为什么会有那么多信出现,郁闷,大的吓人。。。但是又没有发现收发的信件。。

重装一个系统,如果开始装的时候选择是50M的大小,那么就没有问题,如果是没有选择是默认,装好后再手动修改为50M,那么日志就会一大堆一大堆的错误出来。。。。。

再次求修改什么地方,有无这样过的,请提供个方法,多谢多谢。

liushaobo 发表于 2009-4-28 22:13

LZ 注意以下几个地方
webmail.cf
SYS_MESSAGE_SIZE_LIMIT =

webman.cf
SYS_USER_DEFAULT_QUOTA =

man.cf
message_size_limit=
mailbox_size_limit=

lixvfei 发表于 2009-4-29 14:54

[quote]原帖由 [i]liushaobo[/i] 于 2009-4-28 22:13 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=58634&ptid=10462][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
LZ 注意以下几个地方
[color=Red]webmail.cf[/color]SYS_MESSAGE_SIZE_LIMIT =

[color=Red]webman.cf[/color]
SYS_USER_DEFAULT_QUOTA =

[color=Red]man.cf[/color]
message_size_limit=
mailbox_size_limit= [/quote]

[color=SandyBrown]1,main.cf找了半天才找到位置,不晓得对不对。内容如下,并无此二选项。[/color]
(message_size_limit=
  mailbox_size_limit=)


[root@mail ~]# less /usr/local/slockd/config/main.cf
## startup option
# only listen on localhost, advoid security problem
host            localhost
port            10030
listen          1024

## daemonize parameters
#user           root
#group          root

# uncomment the following line if you need to daemonize
setsid          1

## logging
log_file        /var/log/slockd.log
# log level
# 0 - err , 1 - warn, 2 - notice
# 3 - info, 4 - debug
log_level       0
pid_file        /var/run/slockd.pid

## PreFork setting
# min_spare_servers must less than min_servers!
min_servers             2
min_spare_servers       2
max_servers             50
# how many request a child should serve and exit
max_requests            1
# anvil plugin need child_communication set to 1
child_communication     1

## plugins setting
plugin_dir              plugins
plugin_conf             config/plugin.cf
(END)

2,
2,webman.cf
SYS_USER_DEFAULT_QUOTA = 5

查看如果是安装时候选择50M的情况下机器配置,跟我修改后的文件也相同。如下


[color=Red]# per user default quota, netdisk quota and expire
SYS_USER_DEFAULT_QUOTA = 5
SYS_USER_DEFAULT_NDQUOTA = 5
SYS_USER_DEFAULT_EXPIRE = 5m[/color]修改为50亦有问题,照样提示老问题。

3,webmail.cf


[color=Red]# sys_message_size_limit, default message size limit per user
# count as byte(s), eg: 5242880 means 5MB
SYS_MESSAGE_SIZE_LIMIT = 52428800[/color]


三个文件我都打包放附件里了。如下:
[attach]1404[/attach][attach]1405[/attach][attach]1406[/attach]

xujing200433 发表于 2010-2-21 14:10

POSTFIX队列范滥

邮件服务器被他人用来发送垃圾邮件,致使队列速增,使此域的用户无法发送邮件,现在只能将队列全部删掉,但过一会又会急增。有没有办法解决这样的问题呢

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.