免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: huanghaojie
打印 上一主题 下一主题

[Mail] postfix邮件系统完整版 [复制链接]

论坛徽章:
0
151 [报告]
发表于 2006-06-22 18:35 |只看该作者

大家必看“我已经疯了,对此彻底失望了”

熬了几天几夜,完全按照作者的文章安装的,其结果是telnet localhost 25 没有反映,telnet localhost 110验证失败,真的怀疑此文章的正确性,不知道作者在发表文章之前,有没有认真的客观的验证过分析过,或者只是自己一个试验品而已,其结果也不知对否,我对天发誓,这个东西已经发费了我两个星期的时间,其中通读了《POSTFIX权威指南》,但结果还是失败了,我现在不怀疑我自己的能力,转而怀疑起作者,我忠诚恳请作者,请问,你的文章你自己配置成功过吗?无论成功与否,请您转告诉大家,我不希望大家在此浪费太多的时间,以上只是自己看法,没有恶意攻击之意,因为大家都是想学知识的,都是想把知识学的更好的

论坛徽章:
0
152 [报告]
发表于 2006-06-22 18:37 |只看该作者

大家必看“我已经疯了,对此彻底失望了”

熬了几天几夜,完全按照作者的文章安装的,其结果是telnet localhost 25 没有反映,telnet localhost 110验证失败,真的怀疑此文章的正确性,不知道作者在发表文章之前,有没有认真的客观的验证过分析过,或者只是自己一个试验品而已,其结果也不知对否,我对天发誓,这个东西已经发费了我两个星期的时间,其中通读了《POSTFIX权威指南》,但结果还是失败了,我现在不怀疑我自己的能力,转而怀疑起作者,我忠诚恳请作者,请问,你的文章你自己配置成功过吗?无论成功与否,请您转告诉大家,我不希望大家在此浪费太多的时间,以上只是自己看法,没有恶意攻击之意,因为大家都是想学知识的,都是想把知识学的更好的

论坛徽章:
0
153 [报告]
发表于 2006-06-23 09:35 |只看该作者
[src/error]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DUSE_SASL_AUTH -I/usr/local/include/sasl -g -O -I. -I../../include -DLINUX2 -c error.cgcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DUSE_SASL_AUTH -I/usr/local/include/sasl -g -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/mysql/lib -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -ldb -lnsl -lresolv/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x1: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o)(.text+0x53): In function `yaSSL:509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o)(.text+0x275): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32): In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32): In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32): In function `mySTL::list<yaSSL:utput_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32): more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x23de): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x3e8f): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x29ed): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x2b43): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x2e35): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x31cc): more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0x9f): In function `TaoCrypt:SA_PublicKey::~DSA_PublicKey(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0xf6): In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x2: more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x10ae): In function `yaSSL::RandomPool::~RandomPool(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x192e): In function `yaSSL::Integer::~Integer(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x1c36): In function `yaSSL:iffieHellman::~DiffieHellman(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x26): In function `yaSSL:ES:ESImpl::~DESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x71): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x6e): more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x123): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(log.o)(.text+0x20): In function `yaSSL::Log::~Log(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x1: undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x64): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x200): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
make: *** [error]

论坛徽章:
0
154 [报告]
发表于 2006-06-24 22:03 |只看该作者
原帖由 chinanpt 于 2006-6-22 18:35 发表
熬了几天几夜,完全按照作者的文章安装的,其结果是telnet localhost 25 没有反映,telnet localhost 110验证失败,真的怀疑此文章的正确性,不知道作者在发表文章之前,有没有认真的客观的验证过分析过,或者只是 ...

很久没来了。不多说什么了。
哪位朋友按照此文章安装成功的,请回帖一下!谢谢!

论坛徽章:
0
155 [报告]
发表于 2006-06-25 21:21 |只看该作者
我在没装squirrelmail(courier-sqwebmail openwebmail)+clamav+spamassassin+amavisd-new)之前的都安装成功!但是文档中有些东西的确是错的!或没说清楚!经过我详细的,反复的研究配置文件后,还是成功了!能用foxmail在局域网内收发信件,但是,安装spamassassin+amavisd-new之后一启动此防垃圾的东东,邮件就收不到了!只能用mailq看到在队列中,却收不到!很郁闷!做不下去了!

论坛徽章:
0
156 [报告]
发表于 2006-07-04 11:53 |只看该作者


:d

好东西,收藏

[ 本帖最后由 shixin 于 2006-7-4 11:59 编辑 ]

论坛徽章:
0
157 [报告]
发表于 2006-07-04 11:59 |只看该作者
哎呀,我的验证怎么通不过,大家帮我看看。
这是maillog:
[root@asiaunix ~]# tail -n 15 /var/log/maillog
Jul  4 11:39:22 asiaunix pop3d: Disconnected, ip=[::ffff:192.168.6.88]
Jul  4 11:39:38 asiaunix pop3d: Connection, ip=[::ffff:192.168.6.88]
Jul  4 11:39:38 asiaunix pop3d: LOGIN FAILED, user=feixue@asiaunix.3322.org, ip=[::ffff:192.168.6.88]
Jul  4 11:39:43 asiaunix pop3d: Disconnected, ip=[::ffff:192.168.6.88]
Jul  4 11:51:03 asiaunix pop3d: Connection, ip=[::ffff:192.168.6.88]
Jul  4 11:51:03 asiaunix pop3d: LOGIN FAILED, user=feixue@asiaunix.3322.org, ip=[::ffff:192.168.6.88]
Jul  4 11:51:08 asiaunix pop3d: Disconnected, ip=[::ffff:192.168.6.88]
Jul  4 11:51:13 asiaunix postfix/postfix-script: refreshing the Postfix mail system
Jul  4 11:51:13 asiaunix postfix/master[3484]: reload configuration /etc/postfix
Jul  4 11:51:16 asiaunix pop3d: Connection, ip=[::ffff:192.168.6.88]
Jul  4 11:51:16 asiaunix pop3d: LOGIN FAILED, user=feixue, ip=[::ffff:192.168.6.88]
Jul  4 11:51:21 asiaunix pop3d: Disconnected, ip=[::ffff:192.168.6.88]
Jul  4 11:51:31 asiaunix pop3d: Connection, ip=[::ffff:192.168.6.88]
Jul  4 11:51:31 asiaunix pop3d: LOGIN FAILED, user=feixue@asiaunix.3322.org, ip=[::ffff:192.168.6.88]
Jul  4 11:51:36 asiaunix pop3d: Disconnected, ip=[::ffff:192.168.6.88]

