[亲测]架设强大安全qmail+vpopmail+mysql邮件服务器(已更新*webmail*:2011-06-14)

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
散漫
帖子: 52
注册时间: 2007-02-25 13:07
联系:

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#76

帖子 散漫 » 2008-10-29 0:10

楼主可以提供一下你的apt 数据源列表吗?

:em06
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#77

帖子 angelus » 2008-10-29 9:42

没有用特殊的列表,都是安装server版自带的源列表文件
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
头像
niuser
帖子: 12
注册时间: 2008-05-29 14:28

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#78

帖子 niuser » 2008-10-29 10:31

赞楼主.我还在黑暗中苦苦探索,不过仍然能够看到远处的光明~~
DELL INSPIRON 1520
Intel T8300 -- 120G Sata -- 2*1024MB RAM
yinsuntoday
帖子: 48
注册时间: 2008-09-10 15:12

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#79

帖子 yinsuntoday » 2008-10-29 13:53

很抱歉地通知您,邮件无法投递到指定收件人,请先通过其它方式向您的朋友发送信息,以免耽误。
请查看下面的退信原因:

> 日期: <Wed, 29 Oct 2008 13:48:54 +0800>
> 大小: <354>
> 动作: 失败

没有能够发送到以下的收件人:
<abc@sunday20080808.gicp.net>

<<原邮件的正文及附件由于篇幅关系在这里省略了>>

服务器返回的技术细节:

<abc@sunday20080808.gicp.net>: connect to
sunday20080808.gicp.net[116.18.67.150]: Connection timed out

foxmail测试能通过!就是 不能收件。是不是与发件一样如果需要给sina.com收信,就需要把sina.com域加入到这个文件中
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#80

帖子 angelus » 2008-10-29 17:26

建议你重新安装一次吧,注意下帖子的安装注意!
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
yinsuntoday
帖子: 48
注册时间: 2008-09-10 15:12

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#81

帖子 yinsuntoday » 2008-10-30 9:47

@400000004909108f26f751a4 status: local 0/10 remote 0/20
@40000000490911493b46c43c new msg 166610
@40000000490911493b47d5ac info msg 166610: bytes 476 from <abc@sunday20080808.gicp.net> qp 6148 uid 1008
@400000004909114a018025cc starting delivery 1: msg 166610 to local bcd@sunday20080808.gicp.net
@400000004909114a01802d9c status: local 1/10 remote 0/20
@400000004909114a047ee6dc delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004909114a05c633ec status: local 0/10 remote 0/20
@400000004909114a06cff32c bounce msg 166610 qp 6151
@400000004909114a06d26bfc end msg 166610
@400000004909114a07e41694 new msg 166615
@400000004909114a07e4e1b4 info msg 166615: bytes 1057 from <> qp 6151 uid 1007
@400000004909114a08664a9c starting delivery 2: msg 166615 to local abc@sunday20080808.gicp.net
@400000004909114a08667594 status: local 1/10 remote 0/20
@400000004909114a088fa0a4 delivery 2: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004909114a08922cfc status: local 0/10 remote 0/20
@400000004909114a08dde3cc bounce msg 166615 qp 6155
@400000004909114a08df0cac end msg 166615
@400000004909114a08e9b33c new msg 166613
@400000004909114a08ea862c info msg 166613: bytes 1548 from <#@[]> qp 6155 uid 1007
@400000004909114a0980abac starting delivery 3: msg 166613 to local postmaster@sunday20080808.gicp.net
@400000004909114a0980ee14 status: local 1/10 remote 0/20
@400000004909114a0b2bbfb4 new msg 166615
@400000004909114a0b2dcb24 info msg 166615: bytes 1665 from <#@[]> qp 6158 uid 1001
@400000004909114a0ba58394 starting delivery 4: msg 166615 to remote admin@sunday20080808.gicp.net
@400000004909114a0ba5a6bc status: local 1/10 remote 1/20
@400000004909114a0ba99e5c delivery 3: success: did_0+1+0/qp_6158/
@400000004909114a0ba9e894 status: local 0/10 remote 1/20
@400000004909114a0baa8ca4 end msg 166613
@400000004909114a105c5cb4 delivery 4: failure: Sorry,_I_couldn't_find_a_mail_exchanger_or_IP_address._(#5.4.4)/
@400000004909114a105f17ec status: local 0/10 remote 0/20
@400000004909114a105fe30c triple bounce: discarding bounce/166615
@400000004909114a10608b04 end msg 166615
@40000000490911a8067897e4 new msg 166610
@40000000490911a806789fb4 info msg 166610: bytes 478 from <abc@sunday20080808.gicp.net> qp 6295 uid 1008
@40000000490911a8078e1adc starting delivery 5: msg 166610 to local abc@sunday20080808.gicp.net
@40000000490911a8078e4da4 status: local 1/10 remote 0/20
@40000000490911a807c99d3c delivery 5: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40000000490911a807c9acdc status: local 0/10 remote 0/20
@40000000490911a80908dbcc bounce msg 166610 qp 6298
@40000000490911a8090a56b4 end msg 166610
@40000000490911a8090e988c new msg 166615
@40000000490911a8090f6b7c info msg 166615: bytes 1059 from <> qp 6298 uid 1007
@40000000490911a8097c564c starting delivery 6: msg 166615 to local abc@sunday20080808.gicp.net
@40000000490911a8097c7974 status: local 1/10 remote 0/20
@40000000490911a809a4a69c delivery 6: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40000000490911a809a801fc status: local 0/10 remote 0/20
@40000000490911a80a0bc50c bounce msg 166615 qp 6302
@40000000490911a80a0cde4c end msg 166615
@40000000490911a80a0fd034 new msg 166613
@40000000490911a80a107ffc info msg 166613: bytes 1550 from <#@[]> qp 6302 uid 1007
@40000000490911a80a7930c4 starting delivery 7: msg 166613 to local postmaster@sunday20080808.gicp.net
@40000000490911a80a7953ec status: local 1/10 remote 0/20
@40000000490911a80afbbea4 new msg 166615
@40000000490911a80afbc674 info msg 166615: bytes 1667 from <#@[]> qp 6305 uid 1001
@40000000490911a80b923a14 starting delivery 8: msg 166615 to remote admin@sunday20080808.gicp.net
@40000000490911a80b92650c status: local 1/10 remote 1/20
@40000000490911a80b92da3c delivery 7: success: did_0+1+0/qp_6305/
@40000000490911a80b9533cc status: local 0/10 remote 1/20
@40000000490911a80b9585d4 end msg 166613
@40000000490911a80d3d80e4 delivery 8: failure: Sorry,_I_couldn't_find_a_mail_exchanger_or_IP_address._(#5.4.4)/
@40000000490911a80d40fb84 status: local 0/10 remote 0/20
@40000000490911a80d42207c triple bounce: discarding bounce/166615
@40000000490911a80d42c0a4 end msg 166615

