1 最后由 bottle (2011-09-09 18:59:27) 编辑

主题: 又有问题了pysieved 启动出错

# service pysieved start
Starting pysieved:Traceback (most recent call last):
  File "/usr/sbin/pysieved", line 173, in ?
    main()
  File "/usr/sbin/pysieved", line 165, in main
    s = Server((addr, port), handler)
  File "/usr/lib64/python2.4/SocketServer.py", line 330, in __init__
    self.server_bind()
  File "/usr/lib64/python2.4/SocketServer.py", line 341, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.error: (98, 'Address already in use')
                                                           [FAILED]

# cat /etc/pysieved.ini
[main]
auth    = Dovecot
userdb  = Virtual
storage = Dovecot
#bindaddr = 127.0.0.1
port      = 2000
pidfile   = /var/run/pysieved/pysieved.pid

[Virtual]
base = /******vmail/sieve
uid  = 501
gid  = 502
hostdirs = True

[Dovecot]
service = sieve
mux     = /var/spool/postfix/dovecot-auth
master  = /var/run/dovecot/auth-master
sievec  = /usr/libexec/dovecot/sievec
scripts = .
active  = dovecot.sieve
uid     = 501
gid     = 502
老大帮我看看呀

回复: 又有问题了pysieved 启动出错

找到问题了
# vi /etc/dovecot.conf
protocol managesieve {
    listen = 127.0.0.1:2000 # 这个端口与pysieved的端口冲突了,改成4190就OK
    ......
    listen = 127.0.0.1:4190

## Centos 5.6

回复: 又有问题了pysieved 启动出错

我的5.6用手机寄信用25端口有时候会用不了
要重启才可以寄