- 论坛徽章:
- 0
|
我的系统是 RHL4 UPDATE5 Extmail 装的postfix
用户可以发邮件,但是收不到!给自己发也是收不到!
mail的日志:
Apr 24 15:24:33 localhost postfix/trivial-rewrite[5600]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Apr 24 15:24:33 localhost postfix/trivial-rewrite[5600]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Apr 24 15:24:33 localhost postfix/trivial-rewrite[5601]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Apr 24 15:24:33 localhost postfix/trivial-rewrite[5601]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Apr 24 15:24:34 localhost postfix/smtpd[3850]: warning: problem talking to service rewrite: Success
Apr 24 15:24:34 localhost postfix/master[3821]: warning: process /usr/libexec/postfix/trivial-rewrite pid 5600 exit status 1
Apr 24 15:24:34 localhost postfix/master[3821]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Apr 24 15:24:34 localhost postfix/smtpd[3930]: warning: problem talking to service rewrite: Success
Apr 24 15:24:34 localhost postfix/master[3821]: warning: process /usr/libexec/postfix/trivial-rewrite pid 5601 exit status 1
日志有说 :Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
可是我的不是用的那个SOCKET啊!我的在/tmp/mysql.sock
几个配置文件我都改了啊!
/etc/www/extsuiti/extmail/webmail.cf
/etc/www/extsuiti/extmail/main.cf
/etc/authlib/authmysqlrc
里面的socket都已经改正了。
[root@localhost ~]# /usr/sbin/authtest -s login postmaster@extmail.org 123456
Authentication succeeded.
Authenticated: postmaster@extmail.org (uid 1000, gid 1000)
Home Directory: /home/domains/extmail.org/postmaster
Maildir: /home/domains/extmail.org/postmaster/Maildir/
Quota: 104857600S
Encrypted Password: $1$TQ6ysplo$kY2U5trFZjO5L4J1yLYRB0
Cleartext Password: 123456
Options: (none)
用户可以发邮件,但是收不到!给自己发也是收不到! |
|