这是 \var\log\qmail\current 的错误信息>>>>>>>>
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#82

帖子 angelus » 2008-11-02 7:20

找不到用户,可能是vpopmail安装有问题,我把那个注意添加到帖子注意里了,你可以实验下,有次,我的就是信件都拥塞到队列中,无法发向本地,最后没办法只好重新安装次,大概的范围缩减到vpopmail的安装参数上,以为那个修改是最大的!
imap协议不准备写,因为那个在国外比较流行,中国还是pop为主的!
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
evawjy
帖子: 6
注册时间: 2008-11-03 12:52

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#83

帖子 evawjy » 2008-11-03 14:57

多谢楼主提供教材 :em01
yinsuntoday
帖子: 48
注册时间: 2008-09-10 15:12

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#84

帖子 yinsuntoday » 2008-11-04 8:59

sudo ./configure --prefix=/home/vpopmail --enable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql --disable-roaming-users --enable-logging=p --disable-passwd --enable-clear-passwd --disable-domain-quotas --enable-auth-module=mysql --enable-auth-logging --enable-sql-logging --disable-valias --disable-mysql-limits --enable-learn-passwords

可以这样 一下子输入吗????
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#85

帖子 angelus » 2008-11-04 9:26

本来就是可以那样的,写符\号只是用来换行,与容易阅读的,一般都是连着写的
最后把有关--disable的去掉,在把帖子中的安装注意的两行参数加上
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
yinsuntoday
帖子: 48
注册时间: 2008-09-10 15:12

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#86

帖子 yinsuntoday » 2008-11-04 11:22

root@office11:/usr/local/src/vpopmail-5.4.26# sudo ./configure --prefix=/home/vpopmail --enable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql --enable-logging=p --enable-clear-passwd --enable-auth-module=mysql --enable-auth-logging --enable-sql-logging --enable-learn-passwords --enable-vpopuser=vpopmail--enable-vpopgroup=vchkpw
checking vpopmail configure options... ok
checking whether we can locate the qmail directory... yes
checking whether we can locate the qmail-newu program... yes
checking whether we can locate the qmail-inject program... yes
checking whether we can locate the qmail-newmrh program... yes
checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists... No vpopmail user found.
Please add the vchkpw group and
vpopmail user. Then run configure again
no
configure: error: Could not compile and run even a trivial ANSI C program - check CC.

