- 论坛徽章:
- 0
|
几天来一直在装QMAIL但是一直都是启动QMAIL/SMTP/POP3时提示无权限。一直无法解决。希望大侠们帮忙想想。多谢多谢!!!
为了方便大家看我把日志什么的都发在这一个贴子里了。
smtp-auth的设置
1.修改vchkpw的属性
#chmod 4755 vchkpw
#chown root.root vchkpw
如果使用带验证的smtp,smtp进程要调用密码验证程序,则必须要使用 setuid 和setgid。提高vchkpw的权限,才能完成setgid操作。
这是什么意思。
SMTP和POP3不能超动,提示无权限。
以下是QMAIL日志。大家帮着看看。
Feb 17 09:05:09 test sendmail[1748]: alias database /etc/aliases rebuilt by root
Feb 17 09:05:09 test sendmail[1748]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Feb 17 09:05:09 test sendmail[1761]: starting daemon (8.12.: SMTP+queueing@01:00:00
Feb 17 09:05:09 test sm-msp-queue[1770]: starting daemon (8.12.: queueing@01:00:00
Feb 17 11:03:33 test qmail: 1076987013.466132 alert: cannot start: unable to read controls
Feb 17 11:04:07 test qmail: 1076987047.475234 alert: cannot start: unable to read controls
Feb 17 11:04:25 test qmail: 1076987065.036158 alert: cannot start: unable to read controls
Feb 17 11:09:04 test qmail: 1076987344.837904 alert: cannot start: unable to read controls
Feb 17 11:09:13 test qmail: 1076987353.705951 alert: cannot start: unable to read controls
Feb 17 13:18:46 test qmail: 1076995126.566726 alert: cannot start: unable to read controls
Feb 17 13:18:53 test qmail: 1076995133.810105 alert: cannot start: unable to read controls
我看了一下进程红色的那个,是什么。我没设这个域呀。怎样能改为我想设的。
[root@test test]# ps aux | grep "qmail"
root 20669 0.0 0.0 1348 252 pts/0 T 07:41 0:00
/var/qmail/bin/qm
ail-popup mydomain.com /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Mail
dir
root 20671 0.0 0.0 1348 252 pts/0 T 07:42 0:00
/var/qmail/bin/qm
ail-popup test.kdfjlskd.net /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d
Maildir
qmaild 20673 0.0 0.0 1416 452 pts/0 S 07:43 0:00 [tcpserver]
root 20677 0.0 0.0 4816 640 pts/0 S 07:44 0:00 grep qmail
[root@test test]# |
|