问题已经搞了好几天了,配置是qmail1.05+smtp认证+vpopmail+mysql
已经可以在server上通过smtp认证发信,但是pop3d就是无法通过认证发信.
下面是pop3d的一些信息.望大侠帮忙.先谢过.
OS:solaris 5.9
pop3d的./run文件
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
/usr/local/bin/tcpserver -v -R -u "$QMAILDUID" -g "$NOFILESGID" -l 0 -H 0 110 /var/qmail/bin/qmail-popup \
mail.jutone.com.cn /export/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
telnet 登陆情况:
+OK <
4401.1185158574@mail.xxx.com
user test
+OK
pass 123456
-ERR authorization failed
pop3d log
tcpserver: status: 1/40
tcpserver: pid 4401 from 192.168.1.135
tcpserver: ok 4401 0:192.168.1.250:110 :192.168.1.135::1735
tcpserver: end 4401 status 256
tcpserver: status: 0/40
vchkpw 改为4755
-rwsr-xr-x 1 vpopmail vchkpw 219140 7ÔÂ 22 22:53 /export/vpopmail/bin/vchkpw
lsof -i :110
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
tcpserver 4355 qmaild 3u IPv4 0x70d8fc34 0t0 TCP *:pop3 (LISTEN)
lsof -p 4355
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
tcpserver 4355 qmaild cwd VDIR 136,0 512 24402 /var/qmail/suppervise/qmail-pop3d
tcpserver 4355 qmaild txt VREG 136,14 57108 214733 /usr/local/bin/tcpserver
tcpserver 4355 qmaild txt VREG 136,14 867448 2263 /usr/lib/libc.so.1
tcpserver 4355 qmaild txt VREG 136,14 744348 2308 /usr/lib/libnsl.so.1
tcpserver 4355 qmaild txt VREG 136,14 21676 2305 /usr/lib/libmp.so.2
tcpserver 4355 qmaild txt VREG 136,14 58504 2329 /usr/lib/libsocket.so.1
tcpserver 4355 qmaild txt VREG 136,14 222912 1422 /usr/lib/ld.so.1
tcpserver 4355 qmaild txt VREG 136,14 16768 5347 /usr/platform/sun4u/lib/libc_psr.so.1
tcpserver 4355 qmaild txt VREG 136,14 3984 2276 /usr/lib/libdl.so.1
tcpserver 4355 qmaild 2u VCHR 24,1 0t19067 3818 [url=]/devices/pseudo/pts@0:1->ttcompat->ldterm->ptem->pts[/url]
tcpserver 4355 qmaild 3u IPv4 0x70d8fc34 0t0 TCP *:pop3 (LISTEN)
vpopmail--5.4.17编译配置
:./configure
--prefix=/export/vpopmail
--enable-roaming-users=y
--enable-ip-alias-domains=y
--enable-auth-module=mysql
--enable-incdir=/opt/csw/mysql5/include/mysql
--enable-libdir=/opt/csw/mysql5/lib/mysql
--enable-tcpserver-file=/usr/local/bin/tcpserver
--disable-passwd
--enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw
--enable-many-domains
就这些了,望各位帮忙