加佐那两个参数后出现 错误 不加就正常。

可发件不能收外网件。能收到foxmail测试信,内网件。不能收外网的信件。pop设置用本机ip能通过 采用域名,外网ip不能通过.
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#87

帖子 angelus » 2008-11-04 13:48

--enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw 中间有空格的,连在一起当然无法通过了
而且你也应该看下错误信息吧,
checking whether password file entry for the vpopmail user exists... No vpopmail user found.
Please add the vchkpw group and
vpopmail user. Then run configure again
验证程序在密码文件中没有找到vpopmail 用户,请添加vchkpw组和vpopmail用户,然后在重新运行配置
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
yinsuntoday
帖子: 48
注册时间: 2008-09-10 15:12

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#88

帖子 yinsuntoday » 2008-11-06 16:13

可发件不能收外网件。能收到foxmail测试信与内网件。不能收外网的信件。foxmail pop设置用本机ip能通过 采用域名,外网ip不能通过.
angelus
帖子: 445
注册时间: 2007-08-27 17:31

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#89

帖子 angelus » 2008-11-06 19:34

好好检查路由跟防火墙设置,一定要把必要端口都开放,你这种情况,大概可以推断是防火墙阻挡了外部客户对smtp等服务的访问,检查外网与内网接口的防火墙设置,把25等,必要端口开放
如果你的mail服务器在其他机器,请转发必要的端口到mail服务器
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
fleamboy
帖子: 11
注册时间: 2008-10-25 22:01

Re: [分享]架设强大安全qmail+vpopmail+mysql邮件服务器(全部更新完成-----开放测试-下载)

#90

帖子 fleamboy » 2008-11-06 23:56

fleamboy@ubuntu:~$ ps aux |grep qmail
root 5191 0.0 0.0 3792 404 ? S 23:51 0:00 supervise qmail-send
root 5193 0.0 0.0 3792 400 ? S 23:51 0:00 supervise qmail-smtpd
root 5195 0.0 0.0 3792 400 ? S 23:51 0:00 supervise qmail-pop3ds
root 5197 0.0 0.0 3792 400 ? S 23:51 0:00 supervise qmail-pop3d
qmails 5199 0.0 0.0 3976 488 ? S 23:51 0:00 qmail-send
vpopmail 5200 0.0 0.0 6056 696 ? S 23:51 0:00 /usr/local/bin/tcpserver -v -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c 20 -u 1009 -g 1003 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true
qmaill 5201 0.0 0.0 3804 396 ? S 23:51 0:00 /usr/local/bin/multilog t /var/log/qmail
vpopmail 5202 0.0 0.0 3828 424 ? S 23:51 0:00 /usr/local/bin/tcpserver -l 0 -R -H -v -u1009 -g1003 0 995 /usr/sbin/stunnel -f -p /var/qmail/control/servercert.pem -l /var/qmail/bin/qmail-popup -- qmail-popup xb668.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
qmaill 5203 0.0 0.0 3804 396 ? S 23:51 0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
vpopmail 5204 0.0 0.0 3828 440 ? S 23:51 0:00 /usr/local/bin/tcpserver -l 0 -R -H -v -u1009 -g1003 0 110 /var/qmail/bin/qmail-popup xb668.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
qmaill 5205 0.0 0.0 3804 392 ? S 23:51 0:00 multilog t /var/log/qmail/pop3d
qmaill 5206 0.0 0.0 3804 396 ? S 23:51 0:00 multilog t /var/log/qmail/pop3ds
root 5215 0.0 0.0 3936 432 ? S 23:51 0:00 qmail-lspawn ./Maildir/
qmailr 5216 0.0 0.0 3932 432 ? S 23:51 0:00 qmail-rspawn
qmailq 5217 0.0 0.0 3924 444 ? S 23:51 0:00 qmail-clean

----------------------------------------------
fleamboy@ubuntu:~$ sudo qmailctl stat
/service/qmail-send: up (pid 5199) 522 seconds
/service/qmail-send/log: up (pid 5201) 522 seconds
/service/qmail-smtpd: up (pid 5200) 522 seconds
/service/qmail-smtpd/log: up (pid 5203) 522 seconds
messages in queue: 1
messages in queue but not yet preprocessed: 0
------------------------------------------------
但是在发送信件的时候提示:
SMTP Server reply: 451 qq trouble creating files in queue (#4.3.0)
回复