免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1275 | 回复: 1
打印 上一主题 下一主题

[Mail] [请教] qmail收不到信 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-21 11:13 |只看该作者 |倒序浏览
自己给自己发信都收不到。弄了几天了。
请大家帮忙看看,下面是一些信息

#cat  mail.log
Aug 21 10:39:52 localhost qmail: 1156127992.816703 status: local 0/10 remote 0/20

#cat mail.info
Aug 21 10:39:52 localhost qmail: 1156127992.816703 status: local 0/10 remote 0/20

而mail.err什么都没有

# cat tcp.smtp

  1. 127.0.0.1:allow,RELAYCLIENT=""
  2. :allow
复制代码


#cat smtp.sh


  1. #!/bin/sh
  2. QMAILDUID=qmaild
  3. NOFILESGID=nofiles
  4. /usr/local/bin/tcpserver -H -R -l 0 -t 1 -c 100 -v -p -x /etc/qmail/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd  ILKWY.3322.org /home/vpopmail/bin/vchkpw /usr/bin/true  | /var/qmail/bin/splogger smtpd 3 &
复制代码


#cat pop.sh


  1. #!/bin/sh
  2. /usr/local/bin/tcpserver -l ILKWY.3322.org -U -c 100 -H -R 0 pop3 /var/qmail/bin/qmail-popup ILKWY.3322.org /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

复制代码



#./qmail-showctl


  1. qmail home directory: /var/qmail.
  2. user-ext delimiter: -.
  3. paternalism (in decimal): 2.
  4. silent concurrency limit: 120.
  5. subdirectory split: 23.
  6. user ids: 1014, 1015, 1016, 0, 1017, 1018, 1019, 1020.
  7. group ids: 1008, 1009.

  8. badmailfrom: (Default.) Any MAIL FROM is allowed.

  9. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

  10. bouncehost: (Default.) Bounce host name is ILKWY.3322.org.

  11. concurrencylocal: (Default.) Local concurrency is 10.

  12. concurrencyremote: (Default.) Remote concurrency is 20.

  13. databytes: (Default.) SMTP DATA limit is 0 bytes.

  14. defaultdomain: Default domain name is 3322.org.

  15. defaulthost: (Default.) Default host name is ILKWY.3322.org.

  16. doublebouncehost: (Default.) 2B recipient host: ILKWY.3322.org.

  17. doublebounceto: (Default.) 2B recipient user: postmaster.

  18. envnoathost: (Default.) Presumed domain name is ILKWY.3322.org.

  19. helohost: (Default.) SMTP client HELO host name is ILKWY.3322.org.

  20. idhost: (Default.) Message-ID host name is ILKWY.3322.org.

  21. localiphost: (Default.) Local IP address becomes ILKWY.3322.org.

  22. locals:

  23. me: My name is ILKWY.3322.org.

  24. percenthack: (Default.) The percent hack is not allowed.

  25. plusdomain: Plus domain name is 3322.org.

  26. qmqpservers: (Default.) No QMQP servers.

  27. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

  28. rcpthosts:
  29. SMTP clients may send messages to recipients at ILKWY.3322.org.

  30. morercpthosts: (Default.) No effect.

  31. morercpthosts.cdb: (Default.) No effect.

  32. smtpgreeting: (Default.) SMTP greeting: 220 ILKWY.3322.org.

  33. smtproutes: (Default.) No artificial SMTP routes.

  34. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

  35. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

  36. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

  37. virtualdomains:
  38. Virtual domain: ILKWY.3322.org:ILKWY.3322.org

  39. rcpthosts.lock: I have no idea what this file does.

  40. virtualdomains.lock: I have no idea what this file does.

  41. locals.lock: I have no idea what this file does.

复制代码


# ps aux | grep qmail

  1. qmails   26921  0.0  0.0  1532  368 pts/0    S    10:39   0:00 qmail-send
  2. qmaill   26922  0.0  0.1  1500  444 pts/0    S    10:39   0:00 splogger qmail
  3. root     26923  0.0  0.0  1500  316 pts/0    S    10:39   0:00 qmail-lspawn ./Maildir
  4. qmailr   26924  0.0  0.0  1496  312 pts/0    S    10:39   0:00 qmail-rspawn
  5. qmailq   26925  0.0  0.0  1488  320 pts/0    S    10:39   0:00 qmail-clean
  6. root     30130  0.0  0.1  1560  512 pts/0    S    10:48   0:00 /usr/local/bin/tcpserver -H -R -l 0 -t 1 -c 100 -v -p -x /etc/qmail/tcp.smtp.cdb -u qmaild -g nofiles 0 smtp /var/qmail/bin/qmail-smtpd ILKWY.3322.org /home/vpopmail/bin/vchkpw /usr/bin/true
  7. root     30157  0.0  0.1  1560  512 pts/0    S    10:48   0:00 /usr/local/bin/tcpserver -lILKWY.3322.org -U -c 100 -H -R 0 pop3 /var/qmail/bin/qmail-popup lILKWY.3322.org /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir

复制代码

论坛徽章:
0
2 [报告]
发表于 2006-08-21 12:16 |只看该作者

回复 1楼 ILKWY 的帖子

问题解决了。
我检查了/usr/lib/sendmail和/usr/lib/sendmail
发现这个软链接居然是指向exim4的。把它删除,重新建立指向qmail的链接就可以了


  1. # rm /usr/sbin/sendmail
  2. # rm /usr/lib/sendmail
  3. # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
  4. # ln -s /varl/qmail/bin/sendmail /usr/sbin/sendmail
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP