LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 600|回复: 4

Cannot excute smtp in qmail!

[复制链接]
发表于 2004-8-2 17:30:43 | 显示全部楼层 |阅读模式
Redhat9.0+Qmail+smtp-auth+Vpopmail+MySQL+Igenus+ezmlm+autorespond+qmailadmin
I Installed qmail as the method of artxing in http://www.iselong.com/2/922.htm.All the soft is the same to artxing and the rd9 is full installed.
But In the 6th step:
[root@Mail qmail]# /var/qmail/smtp
/var/qmail/smtp: line 6: l: ambiguous redirect

what's the matter?What shall I do?
Thanks!
 楼主| 发表于 2004-8-2 17:33:13 | 显示全部楼层
发表于 2004-8-2 18:39:57 | 显示全部楼层
 楼主| 发表于 2004-8-2 19:08:17 | 显示全部楼层
/var/qmail/smtp的内容如下:
#!/bin/sh

QMAILDUID=qmaild
NOFILESGID=nofiles

/usr/local/bin/tcpserver -H -R -l 0 -t 1 -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd (这里试过在后面加上auth,还是不行)Mail.paper.com  /home/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 2>&1 | /var/qmail/bin/splogger smtpd 3 &

/var/qmail/pop3的内容如下:
#!/bin/sh

/usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup Mail.paper.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

我的脚本跟您给的基本上是一样的阿!
另外:请问snoopy兄,我的rh9是完全安装,那么那个mysql developer还需要在安装马?因为我在安装的时候并没有看到有这个,只有mysql server。
 楼主| 发表于 2004-8-3 13:50:08 | 显示全部楼层
Now, the respond is:
[root@Mail cmd5checkpw-0.22]# ps aux | grep "qmail"
#506      4883  0.0  0.0  1392  208 ?        S    08:00   0:00 [qmail-send]
root      4885  0.0  0.0  1356  100 ?        S    08:00   0:00 qmail-lspawn ./Maildir/
#505      4886  0.0  0.0  1352   48 ?        S    08:00   0:00 [qmail-rspawn]
#504      4887  0.0  0.0  1348   48 ?        S    08:00   0:00 [qmail-clean]
root      6351  0.4  6.2 111912 31864 ?      S    08:52   0:21 /usr/lib/mozilla-1.2.1/mozilla-bin -UILocale en-US fi
le:///mnt/WinE/lyy/Qmail/
qmailsetup3.htm
qmails   11286  0.0  0.0  1396  332 pts/1    S    10:10   0:00 [qmail-send]
qmaill   11287  0.0  0.0  1364  408 pts/1    S    10:10   0:00 [splogger]
root     11288  0.0  0.0  1360  276 pts/1    S    10:10   0:00 qmail-lspawn ./Maildir/
qmailr   11289  0.0  0.0  1356  276 pts/1    S    10:10   0:00 [qmail-rspawn]
qmailq   11290  0.0  0.0  1352  288 pts/1    S    10:10   0:00 [qmail-clean]
root     11292  0.0  0.0  1420  440 pts/1    S    10:10   0:00 /usr/local/bin/tcpserver -H -R -l 0 -t l -v -p -x /ho
me/vpopmail/etc/tcp.smtp.
cdb -u qmaild -g nofiles 0 smtp /var/qmail/bin/qmail-smtpd Mail.paper.com /home/vpopmail/bin/vchkpw /bin/true /bin/c
md5checkpw /bin/true
root     11293  0.0  0.0  1364  408 pts/1    S    10:10   0:00 /var/qmail/bin/splogger smtpd 3
root     11295  0.0  0.0  1420  440 pts/1    S    10:11   0:00 /usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/
qmail-popup Mail.paper.co
m /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
root     11297  0.0  0.1  3568  624 pts/1    S    10:11   0:00 grep qmail



[root@Mail cmd5checkpw-0.22]# telnet localhost 110
Trying 127.0.0.1...
Connected to Mail.paper.com (127.0.0.1).
Escape character is '^]'.
user lyy
+OK <11369.1091499267@Mail.paper.com>
+OK
user lyy
+OK
pass lyy
+OK
quit
+OK
Connection closed by foreign host.
[root@Mail cmd5checkpw-0.22]# telnet localhost 25
Trying 127.0.0.1...
Connected to Mail.paper.com (127.0.0.1).
Escape character is '^]'.
220 Mail.paper.com ESMTP
user lyy
502 unimplemented (#5.5.1)
pass lyy
502 unimplemented (#5.5.1)
quit
221 Mail.paper.com
Connection closed by foreign host.

Is it normal? How the smtp?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表