这是messages:
[root@asiaunix ~]# tail -n 15 /var/log/messages
Jul  4 10:01:01 asiaunix crond(pam_unix)[3994]: session opened for user root by (uid=0)
Jul  4 10:01:01 asiaunix crond(pam_unix)[3994]: session closed for user root
Jul  4 10:09:25 asiaunix smbd[3996]: [2006/07/04 10:09:25, 0] lib/util_sock.c:get_peer_addr(1000)
Jul  4 10:09:25 asiaunix smbd[3996]:   getpeername failed. Error was 传输端点尚未连絺?
Jul  4 10:09:25 asiaunix smbd[3996]: [2006/07/04 10:09:25, 0] lib/util_sock.c:get_peer_addr(1000)
Jul  4 10:09:25 asiaunix smbd[3996]:   getpeername failed. Error was 传输端点尚未连絺?
Jul  4 10:09:25 asiaunix smbd[3996]: [2006/07/04 10:09:25, 0] lib/util_sock.c:write_socket_data(430)
Jul  4 10:09:25 asiaunix smbd[3996]:   write_socket_data: write failure. Error = Connection reset by peer
Jul  4 10:09:25 asiaunix smbd[3996]: [2006/07/04 10:09:25, 0] lib/util_sock.c:write_socket(455)
Jul  4 10:09:25 asiaunix smbd[3996]:   write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
Jul  4 10:09:25 asiaunix smbd[3996]: [2006/07/04 10:09:25, 0] lib/util_sock.c:send_smb(647)
Jul  4 10:09:25 asiaunix smbd[3996]:   Error writing 4 bytes to client. -1. (Connection reset by peer)
Jul  4 11:01:01 asiaunix crond(pam_unix)[4004]: session opened for user root by (uid=0)
Jul  4 11:01:01 asiaunix crond(pam_unix)[4004]: session closed for user root
Jul  4 11:39:05 asiaunix sshd(pam_unix)[4009]: session opened for user root by root(uid=0)

下面的messages应该和postfix验证没有关系的。

论坛徽章:
0
158 [报告]
发表于 2006-07-06 02:41 |只看该作者
重新用源代码安mysql解决上面问题!!!!
6/7/2006 02:25
至此centos4.3+postfix+cyrus-sasl+mysql+postfixadmin+courier-imap+courier-maildrop+squirrelmail
已基本正确安装完毕!!!
-----------------------------------------------
简单测试基本通过。略有疑问??????
例如:
[root@localhost init.d]# perl -MMIME::Base64 -e 'print encode_base64("test@cbs.com");'
dGVzdC5jb20=

[root@localhost init.d]# perl -MMIME::Base64 -e 'print encode_base64("test");'
dGVzdA==
[root@localhost init.d]#  telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 www.test.com ESMTP "Version not Available"
ehlo www.test.com
250-www.test.com
250-PIPELINING
250-SIZE 14336000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250 8BITMIME
auth login
334 VXNlcm5hbWU6
dGVzdC5jb20=
334 UGFzc3dvcmQ6
dGVzdA==
535 Error: authentication failed
^]

telnet> quit
Connection closed.


而用本贴子里的
测试smtp
# perl -MMIME::Base64 -e 'print encode_base64("test\@test.com");'
dGVzdEB0ZXN0LmNvbQ==
# perl -MMIME::Base64 -e 'print encode_base64("test";)'

它生成的用户名dGVzdEB0ZXN0LmNvbQ==
就能 Authentication successful
奇怪????????哪错了、、、、、、、与我生成的用户名为什么不一致???????
---------------------------------
下一步就是要安防毒,防毒垃圾东东了,
真是感谢各位!!!!!!
好了到点了,该看球了,我猜是葡萄牙赢法国!!(要是点球,则法胜)

[ 本帖最后由 权老实 于 2006-7-6 02:42 编辑 ]

论坛徽章:
0
159 [报告]
发表于 2006-07-06 11:29 |只看该作者

postfix编译出错,请各位大侠帮忙

postfix-2.2.10    redhat linux 3
编译的时候出现错误提示,不知道如何解决,请各位大侠帮忙。
[root@mailser postfix-2.2.10]# make
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
'akedefs: line 71: syntax error near unexpected token `{
'akedefs: line 71: `error() {
make: *** [Makefiles] Error 2
make: *** [Makefiles] Error 2

论坛徽章:
0
160 [报告]
发表于 2006-07-11 22:17 |只看该作者
原帖由 xiaodixiaodi 于 2006-6-25 21:21 发表
我在没装squirrelmail(courier-sqwebmail openwebmail)+clamav+spamassassin+amavisd-new)之前的都安装成功!但是文档中有些东西的确是错的!或没说清楚!经过我详细的,反复的研究配置文件后,还是成功了!能用foxmail ...



都哪错了,能说说吧????
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP