免费注册 查看新帖 |

Chinaunix

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

[Mail] qmail能发信,但不能收信!请热心士帮帮忙! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-23 08:55 |只看该作者 |倒序浏览
qmail老是提示 -ERR authorization failed 请求输入口令!
pop.sh的脚本为:
/usr/local/qmail/bin/tcpserver -c 100 -v -l ytd.com -U -H -R 0 pop3 /usr/local/q
mail/bin/qmail-popup ytd.com /home/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmai
l-pop3d Maildir 2>&1 | /usr/local/qmail/bin/splogger &

以下是日志/var/log/maillog中的出错信息!
Dec 23 18:19:04 ytd252 splogger: 1135333144.292522 tcpserver: status: 1/100
Dec 23 18:19:04 ytd252 splogger: 1135333144.292816 tcpserver: pid 4743 from 192.168.10.120
Dec 23 18:19:04 ytd252 splogger: 1135333144.292888 tcpserver: ok 4743 ytd.com:192.168.10.252:110 :192.168.10.120::2693
Dec 23 18:19:04 ytd252 vpopmail[4744]: vchkpw: setgid 514 failed errno 1 huangwd@ytd.com:192.168.10.120
Dec 23 18:19:04 ytd252 splogger: 1135333144.324524 tcpserver: end 4743 status 256
Dec 23 18:19:04 ytd252 splogger: 1135333144.324598 tcpserver: status: 0/100
Dec 23 18:19:06 ytd252 splogger: 1135333146.390260 tcpserver: status: 1/100
Dec 23 18:19:06 ytd252 splogger: 1135333146.390549 tcpserver: pid 4745 from 192.168.10.120
Dec 23 18:19:06 ytd252 splogger: 1135333146.390620 tcpserver: ok 4745 ytd.com:192.168.10.252:110 :192.168.10.120::2694
Dec 23 18:19:09 ytd252 vpopmail[4746]: vchkpw: setgid 514 failed errno 1 huangwd@ytd.com:192.168.10.120
Dec 23 18:19:09 ytd252 splogger: 1135333149.361146 tcpserver: end 4745 status 256
Dec 23 18:19:09 ytd252 splogger: 1135333149.361222 tcpserver: status: 0/100
Dec 23 18:19:10 ytd252 splogger: 1135333150.990531 tcpserver: status: 1/100
Dec 23 18:19:10 ytd252 splogger: 1135333150.990808 tcpserver: pid 4747 from 192.168.10.120
Dec 23 18:19:10 ytd252 splogger: 1135333150.990882 tcpserver: ok 4747 ytd.com:192.168.10.252:110 :192.168.10.120::2695
Dec 23 18:19:14 ytd252 splogger: 1135333154.565393 tcpserver: end 4747 status 256
Dec 23 18:19:14 ytd252 splogger: 1135333154.565473 tcpserver: status: 0/100
请热心人士帮帮忙,谢谢!

论坛徽章:
0
2 [报告]
发表于 2005-12-23 09:22 |只看该作者

回复 1楼 hixi 的帖子

你怎么没有组和用户的权限啊
#!/bin/sh

VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`

exec /usr/local/bin/tcpserver -l 0 -R -H -v             \
        -u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 110       \
        /var/qmail/bin/qmail-popup 126.com         \
        /home/vpopmail/bin/vchkpw                       \
        /var/qmail/bin/qmail-pop3d Maildir 2>&1
给你做参考的

论坛徽章:
0
3 [报告]
发表于 2005-12-23 09:54 |只看该作者
我在pop.sh上加了-u 571 及 -g 526 .
还执行了 chmod -R 777 /home/vpopmail
能收发信了,真高兴。
但现在的新问题又出现了,收到的信都是空白的!晕倒!
同域名邮件账户间的信都能收发,但收到的信就是空白的,只有个发送时间内容!晕!

论坛徽章:
0
4 [报告]
发表于 2005-12-23 09:58 |只看该作者
对了,无论如何也要谢谢stevenbootldr 先生/小姐 呵呵!

论坛徽章:
0
5 [报告]
发表于 2005-12-23 10:16 |只看该作者
哦,原来是我测试的域名找不到,因为我是先测试用的,所以域名迟到再注册的!
原来收到的空白信是我在/home/vpopmail/domains/ytd.com/test/Maildir/new 目录下用 echo haha>file 建立的文件,呵呵!
对了,怎么样在局域网内建立自己的邮件系统呢!用局域网ip地址不用域名!
出错日志如下:
Dec 24 10:09:12 ytd252 qmail: 1135390152.585803 new msg 394720
Dec 24 10:09:12 ytd252 qmail: 1135390152.585902 info msg 394720: bytes 741 from
<test@ytd.com> qp 6077 uid 541
Dec 24 10:09:12 ytd252 qmail: 1135390152.628792 starting delivery 34: msg 394720
to remote huangwd@192.168.10.252
Dec 24 10:09:12 ytd252 qmail: 1135390152.628870 status: local 0/10 remote 1/20
Dec 24 10:09:12 ytd252 qmail: 1135390152.793163 delivery 34: failure: Sorry._Alt
hough_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_cont
rol/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Dec 24 10:09:12 ytd252 qmail: 1135390152.793449 status: local 0/10 remote 0/20
Dec 24 10:09:12 ytd252 qmail: 1135390152.840191 bounce msg 394720 qp 6079
Dec 24 10:09:12 ytd252 qmail: 1135390152.840380 end msg 394720
Dec 24 10:09:12 ytd252 qmail: 1135390152.840617 new msg 394723
Dec 24 10:09:12 ytd252 qmail: 1135390152.840743 info msg 394723: bytes 1355 from
<> qp 6079 uid 570
Dec 24 10:09:12 ytd252 qmail: 1135390152.896706 starting delivery 35: msg 394723
to local test@ytd.com
Dec 24 10:09:12 ytd252 qmail: 1135390152.896785 status: local 1/10 remote 0/20
Dec 24 10:09:12 ytd252 qmail: 1135390152.899616 delivery 35: failure: Sorry,_no_
mailbox_here_by_that_name._(#5.1.1)/
Dec 24 10:09:12 ytd252 qmail: 1135390152.899908 status: local 0/10 remote 0/20
Dec 24 10:09:12 ytd252 qmail: 1135390152.952453 bounce msg 394723 qp 6082
Dec 24 10:09:12 ytd252 qmail: 1135390152.952551 end msg 394723
Dec 24 10:09:12 ytd252 qmail: 1135390152.952882 new msg 394721
Dec 24 10:09:12 ytd252 qmail: 1135390152.952949 info msg 394721: bytes 1783 from
<#@[]> qp 6082 uid 570
Dec 24 10:09:12 ytd252 qmail: 1135390152.995748 starting delivery 36: msg 394721
to local postmaster@ytd.com
Dec 24 10:09:12 ytd252 qmail: 1135390152.995826 status: local 1/10 remote 0/20
Dec 24 10:09:13 ytd252 qmail: 1135390153.045442 new msg 394723
Dec 24 10:09:13 ytd252 qmail: 1135390153.045523 info msg 394723: bytes 1884 from
<#@[]> qp 6085 uid 564
Dec 24 10:09:13 ytd252 qmail: 1135390153.094161 starting delivery 37: msg 394723
to local qmaild@ytd.com
Dec 24 10:09:13 ytd252 qmail: 1135390153.094324 status: local 2/10 remote 0/20
Dec 24 10:09:13 ytd252 qmail: 1135390153.094671 delivery 36: success: did_0+1+0/
qp_6085/
Dec 24 10:09:13 ytd252 qmail: 1135390153.094830 status: local 1/10 remote 0/20
Dec 24 10:09:13 ytd252 qmail: 1135390153.094923 end msg 394721
Dec 24 10:09:13 ytd252 qmail: 1135390153.097475 delivery 37: failure: Sorry,_no_
mailbox_here_by_that_name._(#5.1.1)/
Dec 24 10:09:13 ytd252 qmail: 1135390153.097768 status: local 0/10 remote 0/20
Dec 24 10:09:13 ytd252 qmail: 1135390153.097889 triple bounce: discarding bounce
/394723
Dec 24 10:09:13 ytd252 qmail: 1135390153.097989 end msg 394723

论坛徽章:
0
6 [报告]
发表于 2005-12-24 09:51 |只看该作者
自己做一个DNS不就可以了吗!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP