marion 发表于 2007-11-09 17:15

回复 #318 cnhawk386 的帖子


Nov9 14:09:48 wbxsb pop3d: LOGIN FAILED, user=lsj@wb.wzy, ip=[::ffff:192.168.0.121]
Nov9 14:11:12 wbxsb pop3d: LOGOUT, ip=[::ffff:192.168.0.121]
Nov9 14:11:12 wbxsb pop3d: Disconnected, ip=[::ffff:192.168.0.121]


这个信息过于笼统,建议打开authlib的调试日志选项,而后重新登录一次再通过日志确认错误所在。

MYSQLER 发表于 2007-11-09 23:33

再有一个问题就是我不能使用SuexecUserGroup postfix postfix

在apache的配置文件里面必须注释到这一行才能显示extmail的界面,否则会出现http 500的错误,
需要说明的是我在配置apache时加了参数--enable-suexec 和--with-suexec-caller=nobody
因为我用的是apache2.0不是2.2所以加了--with-suexec-caller=nobody,不知是不是这的原因


编译apache的参数:


./configure --prefix=/usr/local/apache --enable-so --enable-ssl --with-ssl=/usr/local/ssl --enable-track-vars --enable-rewrite --with-zlib --enable-mods-shared=most --enable-suexec --with-suexec-caller=nobody

MYSQLER 发表于 2007-11-12 11:09

现在web的界面已经出来了...
但是有一个问题就是我新添加了两个用户。。发出去的信彼此都收不到。。我的DNS和mail的同一台机子上

[ 本帖最后由 MYSQLER 于 2007-11-12 15:57 编辑 ]

micheal73 发表于 2007-11-12 19:35

郁闷了,做到第八步,

#vi /etc/postfix/main.cf
添加以下内容:
############################CYRUS-SASL############################
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!

#vi /usr/local/lib/sasl2/smtpd.conf
添加如下内容:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN

可是找了半天,压根就没有smtpd.conf
而且奇怪的是在tar包postfix后发现有可执行文件smtpd,但是编译安装后居然发现smtpd没有安装,不知道是什么原因

victorchang 发表于 2007-11-13 08:50

原帖由 MYSQLER 于 2007-11-12 11:09 发表 http://bbs.chinaunix.net/images/common/back.gif
现在web的界面已经出来了...
但是有一个问题就是我新添加了两个用户。。发出去的信彼此都收不到。。我的DNS和mail的同一台机子上
要看maillog messages 日志了....

ououpp 发表于 2007-11-13 09:51

楼主牛人,正在学习中。

想想windows下的多么简单啊,2003+winmail,小规模应用没问题,搭系统1小时搞定,除了一个月死几回机,没什么缺点。呵呵。:mrgreen:

victorchang 发表于 2007-11-13 10:38

原帖由 ououpp 于 2007-11-13 09:51 发表 http://bbs.chinaunix.net/images/common/back.gif
想想windows下的多么简单啊,2003+winmail,小规模应用没问题,搭系统1小时搞定,除了一个月死几回机,没什么缺点。呵呵。:mrgreen:
可是后期维护绝对是个大问题呀,操作系统本身的漏洞\病毒\木马.....

Yicho 发表于 2007-11-13 19:36

用Winmail,你不知道会发生什么。即使知道发生了什么,你也不知道怎么办。即使你知道怎么办,你也不知道具体哪里办。

yh81521 发表于 2007-11-13 22:18

怎么老是安装perl模块Net::DNS失败?

Manifying blib/man3/Net::DNS::RR::HINFO.3pm
Manifying blib/man3/Net::DNS::RR::MG.3pm
Manifying blib/man3/Net::DNS::RR::TKEY.3pm
Manifying blib/man3/Net::DNS::RR::NSAP.3pm
Manifying blib/man3/Net::DNS::RR::CERT.3pm
Manifying blib/man3/Net::DNS::Resolver::UNIX.3pm
Manifying blib/man3/Net::DNS::RR::MB.3pm
Manifying blib/man3/Net::DNS::Resolver::Base.3pm
/usr/bin/make-- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load..................ok 4/79#
# These tests were ran with:
# Net::DNS::VERSION:               0.61
# set environment variable NET_DNS_DEBUG to get all versions
t/00-load..................ok
t/00-pod...................skipped
      all skipped: Test::Pod v0.95 required for testing POD
t/00-version...............ok
t/01-resolver-env..........ok
t/01-resolver-file.........ok
      7/8 skipped: Could not read configuration file
t/01-resolver-opt..........ok
t/01-resolver..............ok
      3/45 skipped: Tests may not run succesful from private IP(192.168.0.15)
t/02-header................ok
t/03-question..............ok
t/04-packet-unique-push....ok
t/04-packet................ok
t/05-rr-opt................ok
t/05-rr-rrsort.............ok
t/05-rr-sshfp..............skipped
      all skipped: Digest::BubbleBabble not installed.
t/05-rr-txt................ok
t/05-rr-unknown............ok
t/05-rr....................ok
t/06-update................ok
t/07-misc..................ok
t/08-online................ok 56/93
#   Failed test 'The object isa Net::DNS::Packet'
#   at t/08-online.t line 109.
#   The object isn't defined
# SERVFAIL
t/08-online................NOK 57
#   Failed test 'The object isa Net::DNS::Packet'
#   at t/08-online.t line 109.
#   The object isn't defined
t/08-online................NOK 58# SERVFAIL
t/08-online................ok 85/93
#   Failed test 'Correct name (with persistent socket and search)'
t/08-online................NOK 86#   at t/08-online.t line 244.
#          got: 'a.t.t.net-dns.org'
#   expected: 'a.t.net-dns.org'
t/08-online................ok 91/93# Looks like you planned 93 tests but only ran 91.
# Looks like you failed 3 tests of 91 run.
t/08-online................dubious
      Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 57-58, 86, 92-93
      Failed 5/93 tests, 94.62% okay
t/09-tkey..................ok
t/10-recurse...............skipped
      all skipped: Cannot run these tests from this IP:192.168.0.15
t/11-escapedchars..........# Using theXS compiled dn_expand function
t/11-escapedchars..........ok 95/141#
# disabling XS based dns_expand for a moment.
t/11-escapedchars..........ok 98/141#
# Continuing to use the XS based dn_expand()
t/11-escapedchars..........ok
t/11-inet6.................ok
      10/11 skipped: Socket6 and or IO::Socket::INET6 not loaded
t/12-compression...........ok 4/5123456789112345678921234567893123456789412345678951234567896123...
truncated to 63 octets (RFC1035 2.3.1) at t/12-compression.t line 56
t/12-compression...........ok
Failed Test   Stat Wstat Total FailFailedList of Failed
-------------------------------------------------------------------------------
t/08-online.t    3   768    93    7   7.53%57-58 86 92-93
3 tests and 20 subtests skipped.
Failed 1/25 test scripts, 96.00% okay. 5/1181 subtests failed, 99.58% okay.
make: *** Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

cpan>
=============
怎么老是失败,perl这块不很懂,我是网上直接安装的,不是它能自动检查依赖性的吗?

cnhawk386 发表于 2007-11-14 09:43

./configure --prefix=/usr/local/php \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-xml \
--with-png \
--with-jpeg \
--with-zlib \
--with-freetype \
--with-gd \
--enable-track-vars \
--enable-mbstring=all


Notice: Following unknown configure options were used:

--with-xml
--with-png
--with-jpeg
--with-freetype
--enable-track-vars

这些缺少的包具体名称?
页: 23 24 25 26 27 28 29 30 31 32 [33] 34 35 36 37 38 39 40 41 42
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)