免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
发表于 2007-09-20 14:18 |显示全部楼层
原帖由 loveflag 于 2007-9-20 14:15 发表
楼主,我是新手。能否告诉我下,把哪里的日志帖上来。   我的网络环境是内网。


重新telnet 25号端口一次,而后把/var/log/maillog日志的最新出现的内容贴上来,可以借鉴以下命令:

#tail -20 /var/log/mail

论坛徽章:
0
发表于 2007-09-20 14:26 |显示全部楼层

回复 #61 marion 的帖子

[root@localhost ~]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.loveflag.cn ESMTP Postfix
ehlo mail.loveflag.cn
250-mail.loveflag.cn
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:root@loveflag.cn
250 2.1.0 Ok
rcpt to:pieradmin@loveflag.cn
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject:Mail test!
Mail test!@!!!
.
250 2.0.0 Ok: queued as 1F2E1145CA0
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@localhost ~]#

论坛徽章:
0
发表于 2007-09-20 15:24 |显示全部楼层
这个表示已经发送了,你再检查一下日志看一下结果

论坛徽章:
0
发表于 2007-09-21 13:53 |显示全部楼层

回复 #1 marion 的帖子

好全面的东西,  好呀 收下了  谢谢了!

论坛徽章:
0
发表于 2007-09-24 21:35 |显示全部楼层
本来近日想把SSL应用的部分加上,看来要等几天了,被snort的项目的耽搁了。仍然待续吧 ……

论坛徽章:
0
发表于 2007-09-25 16:09 |显示全部楼层
marion ,高手,牛人,向marion  表示由衷的感谢!!!

论坛徽章:
0
发表于 2007-09-26 22:12 |显示全部楼层
楼上的兄弟,多承谬赞,共同学习吧……

论坛徽章:
0
发表于 2007-09-27 13:55 |显示全部楼层
請教樓主..
我跟著做暫時還沒有出現什麼大錯誤. 先謝過.
但現在我有一個問題想請問, 我這台機並沒有一個固定域名的. 如你的 benet.org, 我現在整個環境都是在內網完成的. 而在裝到 extmail, 我就把 extmail 的httpd.conf 設定如下:


  1. <VirtualHost *:80>
  2. ServerName mail.xxx.com
  3. ServerAlias 192.168.0.191
  4. DocumentRoot /var/www/extsuite/extmail/html/
  5. ScriptAlias /webmail/cgi /var/www/extsuite/extmail/cgi
  6. Alias /webmail /var/www/extsuite/extmail/html
  7. </VirtualHost>
复制代码


但當輸入 http://192.168.0.191/webmail/ 時, 就出現

  1. 403 Forbidden
  2. You don't have permission to access / on this server.
复制代码


這台服務器日後會在內網運行, 以port forward 在firewall 後運作的. 請指教.
謝謝.

[ 本帖最后由 惠繪洋 于 2007-9-27 13:59 编辑 ]

论坛徽章:
0
发表于 2007-09-27 15:31 |显示全部楼层
有没有这些软件打包下载?

CentOS 5 安装的时候都装哪些包?

论坛徽章:
0
发表于 2007-09-27 16:03 |显示全部楼层

回复 #1 marion 的帖子

我在编译courier-imap遇到了些问题,请问是什么原因?

Making all in tcpd
make[2]: Entering directory `/root/postfix/courier-imap-4.1.3/tcpd'
make  all-am
make[3]: Entering directory `/root/postfix/courier-imap-4.1.3/tcpd'
Linking couriertls
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xd52): In function `tls_create':
/root/postfix/courier-imap-4.1.3/tcpd/libcouriertls.c:590: undefined reference to `SSL_CTX_sess_set_new_cb'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xd63):/root/postfix/courier-imap-4.1.3/tcpd/libcouriertls.c:591: undefined reference to `SSL_CTX_sess_set_get_cb'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xd74):/root/postfix/courier-imap-4.1.3/tcpd/libcouriertls.c:592: undefined reference to `SSL_CTX_sess_set_remove_cb'
collect2: ld returned 1 exit status
make[3]: *** [couriertls] Error 1
make[3]: Leaving directory `/root/postfix/courier-imap-4.1.3/tcpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/postfix/courier-imap-4.1.3/tcpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/postfix/courier-imap-4.1.3'
make: *** [all] Error 2

这与ssl有关么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP