免费注册 查看新帖 |

Chinaunix

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

qmail [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-26 16:07 |只看该作者 |倒序浏览

主题打印版本
点击此处用原始格式查看主题
中国反垃圾邮件联盟论坛 _ Postfix专区 _ postfix邮件系统

as4+postfix+cyrus-sasl+mysql+postfixadmin+courier-imap+courier-maildrop+squirrelmail+clamav+spamassassin+amavisd-new
转载请注明出处
最后更新日期:2005年11月5日
2004年10左右成稿
1.mysql
2.apache
3.php
4.cyrus-sasl
5.postfix
6.postfixadmin
7.courier-authlib
8.courier-imap
9.courier-maildrop
10.测试
11.webmail
11.1.squirrelmail
12.clamav
13.amavisd-new
14.spamassassin
15.附:启动脚本
本文用到的软件
MySQL 5.0.15
网站:http://www.mysql.com
下载
APACHE 2.0.55
网站:http://www.apache.org
下载
PHP 4.4.1
网站:http://www.php.net
下载
Cyrus-SASL 2.1.21
网站:http://asg.web.cmu.edu/sasl
下载
Postfix 2.2.5
网站:http://www.postfix.org
下载
PostfixAdmin 2.1.0
网站:http://www.postfixadmin.com
下载
Courier-authlib 0.57
网站:http://www.courier-mta.org/authlib
下载
Courier-IMAP 4.0.6
网站:http://www.courier-mta.org/imap
下载
Courier-maildrop 2.0.1
网站:http://www.courier-mta.org/maildrop
下载
SquirrelMail 1.4.5
网站:http://www.squirrelmail.org
下载
Extmail 0.20
网站:http://www.extmail.org
下载
clamav 0.87
网站:http://www.clamav.net
下载
amavisd-new 2.3.3
网站:http://www.ijs.si/software/amavisd
下载
Spamassassin 3.1.0
网站:http://spamassassin.apache.org
下载
我以前那篇文章中密码加密有问题(密码一加密,smtp认证就通不过),所以下定决心更新一下。这次sasl密码验证机制改为authdaemond(感谢网友606),并把测试部分单独列出来。很多人问起我的安装环境,我安装linux的时候,只选了开发工具,其他的都没选,还有,这些软件包安装的时候都没有依赖性问题,有的话,我也提出来了。
1.安装 mysql 5.0.15
# wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.15.tar.gz/from/http://mysql.new21.com/
# tar zxvf mysql-5.0.15.tar.gz
# cd cd mysql-5.0.15
# groupadd mysql
# useradd -g mysql mysql
# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql \
--enable-assembler --with-mysqld-ldflags=-all-static --with-charset=gbk
# make
# make install
# cp support-files/my-medium.cnf /etc/my.cnf
设置自启动
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
# chmod 755 /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
安装完以后要初始化数据库
# cd /usr/local/mysql
# /usr/local/mysql/bin/mysql_install_db --user=mysql
# chown -R root .
# chown -R mysql var
# chgrp -R mysql .
好了,至此mysql安装完毕,你可以这样起动你的mysql服务
# service mysqld start
为了能让系统找到mysql,请运行如下命令
# PATH=$PATH:/usr/local/mysql/bin
# export PATH
# echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf
# ldconfig
Go to top.
2.安装 apache 2.0.55
# wget http://apache.freelamp.com/httpd/httpd-2.0.55.tar.bz2
# tar jxvf httpd-2.0.55.tar.bz2
# cd httpd-2.0.55
# ./configure --prefix=/usr/local/apache
# make
# make install
设置自启动
# cp support/apachectl /etc/init.d/httpd
修改/etc/init.d/httpd
# vi /etc/init.d/httpd(前面几行改成如下样子)
#!/bin/sh
#
# Startup script for the Apache Web Server
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /usr/local/apache/log/httpd.pid
# config: /usr/local/apache/conf/httpd.conf
# chkconfig --add httpd
# chmod 755 /etc/init.d/httpd
# chkconfig httpd on
创建网页根目录
# mkdir /var/www
修改apache配置文件
# vi /usr/local/apache/conf/httpd.conf
//存放网页的目录,原来为DocumentRoot "",改成:
DocumentRoot "/var/www"
//这句应该和DocumentRoot 的目录保持一致,原来为,改成:
//Indexes:当在目录中找不到DirectoryIndex列表中指定的文件就生成当前目录的文件列表
//FollowSymlinks:允许符号链接跟随,访问不在本目录下的文件
Options Indexes FollowSymLinks
//禁止读取.htaccess配置文件的内容
AllowOverride None
//指定先执行Allow(允许)访问规则,再执行Deny(拒绝)访问规则
Order allow,deny
//设置Allow(允许)访问规则,允许所有连接
Allow from all
启动服务
# service httpd start
Go to top.
3.安装php 4.4.1
# wget http://cn.php.net/get/php-4.4.1.tar.bz2/from/this/mirror
# tar jxvf php-4.4.1.tar.bz2
# cd php-4.4.1
# ./configure \
--prefix=/usr/local/php \
--with-mysql=/usr/local/mysql \
--with-apxs2=/usr/local/apache/bin/apxs
# make
# make install
# cp php.ini-dist /usr/local/php/lib/php.ini
# vi /usr/local/php/lib/php.ini
;default_charset = "iso-8859-1"
在这行下面加一行
default_charset = "gbk"
# vi /usr/local/apache/conf/httpd.conf
找到#AddType application/x-tar .tgz 这行,在下面加两行
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
找到下面一行在后面加上index.php,这表示网站的默认页也能够为index.php
DirectoryIndex index.html index.html.var index.php
注意:改变了http.conf后,要重启apache服务
Go to top.
4.安装 cyrus-sasl 2.1.21
先关闭as4默认安装的sasl
# mv /usr/lib/sasl /usr/lib/sasl.OFF
# mv /usr/lib/sasl2 /usr/lib/sasl2.OFF
编译安装cyrus-sasl2.1.21
# wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.21.tar.gz
# tar zxvf cyrus-sasl-2.1.21.tar.gz
# cd cyrus-sasl-2.1.21
# ./configure \
--disable-anon -enable-plain --enable-login \
--enable-sql --with-mysql=/usr/local/mysql \
--with-mysql-includes=/usr/local/mysql/include/mysql \
--with-mysql-libs=/usr/local/mysql/lib/mysql \
--with-authdaemond
# make
# make install
更新lib库
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
重要
# ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
Go to top.
5.安装postfix 2.2.5
如果你的系统上原来有sendmail,先将其停止并将其文件改名
# /etc/init.d/sendmail stop
# chkconfig --level 0123456 sendmail off
# mv /usr/bin/newaliases /usr/bin/newaliases.orig
# mv /usr/bin/mailq /usr/bin/mailq.orig
# mv /usr/sbin/sendmail /usr/sbin/sendmail.orig
开始安装
# groupadd -g 12345 postfix
# useradd -u 12345 -g 12345 -c postfix -d/dev/null -s/sbin/nologin postfix
# groupadd -g 54321 postdrop
# wget ftp://postfix.cn99.com/postfix/official/postfix-2.2.5.tar.gz
# tar zxvf postfix-2.2.5.tar.gz
# cd postfix-2.2.5
(Building Postfix with SASL authentication and mysql support)
# make -f Makefile.init makefiles \
'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl' \
'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'
# make install
注意:
本例中Mysql安装在/usr/lcoal/mysql,sasl2安装在/usr/lib/sasl2。如果安装路径不同,请自行修改编译时CCARGS和AUXLIBS选项。
在执行make install的时候可能会得到如下的提示:
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12" not found
这是因为mysql不是安装在默认目录中的,所以需要告诉postfix应该到哪里去找libmysqlclient.so.12,使用ldconfig就可以达到这个目的
# echo /usr/local/mysql/lib/mysql >> /etc/ld.so.conf
# ldconfig
Go to top.
6.安装postfixadmin 2.1.0
建立apache和maildrop的用户和组
# groupadd vmail -g 1001
# useradd vmail -u 1001 -g 1001 -s/sbin/nologin -d/dev/null
# vi /usr/local/apache/conf/httpd.conf

User nobody
Group #-1
改为
User vmail
Group vmail
# wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz
# tar -zxvf postfixadmin-2.1.0.tgz
# mv postfixadmin-2.1.0 /var/www/postfixadmin
更改权限,假定运行apache的用户和组为vmail
# chown -R vmail:vmail /var/www/postfixadmin
# cd /var/www/postfixadmin
# chmod 640 *.php *.css
# cd /var/www/postfixadmin/admin/
# chmod 640 *.php .ht*
# cd /var/www/postfixadmin/images/
# chmod *.png
# cd /var/www/postfixadmin/languages/
# chmod 640 *.lang
# cd /var/www/postfixadmin/templates/
# chmod 640 *.tpl
# cd /var/www/postfixadmin/users/
# chmod 640 *.php
建立mysql表
# cd /var/www/postfixadmin
# mysql -u root  install Time::HiRes
cpan> install IO::Wrap
cpan> install Unix::Syslog
cpan> install Mail::Field
cpan> install Compress::Zlib
cpan> install MIME::Words
cpan> install Net::Server
cpan> install BerkeleyDB
cpan> install Convert::TNEF
cpan> install Convert::UUlib
cpan> install Archive::Tar
cpan> install Archive::Zip
cpan> install HTML::Parser
cpan> install DB_File
cpan> install Net::DNS (提示是否test, 选择no)
cpan> install Digest::SHA1
cpan> install Mail::SpamAssassin (# export LANG=en_US)
期间MIME安装会失败,只好手动安装,跳过测试
# cd /root/.cpan/build/MIME-tools-5.418/
# perl Makefile.PL
# make install
启动
# /usr/local/sbin/amavisd start 或
# service amavisd start
Go to top.
设置postfix
修改/etc/postfix/main.cf
# vi /etc/postfix/main.cf (加入一行)
content_filter = amavis:127.0.0.1:10024
修改/etc/postfix/master.cf
# vi /etc/postfix/master.cf (在最后加上)
# amavisd-new
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
localhost:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o mynetworks=127.0.0.0/8
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
重新服务
# service postfix restart
# service clamd restart
# service amavisd restart
# netstat -ant | grep LISTEN (应该可以看到这两个端口在监听)
127.0.0.1.10024 *.* 0 0 49152 0 LISTEN
127.0.0.1.10025 *.* 0 0 49152 0 LISTEN
Go to top.
14.安装Spamassassin
前面装amavis的时候已经装好了,如果没装,请按如下方式安装
启动spamd
# /usr/bin/spamd --daemonize --pidfile /var/run/spamd.pid
下载中文垃圾垃圾邮件过滤规则Chinese_rules.cf
# wget -N -P /usr/share/spamassassin www.ccert.edu.cn/spam/sa/Chinese_rules.cf
每次更新Chinese_rules.cf需要重启spamd方法如下
# kill -HUP `cat /var/run/spamd.pid`
自动更新中文垃圾垃圾邮件过滤规则
# vi /etc/crontab (加一行)
0 0 1 * * root wget -N -P /usr/share/spamassassin www.ccert.edu.cn/spam/sa/Chinese_rules.cf;kill -HUP `cat /var/run/spamd.pid`
测试病毒扫描
给该test@test.com用户发送邮件,包含以下内容:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
查看日志,如果出现类似如下提示,则表明成功
Nov 6 22:06:20 localhost postfix/smtp[18276]: 9CEB657E22: to=, relay=127.0.0.1[127.0.0.1], delay=2, status=sent (250 2.7.1 Ok, discarded, id=18262-01 - VIRUS: Eicar-Test-Signature)
邮件病毒扫描日志将被记录在/var/log/clamav/clamav.log中!
测试垃圾邮件扫描
给test@test.com用户发送邮件,包含以下内容:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
查看日志,如果出现类似如下提示,表明成功
Nov 6 22:10:51 localhost amavis[18263]: (18263-01) Blocked SPAM, LOCAL [127.0.0.1] [127.0.0.1]  -> , quarantine: spam-JH2LSCT1MLYg.gz, Message-ID: , mail_id: JH2LSCT1MLYg, Hits: 1005.902, 3591 ms
Go to top.
15.启动脚本
postfix的启动脚本:
# cat /etc/rc.d/init.d/postfix
=================================================================
#!/bin/bash
#
# mailsys This shell script takes care of starting and stopping Postfix
# author : xingyu.wang  2004/1/28
#
# chkconfig: 2345 80 30
# description: Postfix is a Mail Transport Agent, which is the program
# that moves mail from one machine to another.
#
# processname: mailsys
# pidfile: /var/run/postfix.pid
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -f /usr/sbin/postfix ] || exit 0
RETVAL=0
prog="Postfix"
start() {
# Start daemons.
echo -n $"Starting $prog: "
/usr/sbin/postfix start > /dev/null 2>&1 &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
touch /var/lock/subsys/postfix
success $"$prog start"
else
failure $"$prog start failure"
fi
echo
return $RETVAL
}
stop() {
# Stop daemons.
echo -n $"Shutting down $prog: "
/usr/sbin/postfix stop > /dev/null 2>&1 &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/postfix
success $"$prog stop"
else
failure $"$prog stop failure"
fi
echo
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $RETVA
# chmod 755 /etc/rc.d/init.d/postfix
# chkconfig --level 2345 postfix on
clamav的启动脚本
# vi /etc/rc.d/init.d/clamd
=================================================================
#! /bin/bash
#
# crond Start/Stop the clam antivirus daemon.
#
# chkconfig: 2345 90 60
# description: clamdis a standard UNIX program that scans for Viruses.
# processname: clamd
# config: /usr/local/clamav/etc/clamd.conf
# pidfile: /var/run/clamav/clamd.pid
# Source function library.
. /etc/rc.d/init.d/functions
RETVAL=0
# See how we were called.
prog="clamd"
progdir="/usr/local/clamav/sbin"
# Source configuration
if [ -f /etc/sysconfig/$prog ] ; then
. /etc/sysconfig/$prog
fi
start() {
echo -n $"Starting $prog: "
daemon $progdir/$prog
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/run/clamav/clamd.pid
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
killproc $prog
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/run/clamav/clamd.pid
return $RETVAL
}
rhstatus() {
status clamd
}
restart() {
stop
start
}
reload() {
echo -n $"Reloading clam daemon configuration: "
killproc clamd -HUP
retval=$?
echo
return $RETVAL
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
status)
rhstatus
;;
condrestart)
[ -f /var/lock/subsys/clamd ] && restart || :
;;
*)
echo $"Usage: $0 {start|stop|status|reload|restart|condrestart}"
exit 1
esac
exit 0
# chmod 755 /etc/rc.d/init.d/clamd
# chkconfig --add clamd
# chkconfig clamd on
Go to top.
heracai@126.com
作者: 梦幻傻傻 2005年6月1日 - 16:59



老兄 非常感谢 俺先顶一下你 支持




作者: 梦幻傻傻 2005年6月2日 - 16:03
为什么我应用完补丁 编译sasl的时候会出现这个啊
configure: loading cache .././config.cache
configure: error: `LDFLAGS' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd
还有postfixadmin后台用户密码是多少啊
我很菜 兄弟们多帮帮我哈
作者: 飞刀客 2005年6月6日 - 11:42
更改postfixadmin/admin目录下的create-mailbox.php文件
在此文件的200行后加一行:
# vi /var/www/postfixadmin/admin/create-mailbox.php
system("sudo /usr/sbin/maildirmake.sh $fDomain ".$_POST['fUsername']);
具体位置能不能写清楚点!谢了,老大
作者: 飞刀客 2005年6月6日 - 13:22
修改/etc/init.d/httpd
# vi /etc/init.d/httpd(在第两行之后添加如下内容)
#!/bin/sh
#
# Startup script for the Apache Web Server
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /usr/local/apache/log/httpd.pid
# config: /usr/local/apache/conf/httpd.conf
请问前面还要#号吗
作者: anstan 2005年6月7日 - 10:08
QUOTE (飞刀客 @ 2005年6月6日 - 13:22)
修改/etc/init.d/httpd
# vi /etc/init.d/httpd(在第两行之后添加如下内容)
#!/bin/sh
#
# Startup script for the Apache Web Server
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /usr/local/apache/log/httpd.pid
# config: /usr/local/apache/conf/httpd.conf
请问前面还要#号吗
要的
作者: anstan 2005年6月7日 - 10:10
QUOTE (飞刀客 @ 2005年6月6日 - 11:42)
更改postfixadmin/admin目录下的create-mailbox.php文件
在此文件的200行后加一行:
# vi /var/www/postfixadmin/admin/create-mailbox.php
system("sudo /usr/sbin/maildirmake.sh $fDomain ".$_POST['fUsername']);
具体位置能不能写清楚点!谢了,老大

$tQuota = $CONF['maxquota'];
这行后
作者: yanpeng 2005年6月7日 - 10:24
用postfixadmin加用户后,在/var/mailbox下不能生成对应的邮箱,请教哪了差错?
现象是:
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user a@test.com
+OK Password required.
pass a
-ERR chdir a@test.com/ failed
Connection closed by foreign host.
# maildrop -V 9 -d a@test.com
#tail /var/log/maillog
Jun 7 10:19:21 ceirh8 postfix/pipe[29565]: 5D76EF4533: to=, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )
作者: anstan 2005年6月7日 - 10:41
QUOTE (yanpeng @ 2005年6月7日 - 10:24)
用postfixadmin加用户后,在/var/mailbox下不能生成对应的邮箱,请教哪了差错?
现象是:
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user a@test.com
+OK Password required.
pass a
-ERR chdir a@test.com/ failed
Connection closed by foreign host.
# maildrop -V 9 -d a@test.com
#tail /var/log/maillog
Jun 7 10:19:21 ceirh8 postfix/pipe[29565]: 5D76EF4533: to=, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )
那你先手动生成邮箱试试
# mkdir /var/mailbox/$1
# chown -R vmail:vmail /var/mailbox/$1
# cd "/var/mailbox/$1"
# /usr/local/imap/bin/maildirmake $2
# chown -R 1001:12345 /var/mailbox/$1/$2
# chmod -R g=s /var/mailbox/$1/$2
$1是域名(如test.com),$2是用户名
作者: yanpeng 2005年6月7日 - 11:01
手工建邮箱目录后,仍不能正常收信,执行telnet localhost 110后,仍出错,请帮忙找找原因。
非常感谢。
#usr/sbin/maildirmake.sh test.com a
#cd /var/mailbox
# ls -lR |more
.:
total 4
-rw------- 1 vmail vmail 0 Jun 7 09:31 maildrop.log
drwxr-xr-x 3 vmail vmail 4096 Jun 7 10:49 test.com
./test.com:
total 4
drwx--S--- 5 vmail postfix 4096 Jun 7 10:49 a
./test.com/a:
total 12
drwx--S--- 2 vmail postfix 4096 Jun 7 10:49 cur
drwx--S--- 2 vmail postfix 4096 Jun 7 10:49 new
drwx--S--- 2 vmail postfix 4096 Jun 7 10:49 tmp
./test.com/a/cur:
total 0
./test.com/a/new:
total 0
./test.com/a/tmp:
total 0
[root@ceirh8 log]# ll maillog
-rw------- 1 root root 0 Jun 7 10:52 maillog
[root@ceirh8 log]# maildrop -V 9 -d a@test.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=a@test.com, home=/var/mailbox/, mail=a@test.com/
maildrop: Changing to /var/mailbox/
maildrop: signal 0x02
[root@ceirh8 log]# more maillog
[root@ceirh8 log]# ll maillog
-rw------- 1 root root 0 Jun 7 10:52 maillog
[root@ceirh8 a]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user a@test.com
+OK Password required.
pass a
-ERR chdir a@test.com/ failed
Connection closed by foreign host.
作者: yanpeng 2005年6月7日 - 11:08
anstan先生,我现在估计可能是在postfixadmin的create-mailbox.php或maildrop出错了,但我现在不知从哪下手,如何通过日志或其它方法调试,
能否提供几个有关的参考文档,我想学习学习
多谢。
作者: anstan 2005年6月7日 - 11:08
那是不是权限的问题呢,你检查一下涉及到的权限,如apache的
作者: anstan 2005年6月7日 - 11:11
QUOTE (yanpeng @ 2005年6月7日 - 11:08)
anstan先生,我现在估计可能是在postfixadmin的create-mailbox.php或maildrop出错了,但我现在不知从哪下手,如何通过日志或其它方法调试,
能否提供几个有关的参考文档,我想学习学习
多谢。
因为我参考的文章比较多,现在都有点搞不清楚了,遇到问题的时候我都到google里搜出来的。还有postfix和postfixadmin的官方站点都有很多可以看的,你去看看。
作者: yanpeng 2005年6月7日 - 11:19
非常感谢。
现在有事,回头再试了。
作者: 飞刀客 2005年6月7日 - 17:44
[root@localhost postfixadmin]# mysql -u root [-p]
为什么!
作者: 飞刀客 2005年6月7日 - 18:19
请问怎么登陆数据库
mysql -u root 或mysql都无法登陆
还有postfixadmin的管理员帐号和密码是什么!
求助 谢谢了!
作者: anstan 2005年6月7日 - 19:57
QUOTE (飞刀客 @ 2005年6月7日 - 18:19)
请问怎么登陆数据库
mysql -u root 或mysql都无法登陆
还有postfixadmin的管理员帐号和密码是什么!
求助 谢谢了!
那你肯定mysql没装好。还有postfixadmin没有用户名和密码啊
作者: yanpeng 2005年6月8日 - 8:35
# vi /etc/maildroprc
logfile "/var/mailbox/maildrop.log"
to "$HOME$DEFAULT"
中的"$HOME$DEFAULT" 是不是落了一个" /", 即:
应为:"$HOME/$DEFAULT"
作者: anstan 2005年6月8日 - 8:48
QUOTE (yanpeng @ 2005年6月8日 - 8:35)
# vi /etc/maildroprc
logfile "/var/mailbox/maildrop.log"
to "$HOME$DEFAULT"
中的"$HOME$DEFAULT" 是不是落了一个" /", 即:
应为:"$HOME/$DEFAULT"
当时参考别人的文章的时候,就是$HOME/$DEFAULT,发现不行,去掉/就好了,不知道$HOME和$DEFAULT是在哪里定义的。
作者: anstan 2005年6月8日 - 8:55
QUOTE (yanpeng @ 2005年6月8日 - 8:35)
# vi /etc/maildroprc
logfile "/var/mailbox/maildrop.log"
to "$HOME$DEFAULT"
中的"$HOME$DEFAULT" 是不是落了一个" /", 即:
应为:"$HOME/$DEFAULT"
你要是怀疑maildrop有问题的话,可以把maildrop部分先去掉试试,能不能成功。
作者: yanpeng 2005年6月8日 - 9:04
/usr/sbin/maildirmake.sh 执行时的“用户名”是:test 还是 test@test.com 格式?
另外,如何去掉maildrop部分进行试验?(不好意思,我只是在参照楼主的文档进行试验,没太细看各网站上的文档,看来还不能一步登天!)
作者: yanpeng 2005年6月8日 - 9:11
在postfisadmin中新建邮箱成功,在mysql的mailbox表中也能查到,但就是在/var/mailbox目录下什么都没有。
请帮忙分析哪个环节出错了?
多谢。
作者: anstan 2005年6月8日 - 9:15
QUOTE (yanpeng @ 2005年6月8日 - 9:04)
/usr/sbin/maildirmake.sh 执行时的“用户名”是:test 还是 test@test.com 格式?
另外,如何去掉maildrop部分进行试验?(不好意思,我只是在参照楼主的文档进行试验,没太细看各网站上的文档,看来还不能一步登天!)
/usr/sbin/maildirmake.sh test.com test
去掉maildrop
在main.cf中
virtual_transport = maildrop
改为
virtual_transport = virtual
是不是还要改其它地方,我忘了,旁边没有环境是不了,你自己再仔细看看。
作者: anstan 2005年6月8日 - 9:16
QUOTE (yanpeng @ 2005年6月8日 - 9:11)
在postfisadmin中新建邮箱成功,在mysql的mailbox表中也能查到,但就是在/var/mailbox目录下什么都没有。
请帮忙分析哪个环节出错了?
多谢。
你的apache的运行用户和组是什么?
作者: yanpeng 2005年6月8日 - 9:22
原来是nobody,现在已改为:vmail:vmail了,仍然不成功。
作者: anstan 2005年6月8日 - 9:25
QUOTE (yanpeng @ 2005年6月8日 - 9:22)
原来是nobody,现在已改为:vmail:vmail了,仍然不成功。
改完之后,要重启apache
作者: yanpeng 2005年6月8日 - 9:29
是的,重启过了,还是不行。我怀疑是maildrop没装好,不然,在telnet localhost 110 时,就不会有那样的错误。
有兴趣登录到我的服务器上来,帮我找找原因吗?
作者: anstan 2005年6月8日 - 9:31
QUOTE (yanpeng @ 2005年6月8日 - 9:29)
是的,重启过了,还是不行。我怀疑是maildrop没装好,不然,在telnet localhost 110 时,就不会有那样的错误。
有兴趣登录到我的服务器上来,帮我找找原因吗?
可以的,我试试吧,把ip地址及相关信息发到我邮箱里吧。
anstan@126.com
作者: yanpeng 2005年6月8日 - 9:54
多谢。发到邮箱里了,您要用root权限吗?
作者: yanpeng 2005年6月8日 - 14:08
请问:
在openwebmail一节,后面的说明:
“openwebmail不支持Maildir,所以照这篇文章的设置,将不能收邮件,可以打个补丁(非官方提供),也可以把postfix改成Mailbox格式的” 
是不是说目前openwebmail不能用?可以不装?只装sgwebmail就足够了吧。
作者: anstan 2005年6月8日 - 15:02
QUOTE (yanpeng @ 2005年6月8日 - 14:08)
请问:
在openwebmail一节,后面的说明:
“openwebmail不支持Maildir,所以照这篇文章的设置,将不能收邮件,可以打个补丁(非官方提供),也可以把postfix改成Mailbox格式的” 
是不是说目前openwebmail不能用?可以不装?只装sgwebmail就足够了吧。
用squirrelmail吧
作者: yanpeng 2005年6月8日 - 15:11
求助:
我在postfixadmin中增加新用户,但不能自动生成邮箱,需要在操作系统中手工执行maildirmake.sh才行。
是不是在 var/www/postfixadmin/admin/create-mailbox.php中的
system("sudo /usr/sbin/maildirmake.sh $fDomain ".$_POST['fUsername']);
没有工作?
多谢。
作者: 梦幻傻傻 2005年6月8日 - 16:30
configure: loading cache .././config.cache
configure: error: `LDFLAGS' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd
是怎么回事啊 老兄帮帮我啊
楼上的老兄 那个等号两边要空一个格的
作者: anstan 2005年6月8日 - 16:46
QUOTE (梦幻傻傻 @ 2005年6月8日 - 16:30)
configure: loading cache .././config.cache
configure: error: `LDFLAGS' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd
是怎么回事啊 老兄帮帮我啊
楼上的老兄 那个等号两边要空一个格的
老兄,你能不能把问题说的详细一点,要有头有尾啊
作者: 梦幻傻傻 2005年6月8日 - 16:52
哦 忘了 是cyrus-sasl应用完补丁好重新编译的时候出现的错误
老兄能留个联系方式吗 最好是QQ 呵呵以后有什么问题可以请教一下哈
作者: anstan 2005年6月8日 - 17:01
QUOTE (梦幻傻傻 @ 2005年6月8日 - 16:52)
哦 忘了 是cyrus-sasl应用完补丁好重新编译的时候出现的错误
老兄能留个联系方式吗 最好是QQ 呵呵以后有什么问题可以请教一下哈
重新编译前有没有make distclean
作者: 梦幻傻傻 2005年6月8日 - 17:04
没有 呵呵 我是按照你的文章来安装的 谢谢老兄 非常感谢
作者: anstan 2005年6月8日 - 17:56
QUOTE (梦幻傻傻 @ 2005年6月8日 - 17:04)
没有 呵呵 我是按照你的文章来安装的 谢谢老兄 非常感谢
这个我就没写出来了,因为既然要加密,就不要编译完大补丁再重新编译了,只要先打补丁,再编译就可以了。
作者: 梦幻傻傻 2005年6月9日 - 16:49
老兄 那个openwebmail支持maildir的补丁从哪里下啊 怎么安装法啊 能不能说的详细点 还有要是用mailbox的话是怎么样设置 能不能说的详细点 俺看的头都快晕了
作者: anstan 2005年6月9日 - 19:31
QUOTE (梦幻傻傻 @ 2005年6月9日 - 16:49)
老兄 那个openwebmail支持maildir的补丁从哪里下啊 怎么安装法啊 能不能说的详细点 还有要是用mailbox的话是怎么样设置 能不能说的详细点 俺看的头都快晕了
那个补丁使用低版本的openwebmail,我也没试过,这两个我都没有试过,你要自己试了。
作者: 梦幻傻傻 2005年6月10日 - 11:02
#=====================Vritual Mailbox settings=========================
# 指定用户邮箱所在的根目录
virtual_mailbox_base = /var/mailbox/
#指定postfix如何去检索邮件用户,这里是采用mysql (用户邮箱的目录)
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
#邮件账号的uid, 使用apache的运行用户
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
#virtual_uid_maps = mysql:/etc/postfix/mysql/mysql-virtual_uid_maps.cf
#virtual_gid_maps = mysql:/etc/postfix/mysql/mysql-virtual_gid_maps.cf
# use this for virtual delivery(如果没有安装maildrop,则此处为virtual)
#virtual_transport = virtual
#use this for maildrop-delivery (如果有maildrop,则此处为maildrop)
virtual_transport = maildrop
#Maildrop-Options for usage with maildrop
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
#/var/mailbox/最后的"/"字符不能省略
#所有的MySQL查询配置文件统一存放在/etc/postfix/mysql中
#====================QUOTA========================
#每封信的最大大小(10M),postfix的默认值是10M, 但这指的是邮件正文和编码后附件的总和, 经过#base64编码,附件的大小会增加35%左右, 因此这里设定可接受邮件的大小为14M
message_size_limit = 14336000
#邮箱的默认大小(10M)
virtual_mailbox_limit = 20971520
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
#指定postfix如何获得用户的quota信息(每个用户的邮箱大小)
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
# 是否允许覆盖默认邮箱的大小
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
#====================SASL========================
broken_sasl_auth_clients = yes
#In order to allow mail relaying by authenticated clients
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,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
老兄 这些配置参数是在哪个文件里的
etc/postfix/main.cf
这个文件里没有这些参数 在etc/postfix/main.cf.default里面倒是有这些参数
作者: 梦幻傻傻 2005年6月10日 - 11:05
QUOTE (anstan @ 2005年6月9日 - 19:31)
QUOTE (梦幻傻傻 @ 2005年6月9日 - 16:49)
老兄 那个openwebmail支持maildir的补丁从哪里下啊 怎么安装法啊 能不能说的详细点 还有要是用mailbox的话是怎么样设置 能不能说的详细点 俺看的头都快晕了
那个补丁使用低版本的openwebmail,我也没试过,这两个我都没有试过,你要自己试了。
老兄 那你是怎么装的啊 选用maildir或mailbox都要改那些些参数啊 你这个文章列的软件是不是都需要安装啊 支持这两种格式还有其他的软件吗 是不是这两个格式都需要你文中所列举的所有软件
老兄 希望能把文章改好 帮助大家嘛 ! 你要是忙的话我可以帮你哈 我可以给你测试 呵呵


作者: anstan 2005年6月10日 - 12:33
QUOTE (梦幻傻傻 @ 2005年6月10日 - 11:02)
#=====================Vritual Mailbox settings=========================
# 指定用户邮箱所在的根目录
virtual_mailbox_base = /var/mailbox/
#指定postfix如何去检索邮件用户,这里是采用mysql (用户邮箱的目录)
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
#邮件账号的uid, 使用apache的运行用户
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
#virtual_uid_maps = mysql:/etc/postfix/mysql/mysql-virtual_uid_maps.cf
#virtual_gid_maps = mysql:/etc/postfix/mysql/mysql-virtual_gid_maps.cf
# use this for virtual delivery(如果没有安装maildrop,则此处为virtual)
#virtual_transport = virtual
#use this for maildrop-delivery (如果有maildrop,则此处为maildrop)
virtual_transport = maildrop
#Maildrop-Options for usage with maildrop
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
#/var/mailbox/最后的"/"字符不能省略
#所有的MySQL查询配置文件统一存放在/etc/postfix/mysql中
#====================QUOTA========================
#每封信的最大大小(10M),postfix的默认值是10M, 但这指的是邮件正文和编码后附件的总和, 经过#base64编码,附件的大小会增加35%左右, 因此这里设定可接受邮件的大小为14M
message_size_limit = 14336000
#邮箱的默认大小(10M)
virtual_mailbox_limit = 20971520
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
#指定postfix如何获得用户的quota信息(每个用户的邮箱大小)
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
# 是否允许覆盖默认邮箱的大小
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
#====================SASL========================
broken_sasl_auth_clients = yes
#In order to allow mail relaying by authenticated clients
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,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
老兄 这些配置参数是在哪个文件里的
etc/postfix/main.cf
这个文件里没有这些参数 在etc/postfix/main.cf.default里面倒是有这些参数
直接把这些参数加到main.cf后面就可以了
作者: anstan 2005年6月10日 - 12:34
QUOTE (梦幻傻傻 @ 2005年6月10日 - 11:05)
QUOTE (anstan @ 2005年6月9日 - 19:31)
QUOTE (梦幻傻傻 @ 2005年6月9日 - 16:49)
老兄 那个openwebmail支持maildir的补丁从哪里下啊 怎么安装法啊 能不能说的详细点 还有要是用mailbox的话是怎么样设置 能不能说的详细点 俺看的头都快晕了
那个补丁使用低版本的openwebmail,我也没试过,这两个我都没有试过,你要自己试了。
老兄 那你是怎么装的啊 选用maildir或mailbox都要改那些些参数啊 你这个文章列的软件是不是都需要安装啊 支持这两种格式还有其他的软件吗 是不是这两个格式都需要你文中所列举的所有软件
老兄 希望能把文章改好 帮助大家嘛 ! 你要是忙的话我可以帮你哈 我可以给你测试 呵呵


那你就用squirrelmail好了。
作者: yanpeng 2005年6月10日 - 16:31
安装amavisd-new 2.3.0 时,在最后执行:
#perl -MCPAN -e shell
cpan> install MIME::Words 时不能通过,错误信息:
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body...........ok
t/Decoder........ok
t/Entity.........ok
t/Gauntlet.......ok
t/Head...........ok
t/Misc...........FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser.........ok
t/Ref............ok
t/WordDecoder....ok
t/Words..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
 
请教是为什么?是RH缺东西吗?
作者: yanpeng 2005年6月10日 - 16:48
Spamassassin 和 amavisd-new 是不是装其中的一个就可以了?
作者: anstan 2005年6月10日 - 16:59
QUOTE (yanpeng @ 2005年6月10日 - 16:48)
Spamassassin 和 amavisd-new 是不是装其中的一个就可以了?
两个都装的
作者: anstan 2005年6月10日 - 17:01
QUOTE (yanpeng @ 2005年6月10日 - 16:31)
安装amavisd-new 2.3.0 时,在最后执行:
#perl -MCPAN -e shell
cpan> install MIME::Words 时不能通过,错误信息:
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body...........ok
t/Decoder........ok
t/Entity.........ok
t/Gauntlet.......ok
t/Head...........ok
t/Misc...........FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser.........ok
t/Ref............ok
t/WordDecoder....ok
t/Words..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
 
请教是为什么?是RH缺东西吗?
你的环境跟我不一样,你的是redhat8.0吧。你可以自己下载源码,编译安装。或者应该有个参数什么的,不用检查也能安装的吧
作者: 梦幻傻傻 2005年6月10日 - 18:14
我的squirrelmail密码不对的时候提示密码错误
对的时候就这样了 进不去是怎么回事 是哪里没设置好吗 出现这么一个提示
ERROR : Connection dropped by imap-server
我用的是加密的密码
看来问题还是出现在不能在/var/mailbox/下创建相对应的目录
是什么问题啊 是APACHE的问题吗?
作者: anstan 2005年6月10日 - 19:39
QUOTE (梦幻傻傻 @ 2005年6月10日 - 18:14)
我的squirrelmail密码不对的时候提示密码错误
对的时候就这样了 进不去是怎么回事 是哪里没设置好吗 出现这么一个提示
ERROR : Connection dropped by imap-server
我用的是加密的密码
看来问题还是出现在不能在/var/mailbox/下创建相对应的目录
是什么问题啊 是APACHE的问题吗?
看来应该是权限的问题
作者: 梦幻傻傻 2005年6月10日 - 20:12
我把权限都开成777都不行啊 不知道是怎么回事 是不是脚本问题 要不你重新贴一下脚本
我的APACHE的用户也是vmail 为什么不行那 搞不明白了 你要是有空上我的服务器帮我看一下吧
具体的什么要什么权限你说一下哈 谢谢了 老兄
作者: anstan 2005年6月10日 - 21:43
QUOTE (梦幻傻傻 @ 2005年6月10日 - 20:12)
我把权限都开成777都不行啊 不知道是怎么回事 是不是脚本问题 要不你重新贴一下脚本
我的APACHE的用户也是vmail 为什么不行那 搞不明白了 你要是有空上我的服务器帮我看一下吧
具体的什么要什么权限你说一下哈 谢谢了 老兄
把你的服务器相关信息发到我邮箱里吧,我试试
anstan@126.com
作者: 梦幻傻傻 2005年6月11日 - 11:26
刚才那个问题搞定了 呵呵 现在我看cat /var/log/maillog | grep maildrop -A 2
出现这个错误 从什么地方定义mysql.sock的位置啊
Jun 11 11:08:03 mail postfix/cleanup[2929]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket ' ar b/mysql/mysql.sock' (2)
--
Jun 11 11:08:03 mail postfix/pickup[2927]: warning: maildrop/B64E42FC3C0: Error writing message file
老兄这个是怎么回事啊
mysql的那个文件的位置从哪里配置啊
作者: bjyplbx 2005年6月14日 - 14:32
QUOTE (yanpeng @ 2005年6月10日 - 16:31)
安装amavisd-new 2.3.0 时,在最后执行:
#perl -MCPAN -e shell
cpan> install MIME::Words 时不能通过,错误信息:
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body...........ok
t/Decoder........ok
t/Entity.........ok
t/Gauntlet.......ok
t/Head...........ok
t/Misc...........FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser.........ok
t/Ref............ok
t/WordDecoder....ok
t/Words..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
 
请教是为什么?是RH缺东西吗?
你可以试着升级perl版本
作者: zyhjay 2005年6月14日 - 20:59
QUOTE (梦幻傻傻 @ 2005年6月11日 - 11:26)
刚才那个问题搞定了 呵呵 现在我看cat /var/log/maillog | grep maildrop -A 2
出现这个错误 从什么地方定义mysql.sock的位置啊
Jun 11 11:08:03 mail postfix/cleanup[2929]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket ' ar b/mysql/mysql.sock' (2)
--
Jun 11 11:08:03 mail postfix/pickup[2927]: warning: maildrop/B64E42FC3C0: Error writing message file
老兄这个是怎么回事啊
mysql的那个文件的位置从哪里配置啊
老兄,你是怎么搞定那个创建文件夹的。我一直都不成功呀。重装了N次了。n>5






作者: zyhjay 2005年6月14日 - 21:07
1、我一直没搞定自动创建邮箱文件夹。
2、POP3及SMTP都说密码不对。但用Postfixadmin也可以登录,包括在mysql数据库里看到密码也是对的。
3、我是RHAS3.0 执行以下
.......
cpan> install Archive::Zip (# export LANG=C)
老是不成功。执行/usr/local/sbin/amavisd debug时提示编译错误:找不到Gzip6
请问是什么问题呢
作者: anstan 2005年6月15日 - 8:39
QUOTE (zyhjay @ 2005年6月14日 - 21:07)
1、我一直没搞定自动创建邮箱文件夹。
2、POP3及SMTP都说密码不对。但用Postfixadmin也可以登录,包括在mysql数据库里看到密码也是对的。
3、我是RHAS3.0 执行以下
.......
cpan> install Archive::Zip (# export LANG=C)
老是不成功。执行/usr/local/sbin/amavisd debug时提示编译错误:找不到Gzip6
请问是什么问题呢
那是不是要先装gzip6啊,我在rhas4下试过,也是可以的,就是有一步不一样,哪里有点忘了,但肯定不是这里。
作者: anstan 2005年6月15日 - 8:42
QUOTE (zyhjay @ 2005年6月14日 - 21:07)
1、我一直没搞定自动创建邮箱文件夹。
2、POP3及SMTP都说密码不对。但用Postfixadmin也可以登录,包括在mysql数据库里看到密码也是对的。
3、我是RHAS3.0 执行以下
.......
cpan> install Archive::Zip (# export LANG=C)
老是不成功。执行/usr/local/sbin/amavisd debug时提示编译错误:找不到Gzip6
请问是什么问题呢
不能创建,一般是权限的问题。还有postfixadmin的配置文件
$CONF['domain_path'] = 'YES';
这个YES一定要大写啊
作者: yanpeng 2005年6月15日 - 16:24
按楼主的文档,已经全部装好。原来收发邮件很正常,但在把防病毒、垃圾邮件应用都装好后,却不能收发,信件都堆积到了队列里了。
现象是:
#mailq
98584F461D 414 Wed Jun 15 11:07:06 a@ceirh8.cei.gov.cn
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)
yanpeng@mx.cei.gov.cn
请问,有人遇到过吗,会是什么原因呢?
非常感谢。
作者: zyhjay 2005年6月15日 - 17:14
QUOTE (anstan @ 2005年6月15日 - 8:42)
QUOTE (zyhjay @ 2005年6月14日 - 21:07)
1、我一直没搞定自动创建邮箱文件夹。
2、POP3及SMTP都说密码不对。但用Postfixadmin也可以登录,包括在mysql数据库里看到密码也是对的。
3、我是RHAS3.0 执行以下
.......
cpan> install Archive::Zip (# export LANG=C)
老是不成功。执行/usr/local/sbin/amavisd debug时提示编译错误:找不到Gzip6
请问是什么问题呢
不能创建,一般是权限的问题。还有postfixadmin的配置文件
$CONF['domain_path'] = 'YES';
这个YES一定要大写啊
设置对了的呀,就是不行。
作者: anstan 2005年6月15日 - 21:22
QUOTE (yanpeng @ 2005年6月15日 - 16:24)
按楼主的文档,已经全部装好。原来收发邮件很正常,但在把防病毒、垃圾邮件应用都装好后,却不能收发,信件都堆积到了队列里了。
现象是:
#mailq
98584F461D 414 Wed Jun 15 11:07:06 a@ceirh8.cei.gov.cn
(lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)
yanpeng@mx.cei.gov.cn
请问,有人遇到过吗,会是什么原因呢?
非常感谢。
要是在freebsd下安装就简单多了。
作者: jason2003 2005年6月20日 - 10:46
使用maildirmake.sh为何每个域只能建一个用户。
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user test@test.com
+OK Password required.
pass test
+OK logged in
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user xie@test.com
+OK Password required.
pass xie
-ERR chdir test.com/xie/ failed
Connection closed by foreign host.
运行maildirmake.sh如下:
mkdir: cannot create directory `/var/mailbox/': File exists
教本好像有点问题,请帮忙看看
作者: anstan 2005年6月20日 - 16:07
不好意思,是maildirmake.sh有误
if [ ! -f /var/mailbox/$1 ]
有错,应该是
if [ ! -d /var/mailbox/$1 ]
作者: jason2003 2005年6月21日 - 16:24
谢谢anstan。 参考你的大作,邮件系统基本完成,不知道你能否提供一下杀毒模块。否则clamv只能防止垃圾邮件,对病毒邮件就无能为力了
作者: anstan 2005年6月21日 - 19:14
QUOTE (jason2003 @ 2005年6月21日 - 16:24)
谢谢anstan。 参考你的大作,邮件系统基本完成,不知道你能否提供一下杀毒模块。否则clamv只能防止垃圾邮件,对病毒邮件就无能为力了
clamav是防病毒的,spamassassin是防垃圾的。
作者: jason2003 2005年6月22日 - 9:25
amavisd.conf中有这么一句话
#@bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code
如果不去掉前面的#,所有的邮件都停滞在邮件队列里,不能正常收发。相关信息如下:
44E28101D5B 4636 Wed Jun 22 09:26:17 test@test.com
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02501-01, virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
test@test.com
作者: anstan 2005年6月22日 - 10:12
QUOTE (jason2003 @ 2005年6月22日 - 9:25)
amavisd.conf中有这么一句话
#@bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code
如果不去掉前面的#,所有的邮件都停滞在邮件队列里,不能正常收发。相关信息如下:
44E28101D5B 4636 Wed Jun 22 09:26:17 test@test.com
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02501-01, virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
test@test.com
取消这行注释,就是取消反病毒的功能。
因为你的clamav有问题,所以取消就好了。日志说找不到病毒扫描工具?
# netstat -an | grep LISTEN (应该可以看到这两个端口在监听)
127.0.0.1.10024 *.* 0 0 49152 0 LISTEN
127.0.0.1.10025 *.* 0 0 49152 0 LISTEN
这两个端口开着吗?
作者: jason2003 2005年6月22日 - 11:04
QUOTE (anstan @ 2005年6月22日 - 10:12)
QUOTE (jason2003 @ 2005年6月22日 - 9:25)
amavisd.conf中有这么一句话
#@bypass_virus_checks_maps = (1);  # uncomment to DISABLE anti-virus code
如果不去掉前面的#,所有的邮件都停滞在邮件队列里,不能正常收发。相关信息如下:
    44E28101D5B    4636 Wed Jun 22 09:26:17  test@test.com
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02501-01, virus_scan FAILED: virus_scan: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
                                        test@test.com
取消这行注释,就是取消反病毒的功能。
因为你的clamav有问题,所以取消就好了。日志说找不到病毒扫描工具?
# netstat -an | grep LISTEN (应该可以看到这两个端口在监听)
127.0.0.1.10024 *.* 0 0 49152 0 LISTEN
127.0.0.1.10025 *.* 0 0 49152 0 LISTEN
这两个端口开着吗?
谢谢anstan,我已经搞定了,是amavisd.conf中的设置有点问题。
作者: anstan 2005年6月22日 - 11:06
我的文档有问题吗?
作者: jason2003 2005年6月22日 - 13:01
有点小问题,等我小结一下贴上来
作者: zyhjay 2005年6月22日 - 13:13
QUOTE (anstan @ 2005年6月22日 - 11:06)
我的文档有问题吗?
我用RHAS3没成功。又在装RHAS4,看看能不能。
我装RHAS3的老是无法通过密码验证,我试过不用MD5加密的,也试过MD5加密的,在老大的文章中,我全是拷贝安装的呀,怎么会这样。
作者: anstan 2005年6月22日 - 13:18
QUOTE (zyhjay @ 2005年6月22日 - 13:13)
QUOTE (anstan @ 2005年6月22日 - 11:06)
我的文档有问题吗?
我用RHAS3没成功。又在装RHAS4,看看能不能。
我装RHAS3的老是无法通过密码验证,我试过不用MD5加密的,也试过MD5加密的,在老大的文章中,我全是拷贝安装的呀,怎么会这样。
不知道啊,我自己安装的时候没问题的啊。
作者: anstan 2005年6月22日 - 13:23
QUOTE (jason2003 @ 2005年6月22日 - 13:01)
有点小问题,等我小结一下贴上来
那我等着,到时候改一改,使后来人少走弯路。
作者: zyhjay 2005年6月22日 - 16:33
QUOTE (anstan @ 2005年6月22日 - 11:06)
我的文档有问题吗?
在RHAS 4 里安装,前面步骤全部正常,出现如下问题
1、[root@jxcom ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
USER test@test.com
+OK Password required.
PASS test
-ERR Temporary problem, please try again later
Connection closed by foreign host.
[root@jxcom ~]#
什么意思呢,我以前在RHAS 3 也是一样的。我按这个文档都装了8次了,都不成功。我好笨呀。老大,救救我吧。
作者: anstan 2005年6月22日 - 16:45
QUOTE (zyhjay @ 2005年6月22日 - 16:33)
QUOTE (anstan @ 2005年6月22日 - 11:06)
我的文档有问题吗?
在RHAS 4 里安装,前面步骤全部正常,出现如下问题
1、[root@jxcom ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
USER test@test.com
+OK Password required.
PASS test
-ERR Temporary problem, please try again later
Connection closed by foreign host.
[root@jxcom ~]#
什么意思呢,我以前在RHAS 3 也是一样的。我按这个文档都装了8次了,都不成功。我好笨呀。老大,救救我吧。
这个问题没碰到过,不是很清楚。
我给你我的authmysqlrc文件,你试试
http://anstan.go.nease.net/postfix/authmysqlrc.conf
下来后,把文件名改回来。
作者: jason2003 2005年6月22日 - 16:52
QUOTE (anstan @ 2005年6月22日 - 13:23)
QUOTE (jason2003 @ 2005年6月22日 - 13:01)
有点小问题,等我小结一下贴上来
那我等着,到时候改一改,使后来人少走弯路。
我试了一下squirrelmail的插件autorespond没有成功,configtest测试通过,你能试试吗
作者: anstan 2005年6月22日 - 16:54
这些插件是干什么的,能先介绍一下吗
作者: jason2003 2005年6月23日 - 9:25
这个插件是起autoreply和autoforward作用的
作者: william_teng 2005年6月24日 - 22:04
我安装后收发邮件失败,日志如下:
Jun 24 21:28:14 www postfix/cleanup[18085]: 6D8375E8ED: message-id=
Jun 24 21:28:14 www postfix/qmgr[17868]: 6D8375E8ED: from=, size=511, nrcpt=1 (queue active)
Jun 24 21:28:14 www postfix/smtpd[18080]: disconnect from www.namely.com.cn[127.0.0.1]
Jun 24 21:28:14 www pipe[18088]: fatal: pipe_comand: execvp argv=/usr/local/maildrop/bin/maildrop: No such file or directory
Jun 24 21:28:15 www postfix/pipe[18087]: 6D8375E8ED: to=, relay=maildrop, delay=1, status=bounced (Command died with status 1: "argv=/usr/local/maildrop/bin/maildrop")
Jun 24 21:28:15 www postfix/cleanup[18085]: 885C85E8EE: message-id=
Jun 24 21:28:15 www postfix/qmgr[17868]: 885C85E8EE: from=, size=2328, nrcpt=1 (queue active)
Jun 24 21:28:15 www postfix/qmgr[17868]: 6D8375E8ED: removed
请各位大虾指点一下.
作者: william_teng 2005年6月24日 - 22:08
还有我在postadmin中创建邮箱时,没有在相应目录下创建,而在/var/log/message日志中出现以下错误:
Jun 24 11:51:48 www sudo(pam_unix)[2761]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 11:53:14 www sudo(pam_unix)[2799]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:28:11 www sudo(pam_unix)[18078]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:33:55 www sudo(pam_unix)[18105]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:40:05 www sudo(pam_unix)[18144]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
我用的redhat 9系统
作者: anstan 2005年7月2日 - 21:42
QUOTE (william_teng @ 2005年6月24日 - 22:04)
我安装后收发邮件失败,日志如下:
Jun 24 21:28:14 www postfix/cleanup[18085]: 6D8375E8ED: message-id=
Jun 24 21:28:14 www postfix/qmgr[17868]: 6D8375E8ED: from=, size=511, nrcpt=1 (queue active)
Jun 24 21:28:14 www postfix/smtpd[18080]: disconnect from www.namely.com.cn[127.0.0.1]
Jun 24 21:28:14 www pipe[18088]: fatal: pipe_comand: execvp argv=/usr/local/maildrop/bin/maildrop: No such file or directory
Jun 24 21:28:15 www postfix/pipe[18087]: 6D8375E8ED: to=, relay=maildrop, delay=1, status=bounced (Command died with status 1: "argv=/usr/local/maildrop/bin/maildrop")
Jun 24 21:28:15 www postfix/cleanup[18085]: 885C85E8EE: message-id=
Jun 24 21:28:15 www postfix/qmgr[17868]: 885C85E8EE: from=, size=2328, nrcpt=1 (queue active)
Jun 24 21:28:15 www postfix/qmgr[17868]: 6D8375E8ED: removed
请各位大虾指点一下.
maildrop的问题,但是不知道是什么问题,(旁白:那你说什么废话)。
作者: anstan 2005年7月2日 - 21:44
QUOTE (william_teng @ 2005年6月24日 - 22:08)
还有我在postadmin中创建邮箱时,没有在相应目录下创建,而在/var/log/message日志中出现以下错误:
Jun 24 11:51:48 www sudo(pam_unix)[2761]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 11:53:14 www sudo(pam_unix)[2799]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:28:11 www sudo(pam_unix)[18078]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:33:55 www sudo(pam_unix)[18105]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
Jun 24 21:40:05 www sudo(pam_unix)[18144]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=vmail
我用的redhat 9系统
这个你应该解决了吧,希望大家能象梦幻傻傻朋友一样,能把自己遇到了什么问题,是怎么解决的写出来,帮助后来人。
作者: william_teng 2005年7月3日 - 10:23
QUOTE (anstan @ 2005年7月2日 - 21:42)
QUOTE (william_teng @ 2005年6月24日 - 22:04)
我安装后收发邮件失败,日志如下:
Jun 24 21:28:14 www postfix/cleanup[18085]: 6D8375E8ED: message-id=
Jun 24 21:28:14 www postfix/qmgr[17868]: 6D8375E8ED: from=, size=511, nrcpt=1 (queue active)
Jun 24 21:28:14 www postfix/smtpd[18080]: disconnect from www.namely.com.cn[127.0.0.1]
Jun 24 21:28:14 www pipe[18088]: fatal: pipe_comand: execvp argv=/usr/local/maildrop/bin/maildrop: No such file or directory
Jun 24 21:28:15 www postfix/pipe[18087]: 6D8375E8ED: to=, relay=maildrop, delay=1, status=bounced (Command died with status 1: "argv=/usr/local/maildrop/bin/maildrop")
Jun 24 21:28:15 www postfix/cleanup[18085]: 885C85E8EE: message-id=
Jun 24 21:28:15 www postfix/qmgr[17868]: 885C85E8EE: from=, size=2328, nrcpt=1 (queue active)
Jun 24 21:28:15 www postfix/qmgr[17868]: 6D8375E8ED: removed
请各位大虾指点一下.
maildrop的问题,但是不知道是什么问题,(旁白:那你说什么废话)。
重试了几次还不行,我姑且先放着,后面再研究吧.
作者: william_teng 2005年7月3日 - 10:29
QUOTE (anstan @ 2005年7月2日 - 21:44)
QUOTE (william_teng @ 2005年6月24日 - 22:08)
还有我在postadmin中创建邮箱时,没有在相应目录下创建,而在/var/log/message日志中出现以下错误:
Jun 24 11:51:48 www sudo(pam_unix)[2761]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 11:53:14 www sudo(pam_unix)[2799]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:28:11 www sudo(pam_unix)[18078]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:33:55 www sudo(pam_unix)[18105]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:40:05 www sudo(pam_unix)[18144]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
我用的redhat 9系统
这个你应该解决了吧,希望大家能象梦幻傻傻朋友一样,能把自己遇到了什么问题,是怎么解决的写出来,帮助后来人。
重装一次后这个问题解决了,但不知道到底是什么原因.
我本来想把楼主的安装方法整理成安装脚本,昨天在调试时运行maildirdel.sh脚本时不小心将我的安装脚本全删除了.我晕.......
作者: anstan 2005年7月3日 - 13:01
QUOTE (william_teng @ 2005年7月3日 - 10:29)
重装一次后这个问题解决了,但不知道到底是什么原因.
我本来想把楼主的安装方法整理成安装脚本,昨天在调试时运行maildirdel.sh脚本时不小心将我的安装脚本全删除了.我晕.......
完了也给我一份
作者: william_teng 2005年7月3日 - 18:04
QUOTE (anstan @ 2005年7月3日 - 13:01)
完了也给我一份
我现在只得从头开始了,工作又比较忙,可能要一段时间.中间有问题还要多多的麻烦你啰!
作者: william_teng 2005年7月12日 - 19:29
QUOTE (william_teng @ 2005年7月3日 - 10:23)
QUOTE (anstan @ 2005年7月2日 - 21:42)
QUOTE (william_teng @ 2005年6月24日 - 22:04)
我安装后收发邮件失败,日志如下:
Jun 24 21:28:14 www postfix/cleanup[18085]: 6D8375E8ED: message-id=
Jun 24 21:28:14 www postfix/qmgr[17868]: 6D8375E8ED: from=, size=511, nrcpt=1 (queue active)
Jun 24 21:28:14 www postfix/smtpd[18080]: disconnect from www.namely.com.cn[127.0.0.1]
Jun 24 21:28:14 www pipe[18088]: fatal: pipe_comand: execvp argv=/usr/local/maildrop/bin/maildrop: No such file or directory
Jun 24 21:28:15 www postfix/pipe[18087]: 6D8375E8ED: to=, relay=maildrop, delay=1, status=bounced (Command died with status 1: "argv=/usr/local/maildrop/bin/maildrop")
Jun 24 21:28:15 www postfix/cleanup[18085]: 885C85E8EE: message-id=
Jun 24 21:28:15 www postfix/qmgr[17868]: 885C85E8EE: from=, size=2328, nrcpt=1 (queue active)
Jun 24 21:28:15 www postfix/qmgr[17868]: 6D8375E8ED: removed
请各位大虾指点一下.
maildrop的问题,但是不知道是什么问题,(旁白:那你说什么废话)。
重试了几次还不行,我姑且先放着,后面再研究吧.
终于找到原因了,楼主说得没错.我误在配置时多加了一个"argv=" 将flags=DRhu user=vmail argv=/home/postfix/maildrop/bin/maildrop -w 90 -d ${recipient}打成flags=DRhu user=vmail argv=argv=/home/postfix/maildrop/bin/maildrop -w 90 -d ${recipient}了,看来在配置时要多多小心!!
作者: william_teng 2005年7月12日 - 20:20
QUOTE (william_teng @ 2005年7月3日 - 10:29)
QUOTE (anstan @ 2005年7月2日 - 21:44)
QUOTE (william_teng @ 2005年6月24日 - 22:08)
还有我在postadmin中创建邮箱时,没有在相应目录下创建,而在/var/log/message日志中出现以下错误:
Jun 24 11:51:48 www sudo(pam_unix)[2761]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 11:53:14 www sudo(pam_unix)[2799]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:28:11 www sudo(pam_unix)[18078]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:33:55 www sudo(pam_unix)[18105]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
Jun 24 21:40:05 www sudo(pam_unix)[18144]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=vmail
我用的redhat 9系统
这个你应该解决了吧,希望大家能象梦幻傻傻朋友一样,能把自己遇到了什么问题,是怎么解决的写出来,帮助后来人。
重装一次后这个问题解决了,但不知道到底是什么原因.
我本来想把楼主的安装方法整理成安装脚本,昨天在调试时运行maildirdel.sh脚本时不小心将我的安装脚本全删除了.我晕.......
我再试一次时又不能在postfixadmin中创建邮箱了,真不知道是什么原因,晕..........
作者: william_teng 2005年7月13日 - 19:19
我安装完成后发现e-mail时日志中总是显示不能打开邮箱:
Jul 13 03:35:13 www maildrop[14523]: Unable to open mailbox.
将/etc/maildroprc中的 to 一行改为某一用户邮箱路径才可以正常发送,但是给所有用户的信都发送到这一个邮箱中了.
如我有一个用户邮箱为,我就将/etc/maildroprc改为:
logfile "/var/mailbox/maildrop.log"
to "/var/mailbox/test.com/test"
所有的邮件都发送到test@test.com邮箱中了,请问楼主的$HOME$DEFAULT需要怎么修改呢.
作者: anstan 2005年7月16日 - 9:41
QUOTE (william_teng @ 2005年7月13日 - 19:19)
我安装完成后发现e-mail时日志中总是显示不能打开邮箱:
Jul 13 03:35:13 www maildrop[14523]: Unable to open mailbox.
将/etc/maildroprc中的 to 一行改为某一用户邮箱路径才可以正常发送,但是给所有用户的信都发送到这一个邮箱中了.
如我有一个用户邮箱为,我就将/etc/maildroprc改为:
logfile "/var/mailbox/maildrop.log"
to "/var/mailbox/test.com/test"
所有的邮件都发送到test@test.com邮箱中了,请问楼主的$HOME$DEFAULT需要怎么修改呢.
改成$HOME/$DEFAULT试试
作者: william_teng 2005年7月16日 - 15:55
$HOME/$DEFAULT我也试过都不行,请问anstan跟maildrop相关的配置说明在哪里能找到,我也看到你将$HOME/$DEFAULT改为$HOME$DEFAULT就成功的帖子.可是我的就是不行,帮忙提提建议或提供一些参考资料吧.
作者: anstan 2005年7月16日 - 16:44
QUOTE (william_teng @ 2005年7月16日 - 15:55)
$HOME/$DEFAULT我也试过都不行,请问anstan跟maildrop相关的配置说明在哪里能找到,我也看到你将$HOME/$DEFAULT改为$HOME$DEFAULT就成功的帖子.可是我的就是不行,帮忙提提建议或提供一些参考资料吧.
他的官方网站http://www.courier-mta.org 的Documentation下有maildrop的文章,不知道有没有帮助。
作者: william_teng 2005年7月16日 - 19:10
QUOTE (anstan @ 2005年7月16日 - 16:44)
QUOTE (william_teng @ 2005年7月16日 - 15:55)
$HOME/$DEFAULT我也试过都不行,请问anstan跟maildrop相关的配置说明在哪里能找到,我也看到你将$HOME/$DEFAULT改为$HOME$DEFAULT就成功的帖子.可是我的就是不行,帮忙提提建议或提供一些参考资料吧.
他的官方网站http://www.courier-mta.org 的Documentation下有maildrop的文章,不知道有没有帮助。
谢谢anstan的提示,我通过在/etc/maildroprc文件中加入log语句发现我的$HOME和$DEFAULT两个变量为
$HOME = /var/mailbox/
$DEFAULT = /var/spool/mail/test@test.com
可是我已经将postfix配置文件设置如下了呀:
home_mailbox = Maildir/
virtual_mailbox_base = /var/mailbox/
大家帮忙看看是怎么回事呀?
另外,我禁用maildrop后就可以发邮件,是maildrop 的配置问题吗??
作者: william_teng 2005年7月17日 - 11:10
还有我用pop3或imap时都提示说进入Maildir失败:
chdir ./Maildir: No such file or directory
是不是我的imap安装有问题,然后还连累了maildrop不能正常使用但是我并没找到imap中的相关设置,请大家帮帮忙吧。
作者: anstan 2005年7月18日 - 9:10
QUOTE (william_teng @ 2005年7月16日 - 19:10)
QUOTE (anstan @ 2005年7月16日 - 16:44)
QUOTE (william_teng @ 2005年7月16日 - 15:55)
$HOME/$DEFAULT我也试过都不行,请问anstan跟maildrop相关的配置说明在哪里能找到,我也看到你将$HOME/$DEFAULT改为$HOME$DEFAULT就成功的帖子.可是我的就是不行,帮忙提提建议或提供一些参考资料吧.
他的官方网站http://www.courier-mta.org 的Documentation下有maildrop的文章,不知道有没有帮助。
谢谢anstan的提示,我通过在/etc/maildroprc文件中加入log语句发现我的$HOME和$DEFAULT两个变量为
$HOME = /var/mailbox/
$DEFAULT = /var/spool/mail/test@test.com
可是我已经将postfix配置文件设置如下了呀:
home_mailbox = Maildir/
virtual_mailbox_base = /var/mailbox/
大家帮忙看看是怎么回事呀?
另外,我禁用maildrop后就可以发邮件,是maildrop 的配置问题吗??
我看了一下,maildrop的$HOME合$DEFAULT应该是对应authmysqlrc文件中的MYSQL_HOME_FIELD和MYSQL_MAILDIR_FIELD吧
作者: anstan 2005年7月18日 - 9:14
QUOTE (william_teng @ 2005年7月17日 - 11:10)
还有我用pop3或imap时都提示说进入Maildir失败:
chdir ./Maildir: No such file or directory
是不是我的imap安装有问题,然后还连累了maildrop不能正常使用但是我并没找到imap中的相关设置,请大家帮帮忙吧。
因为你的邮件用户目录下没有Maildir这个目录吧,邮件直接在/var/mailbox/test.com/test下,而不是在/var/mailbox/test.com/test/Maildir下
作者: yanpeng 2005年7月22日 - 16:57
启动 amavis 后不能收发邮件,maillog日志如下:
。。。
Jul 22 16:33:13 ceirh8 amavis[13094]: (13094-01) TROUBLE in process_request: Can
't locate auto/Digest/MD5/clone.al in @INC (@INC contains: /usr/lib/perl5/5.8.0/
i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386
-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr
/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /u
sr/lib/perl5/5.8.0) at /usr/local/sbin/amavisd line 1451
Jul 22 16:33:13 ceirh8 amavis[13094]: (13094-01) Requesting process rundown afte
r fatal error
Jul 22 16:33:14 ceirh8 amavis[13094]: (13094-01) SMTP shutdown: tempdir is to be
PRESERVED: /var/amavis/tmp/amavis-20050722T163312-13094
Jul 22 16:33:14 ceirh8 postfix/smtp[13167]: 32394F4416: to=
, relay=127.0.0.1[127.0.0.1], delay=4, status=deferred (lost connection with 127
.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than onc
e)
。。。。
哪位能帮忙分析原因,多谢了
作者: william_teng 2005年7月24日 - 16:54
QUOTE (anstan @ 2005年7月18日 - 9:10)
我看了一下,maildrop的$HOME合$DEFAULT应该是对应authmysqlrc文件中的MYSQL_HOME_FIELD和MYSQL_MAILDIR_FIELD吧
非常感谢anstan,因为我在authlib的安装脚本中落了没有修改MYSQL_MAILDIR_FIELD变量而引起了我前面提到的一系列问题,将这一行前面的注释去掉后就正常了.
作者: william_teng 2005年7月24日 - 16:58
QUOTE (yanpeng @ 2005年7月22日 - 16:57)
启动 amavis 后不能收发邮件,maillog日志如下:
。。。
Jul 22 16:33:13 ceirh8 amavis[13094]: (13094-01) TROUBLE in process_request: Can
't locate auto/Digest/MD5/clone.al in @INC (@INC contains: /usr/lib/perl5/5.8.0/
i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386
-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr
/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /u
sr/lib/perl5/5.8.0) at /usr/local/sbin/amavisd line 1451
Jul 22 16:33:13 ceirh8 amavis[13094]: (13094-01) Requesting process rundown afte
r fatal error
Jul 22 16:33:14 ceirh8 amavis[13094]: (13094-01) SMTP shutdown: tempdir is to be
PRESERVED: /var/amavis/tmp/amavis-20050722T163312-13094
Jul 22 16:33:14 ceirh8 postfix/smtp[13167]: 32394F4416: to=
, relay=127.0.0.1[127.0.0.1], delay=4, status=deferred (lost connection with 127
.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than onc
e)
。。。。
哪位能帮忙分析原因,多谢了
应该是没有安装auto::Digest::MD5::clone模块引起的,你用perl -MCPAN -e shell命令进入安装这个模块试试.
作者: jason2003 2005年7月25日 - 14:34
pstree|grep amavisd 输出结果是什么 估计amavisd process没起来
作者: feifacz 2005年8月4日 - 0:10
我也來說一下,我的情況,跟上面的有些是一樣的!但不好解決!
一步一步跟着你的设置,到postfixadmin还可以正常配置管理员,邮箱啊什么的,但是到
测试maildrop的时候,出现如下提示(在设置的过程当中,使用了真实的域名)
[root@szbluejay DBI-1.48]# maildrop -V 9 -d test@bluejay.jss.cn
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@bluejay.jss.cn, home=var/mailbox/, mail=bluejay.jss.cn/test/
maildrop: Changing to var/mailbox/
maildrop: Unable to change to home directory.
然后,我没有看postfix和maildrop是不是一起工作,也没有接着配置下面的quotas,就直
接开始安装webmail,安装sqwebmail步骤很正常,但是却用test@bluejay.jss.cn登录不了,说
是INVALID USER ID OR PASSWORD 密码我应该是不会输入错误的,加密都是用的MD5,会不会是
这个问题?
接着我双安装squirrelmail,安装过程还是正常,但通过http://www.bluejay.jss.cn/squirrelmail/src/login.php访问页面,输入test@bluejay.jss.cn
和密码之后,出现
ERROR:
ERROR : Connection dropped by imap-server.
是不是说明我哪里设置不正确?
原来打算继续安装Openwebmail的,但看到说不可以接收邮件,所以就放弃了!下面的病毒部分也不做了。
其实我现在的要求是,在服务器上建一个这样子的邮件服务器,不需要象你的这么强大,你指点一下,在我的服务器上,需要有几个域名,比如bluejay.jss.cn,szbluejay.jss.cn而abc@bluejay.jss.cn和abc@szbluejay.jss.cn非同一个用户,是分开的,邮箱需要WEBMAIL和SMTP+POP3收发邮件,以前我做过的SENDMAIL+OPENWEBMAIL使用的系统用户,WEB和POP3+SMTP收发邮件都没有问题,只是碰到2个域3個域,就不知道怎么操作了,希望可以得到你的指点,先在这里谢谢了!
为了方便联系,加我QQ:119255 谢谢!加好友时,说明是LINUX爱好者。
作者: william_teng 2005年8月6日 - 12:41
QUOTE (feifacz @ 2005年8月4日 - 0:10)
测试maildrop的时候,出现如下提示(在设置的过程当中,使用了真实的域名)
[root@szbluejay DBI-1.48]# maildrop -V 9 -d test@bluejay.jss.cn
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@bluejay.jss.cn, home=var/mailbox/, mail=bluejay.jss.cn/test/
maildrop: Changing to var/mailbox/
maildrop: Unable to change to home directory.
很明显你的$HOME变量设置错误:你将/var/mailbox 误设为var/mailbox了.
作者: me_0218 2005年8月10日 - 19:25
QUOTE (yanpeng @ 2005年6月10日 - 16:31)
安装amavisd-new 2.3.0 时,在最后执行:
#perl -MCPAN -e shell
cpan> install MIME::Words 时不能通过,错误信息:
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body...........ok
t/Decoder........ok
t/Entity.........ok
t/Gauntlet.......ok
t/Head...........ok
t/Misc...........FAILED tests 4-5, 7-11
Failed 7/14 tests, 50.00% okay
t/Parser.........ok
t/Ref............ok
t/WordDecoder....ok
t/Words..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Misc.t 14 7 50.00% 4-5 7-11
Failed 1/10 test scripts, 90.00% okay. 7/231 subtests failed, 96.97% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
 
请教是为什么?是RH缺东西吗?
我也有这个问题。
正在查找。。。
作者: me_0218 2005年8月10日 - 19:35
搞定,只要将perl 的组建装全就可以了。
作者: wangpeng18 2005年8月22日 - 10:21
110登陆没有问题 但是使用SMTP 25 发信不可以
不能验证成功
Aug 22 02:16:57 mail postfix/smtpd[1942]: warning: unknown[192.168.0.5]: SASL LOGIN authentication failed
Aug 22 02:16:57 mail postfix/smtpd[1942]: disconnect from unknown[192.168.0.5]
Aug 22 02:16:58 mail postfix/smtpd[1942]: connect from unknown[192.168.0.5]
Aug 22 02:16:58 mail postfix/smtpd[1942]: warning: unknown[192.168.0.5]: SASL LOGIN authentication failed
Aug 22 02:16:58 mail postfix/smtpd[1942]: disconnect from unknown[192.168.0.5]
Aug 22 02:16:58 mail postfix/smtpd[1942]: connect from unknown[192.168.0.5]
Aug 22 02:16:58 mail postfix/smtpd[1942]: warning: unknown[192.168.0.5]: SASL LOGIN authentication failed
Aug 22 02:16:58 mail postfix/smtpd[1942]: disconnect from unknown[192.168.0.5]
Aug 22 02:17:09 mail postfix/smtpd[1942]: connect from unknown[192.168.0.5]
Aug 22 02:17:09 mail postfix/smtpd[1942]: warning: unknown[192.168.0.5]: SASL LOGIN authentication failed
Aug 22 02:17:09 mail postfix/smtpd[1942]: disconnect from unknown[192.168.0.5]
Aug 22 02:17:10 mail pop3d: Connection, ip=[::ffff:192.168.0.5]
Aug 22 02:17:10 mail pop3d: LOGIN, user=ddd@ttyy.com, ip=[::ffff:192.168.0.5]
Aug 22 02:17:10 mail pop3d: LOGOUT, user=ddd@ttyy.com, ip=[::ffff:192.168.0.5], top=0, retr=0, time=0
Aug 22 02:17:15 mail pop3d: Connection, ip=[::ffff:192.168.0.5]
Aug 22 02:17:15 mail pop3d: LOGIN, user=ddd@ttyy.com, ip=[::ffff:192.168.0.5]
Aug 22 02:17:15 mail pop3d: LOGOUT, user=ddd@ttyy.com, ip=[::ffff:192.168.0.5], top=0, retr=0, time=0
Aug 22 02:17:18 mail pop3d: Connection, ip=[::ffff:192.168.0.5]
作者: wangpeng18 2005年8月22日 - 12:51
查看maildrop和POSTFIX 工作提示
mail maildrop[11194]: Invalid home directory permissions - world writable.
[root@mail maildrop-1.8.1]# maildrop -V 9 -d qwe@ttyy.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=qwe@ttyy.com, home=/var/mailbox/, mail=ttyy.com/qwe/
maildrop: Changing to /var/mailbox/
maildrop: signal 0x02
[root@mail maildrop-1.8.1]# cat /var/log/maillog | grep maildrop -A 2
Aug 22 03:29:58 mail maildrop[11194]: Invalid home directory permissions - world writable.
Aug 22 03:35:48 mail postfix/smtpd[11230]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Aug 22 03:35:48 mail postfix/smtpd[11230]: connect from mail[127.0.0.1]
[root@mail maildrop-1.8.1]#
作者: wangpeng18 2005年8月23日 - 12:45
发现是编译安装POSFTFIX 有问题
如下
错误
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
rm -f Makefile; (cat conf/makedefs.out Makefile.in) >Makefile
到这步就跳出了 回目录了
[root@mail postfix-2.2.3]#
步骤:
[root@mail postfix]# cd postfix-2.2.3
[root@mail postfix-2.2.3]# make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysq
l -DUSE_SASL_AUTH -I/usr/include/sasl'
[root@mail postfix-2.2.3]# make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL
_AUTH -I/usr/local/include/sasl' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'
make -f Makefile.in MAKELEVEL= Makefiles
[root@mail postfix-2.2.3]#
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp; \
else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null
set -e; for i in src/util src/global src/dns src/tls src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/global]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/dns]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/tls]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/master]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/postfix]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtpstone]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/sendmail]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/error]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/pickup]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/cleanup]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtpd]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/local]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/lmtp]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/trivial-rewrite]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/qmgr]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/oqmgr]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/smtp]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/bounce]
(cat ../../conf/makedefs.out Makefile.in) >Makefil
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/discard]
(cat ../../conf/makedefs.out Makefile.in) >Makefile
[src/tlsmgr]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
rm -f Makefile; (cat conf/makedefs.out Makefile.in) >Makefile
作者: william_teng 2005年8月23日 - 16:33
网易免费空间停止服务了,楼主的blog换地方了吗?
作者: wangpeng18 2005年8月29日 - 14:48
安装amavisd-new-2.3.2时,在测试和启动时,出现下列错误:
# /usr/local/sbin/amavisd start
Digest::MD5 version 2.22 required--this is only version 2.20 at /usr/local/sbin/
amavisd line 1362.
BEGIN failed--compilation aborted at /usr/local/sbin/amavisd line 1362.
是Digest::MD5 版本高了还是低了
如何解决
作者: william_teng 2005年8月29日 - 18:44
QUOTE (wangpeng18 @ 2005年8月29日 - 14:48)
安装amavisd-new-2.3.2时,在测试和启动时,出现下列错误:
# /usr/local/sbin/amavisd start
Digest::MD5 version 2.22 required--this is only version 2.20 at /usr/local/sbin/
amavisd line 1362.
BEGIN failed--compilation aborted at /usr/local/sbin/amavisd line 1362.
是Digest::MD5 版本高了还是低了
如何解决
是md5的版本低了,你安装2.20以上版本的Digest::MD5即可.
作者: wangpeng18 2005年8月29日 - 22:18
是Digets-Md5.2.22.tar.gz 这个包吗 安装不上啊
作者: DUNAI 2005年9月5日 - 8:15
我按照 置顶的“postfix邮件系统” 原文安装好不容易安装到maildrop这一段。上面包括telnet localhost 25 何telnetlocalhost 110 都正常!但就是在安装maildrop时输入cat /var/log/maillog | grep maildrop -A 2 命令毫无反应。我在outlook中试验服务器时可发不可收。
对此我毫无办法 请高手给于指点! 感激不尽!
以下未maillog的记录
Sep 3 11:01:32 newmail postfix/local[2700]: 54F6A2C825: to=, relay=local, delay=0, status=bounced (unknown user: "test")
Sep 3 11:01:32 newmail postfix/cleanup[2698]: 7CC7C2C84D: message-id=
Sep 3 11:01:32 newmail postfix/qmgr[2691]: 7CC7C2C84D: from=, size=3010, nrcpt=1 (queue active)
Sep 3 11:01:32 newmail postfix/qmgr[2691]: 54F6A2C825: removed
Sep 3 11:01:32 newmail postfix/local[2700]: 7CC7C2C84D: to=, relay=local, delay=0, status=bounced (unknown user: "test")
Sep 3 11:01:32 newmail postfix/qmgr[2691]: 7CC7C2C84D: removed
Sep 3 11:01:46 newmail pop3d: Connection, ip=[::ffff:10.0.0.217]
Sep 3 11:01:46 newmail pop3d: LOGIN, user=test@test.com, ip=[::ffff:10.0.0.217]
Sep 3 11:01:46 newmail pop3d: LOGOUT, user=test@test.com, ip=[::ffff:10.0.0.217], top=0, retr=0, time=0
Sep 3 11:01:46 newmail pop3d: Connection, ip=[::ffff:10.0.0.217]
Sep 3 11:01:46 newmail pop3d: LOGIN, user=meibao@test.com, ip=[::ffff:10.0.0.217]
Sep 3 11:01:46 newmail pop3d: LOGOUT, user=meibao@test.com, ip=[::ffff:10.0.0.217], top=0, retr=0, time=0
作者: DUNAI 2005年9月7日 - 17:34
我telnet localhost 25 和110都可以通过但是 cat /var/log/maillog | grep maildrop -A 2 先是如下:
Sep 7 17:01:37 newmail maildrop[16370]: Unable to open mailbox.
Sep 7 17:01:37 newmail postfix/pipe[16369]: 34B3F64907: to=, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: /usr/local/maildrop/bin/maildrop: Unable to open mailbox. )
我的mailbox目录都是 mkdir /var/mailbox
# chown -R vmail:vmail /var/mailbox
# chmod -R ug+rwx,o-rwx /var/mailbox
希望高手给于解答!
作者: fei 2005年9月27日 - 14:15
需要加上邮件列表的部分----mailman我总是和本文的postfix连不上---mysql问题---
作者: zhanghuiwo 2005年10月7日 - 16:57
兄弟们:快帮帮我,为什么我的POSTFIX有这么多错误日志,邮件系统现在不能启动了,快帮我分析一下,我困了很久,我是按照作者的文章做的.
请作者兄弟伸出温暖之手救小弟一把,小第感激不尽.
Oct 7 11:17:06 mail sendmail[3790]: alias database /etc/aliases rebuilt by root
Oct 7 11:17:06 mail sendmail[3790]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Oct 7 11:17:06 mail sendmail[3803]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Oct 7 11:17:06 mail sm-msp-queue[3812]: starting daemon (8.12.8): queueing@01:00:00
Oct 7 12:52:34 mail sendmail[3777]: alias database /etc/aliases rebuilt by root
Oct 7 12:52:34 mail sendmail[3777]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Oct 7 12:52:34 mail sendmail[3790]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Oct 7 12:52:34 mail sm-msp-queue[3799]: starting daemon (8.12.8): queueing@01:00:00
Oct 7 15:43:59 mail postfix[5127]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/sendmail[5150]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/postalias[5150]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/postalias[5150]: warning: /etc/aliases.db: duplicate entry: "postfix"
Oct 7 15:45:30 mail postfix/postalias[5153]: warning: /etc/aliases.db: duplicate entry: "postfix"
Oct 7 16:37:30 mail postfix/postfix-script: starting the Postfix mail system
Oct 7 16:37:30 mail postfix/master[5641]: daemon started -- version 2.2.3, configuration /etc/postfix
Oct 7 16:37:54 mail postfix/smtpd[5646]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:37:54 mail postfix/smtpd[5646]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:37:55 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5646 exit status 1
Oct 7 16:37:55 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Oct 7 16:38:55 mail postfix/smtpd[5648]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:38:55 mail postfix/smtpd[5648]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:38:56 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5648 exit status 1
Oct 7 16:38:56 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Oct 7 16:39:56 mail postfix/smtpd[5651]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:39:56 mail postfix/smtpd[5651]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:39:57 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5651 exit status 1
Oct 7 16:39:57 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
作者: zhanghuiwo 2005年10月7日 - 17:01
Oct 7 11:17:06 mail sendmail[3790]: alias database /etc/aliases rebuilt by root
Oct 7 11:17:06 mail sendmail[3790]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Oct 7 11:17:06 mail sendmail[3803]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Oct 7 11:17:06 mail sm-msp-queue[3812]: starting daemon (8.12.8): queueing@01:00:00
Oct 7 12:52:34 mail sendmail[3777]: alias database /etc/aliases rebuilt by root
Oct 7 12:52:34 mail sendmail[3777]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Oct 7 12:52:34 mail sendmail[3790]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Oct 7 12:52:34 mail sm-msp-queue[3799]: starting daemon (8.12.8): queueing@01:00:00
Oct 7 15:43:59 mail postfix[5127]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/sendmail[5150]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/postalias[5150]: warning: My hostname mail is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Oct 7 15:44:15 mail postfix/postalias[5150]: warning: /etc/aliases.db: duplicate entry: "postfix"
Oct 7 15:45:30 mail postfix/postalias[5153]: warning: /etc/aliases.db: duplicate entry: "postfix"
Oct 7 16:37:30 mail postfix/postfix-script: starting the Postfix mail system
Oct 7 16:37:30 mail postfix/master[5641]: daemon started -- version 2.2.3, configuration /etc/postfix
Oct 7 16:37:54 mail postfix/smtpd[5646]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:37:54 mail postfix/smtpd[5646]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:37:55 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5646 exit status 1
Oct 7 16:37:55 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Oct 7 16:38:55 mail postfix/smtpd[5648]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:38:55 mail postfix/smtpd[5648]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:38:56 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5648 exit status 1
Oct 7 16:38:56 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Oct 7 16:39:56 mail postfix/smtpd[5651]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 7 16:39:56 mail postfix/smtpd[5651]: fatal: open /etc/postfix/mysql/mysql_virtual_alias_maps.cf: No such file or directory
Oct 7 16:39:57 mail postfix/master[5641]: warning: process /usr/libexec/postfix/smtpd pid 5651 exit status 1
Oct 7 16:39:57 mail postfix/master[5641]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
作者: wenwuai 2005年11月24日 - 11:02
哎!我晚了一步呀! 我现在才开始建postfix邮件系统. 可是我装完测试时和telnet 25和110都没有通过呀.但是netstat时.所有的端口都能监测到! 请问各位大哥这是怎么回事呀?
我该怎么找出问题来呀. 一开始安装时都没有提示错误的呀.对了.我用的是redhat linux 9
作者: xiaodixiaodi 2005年12月12日 - 16:37
postfixadmin建管理员及域都成功,但建邮箱却提示非法邮件!
请各位达人帮忙!
作者: aaa99999 2005年12月30日 - 21:13
我也遇到了添加邮箱之后在mailbox下不会自动创建文件夹的问题,不过我的问题是因为我没有创建vmail这个用户,我使用的是其它的用户,而且,在maildirmake.sh里,我忘了用那个用户名替换vmail了,这个错误改掉之后,可能又不小心去掉了maildirmake.sh 和maildirdel.sh可执行属性。
现在已经没问题了
不过,有一点想请教楼主,当在postfixadmin里删除一个域之后,mailbox里该域的文件夹并不会被删除,是不是要写个sh脚本去完成?
作者: dgvri 2006年1月4日 - 16:25
如果我只想用客户端收发邮件,不需要WEB登陆,所有用户手动在数据库里加,我应该装到哪一步就能用了?
作者: baby_8541 2006年1月5日 - 15:55
问题:
1测试
测试maildrop
# maildrop -V 9 -d test@test.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@test.com, home=/var/mailbox/, mail=test.com/test/
maildrop: Changing to /var/mailbox/
我测试的结果:
[root@localhost www]# maildrop -V 9 -d test@test.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@test.com, home=/var/mailbox/, mail=(default)
maildrop: Changing to /var/mailbox/
maildrop: signal 0x02
2测试pop/imap
# telnet localhost 110
+OK Hello there
user test@test.com
+OK Password required.
pass test
+OK Logged in.
quit
+OK bye-bye
我测试的结果
3登陆WEBMAIL错误
帮忙看一下附件!
4,不能自动创建mailbox/的文件夹
如果大家有空请帮忙解决~




作者: baby_8541 2006年1月5日 - 15:59
第二项测试结果忘记贴了
在这里
[root@localhost var]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user test@test.com
+OK Password required.
pass test
-ERR chdir Maildir failed
Connection closed by foreign host.
作者: 风林 2006年1月9日 - 20:35
第六步里面的这个文件 /usr/local/lib/sasl2/smtpd.conf,是新建的文件还是编译安装过程中产生的?怎么我找不到这个文件。
请指教,谢谢:)
另外,邮件客户端软件的POP3服务器和SMTP服务器该怎么设置呵?
我已经通过测试,但是只能从网页上发邮件。不知是什么原因:(
作者: 风林 2006年1月9日 - 20:45
QUOTE (baby_8541 @ 2006年1月5日 - 15:55)
问题:
1测试
测试maildrop
# maildrop -V 9 -d test@test.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@test.com, home=/var/mailbox/, mail=test.com/test/
maildrop: Changing to /var/mailbox/
我测试的结果:
[root@localhost www]# maildrop -V 9 -d test@test.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=test@test.com, home=/var/mailbox/, mail=(default)
maildrop: Changing to /var/mailbox/
maildrop: signal 0x02
2测试pop/imap
# telnet localhost 110
+OK Hello there
user test@test.com
+OK Password required.
pass test
+OK Logged in.
quit
+OK bye-bye
我测试的结果
3登陆WEBMAIL错误
帮忙看一下附件!
4,不能自动创建mailbox/的文件夹
如果大家有空请帮忙解决~
大概是你修改create-mailbox的文件位置不太对。在第200行左右的那行脚本后插入。
作者: Ericzhao82 2006年1月24日 - 17:26
老大,我计划安装你的这篇文来做
请问你的RH 是 4点几的??
是4.2的嘛??
作者: fly88oj 2006年3月5日 - 13:15
在安裝完 maildrop 后開始測試時發現問題......
用 postfixadmin 添加刪除賬號 / POP3 / MailDrop 都正常......
但就是 SMTP 驗證不通過, 在 /var/log/maillog 裏總是出現
SASL authentication problem: unknown password verifier
在網上找過不少解決這個問題文章但依然無效......
用 authtest test@test.com test 能正常顯示信息......
權限設置也沒有錯誤......
當前 cyrus-sasl 在 configure 時添加了 --prefix=/usr/local/cyrus-sasl
摟主文内提及 cyrus-sasl 路徑的地方也作了相應修改......如 ld.so.conf 等......
希望大家能幫忙解決......
作者: yanpeng 2006年3月11日 - 16:54
squirrelmail 阅读邮件时,第一封还可以,第二封就报错了:
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/squirrelmail/src/read_body.php on line 99
请问楼主:如何能解决?
另外,我记得原来有openwebmail的介绍,为何现在把它去掉了?
非常感谢楼主的热心。
作者: yanpeng 2006年3月15日 - 10:32
我找到解决方法了: 即升级php到4.4.2
作者: ljiayu 2006年3月28日 - 15:59
照LZ的文章做下去,环境是一样的,在安装courier-authlib-0.57时,编译不过去,configure时出现以下错误,我查了一下,系统内找不到mysqlclient.so,不知问题出在哪里,哪位遇到过,能否告知解决办法?谢谢!
[root@rh courier-authlib-0.57.20051004]# ./configure \
> --with-redhat \
> --with-authmysql=yes \
> --with-mailuser=vmail --with-mailgroup=vmail \
> --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local
/mysql/include/mysql/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for lt_dlinit in -lltdl... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sysconftool...... ././sysconftool
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for courier-config... no
checking for expect... no
configure: WARNING: -----------------------------------------------------
configure: WARNING: expect not found - will not be able to change passwds
configure: WARNING: in webmail
configure: WARNING: -----------------------------------------------------
checking for passwd... /usr/bin/passwd
checking whether -lm is needed for floor... yes
checking for socket in -lsocket... no
checking for socket in -lsocket... (cached) no
checking for connect in -lsocket... no
checking for connect in -lsocket... (cached) no
checking for gdbm_open in -lgdbm... yes
checking for gdbm_open... yes
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... yes
checking for dbopen... no
checking for db_open... no
checking for db_env_create... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking Pam/pam_appl.h usability... no
checking Pam/pam_appl.h presence... no
checking for Pam/pam_appl.h... no
checking for dlopen in -ldl... (cached) yes
checking for pam_start in -lpam... yes
checking for pam_setcred... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking whether -lresolv is needed for res_query... yes
checking for ber_scanf in -llber... yes
checking for ldap_open in -lldap... yes
checking for ldap_search_st... yes
checking for ldap_start_tls_s... yes
checking for ldap_result2error... yes
checking for endpwent... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for getspent in -lshadow... no
checking for endspent... yes
checking for getspent... yes
checking for pg_config... no
checking for PQsetdbLogin... no
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_connect... no
checking for mysql_real_connect... no
configure: error: --with-authmysql specified but no mysqlclient.so
作者: qindm 2006年4月7日 - 11:14
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include -I../sasldb -I/usr/local/mysql/include/mysql -Wall -W -g -O2 -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c -fPIC -DPIC -o client.lo
client.c:64: error: static declaration of 'global_callbacks' follows non-static declaration
saslint.h:112: error: previous declaration of 'global_callbacks' was here
client.c: In function '_sasl_print_mechanism':
client.c:863: warning: unused parameter 'rock'
make[2]: *** [client.lo] Error 1
make[2]: Leaving directory `/home/damin/download/mail/cyrus-sasl-2.1.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/damin/download/mail/cyrus-sasl-2.1.21'
make: *** [all] Error 2
以上是make cyrus-sasl2时的错误信息,
已经折腾了3天了,希望有人能帮我看看是哪里出了问题?
作者: lager 2006年4月14日 - 14:48
老大,请教为什么测试发信出现我这种错误
Connected to localhost (127.0.0.1).
Escape character is '^]'.
220 test.com ESMTP "Version not Available"
ehlo www.test.com
250-test.com
250-PIPELINING
250-SIZE 14336000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
auth login
334 VXNlcm5hbWU6
dGVzdEB0ZXN0LmNvbQ==
334 UGFzc3dvcmQ6
dGVzdA==
535 Error: authentication failed
测试POP3和IMAP出现的错误
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user test@test.com
+OK Password required.
pass test
-ERR Login failed.
作者: 飞刀客 2006年5月17日 - 14:34
squirrelmail登录以后左上角无法显示邮箱空间的使用情况!仔细检查N遍,没有查找出原因!
作者: garylch 2006年6月8日 - 16:28
一個好好的文章,直得一推,
樓主又主動回復,一個字好!
謝謝樓主
作者: xiaodixiaodi 2006年6月19日 - 12:45
authmysql: trying this module
Jun 19 12:38:28 localhost authdaemond: SQL query: SELECT username, password, "",
'1001', '1001', '/var/mailbox/', maildir, concat(quota,'S'), name, "" FROM mail
box WHERE username = "test@www.test.com" AND (active='1')
Jun 19 12:38:28 localhost authdaemond: zero rows returned
Jun 19 12:38:28 localhost authdaemond: no password available to compare
小弟的问题是我的username 应该是test@test.com为什么会显示是test@www.test.com,所有通不过认证!请求帮助!
作者: booker2688 2006年7月10日 - 19:26
为什么我可以用postfixadmin建立域名,管理员,不能建立用户邮箱,每次建里用户的时候到create-mailbox.php都很慢啊,而且建立不成功。
请问要怎么修改?修改哪里代码?
作者: booker2688 2006年7月11日 - 15:09
我安装了两次都是再postfixadmin上出了问题,第一次是重起reboot后又可以了,现在reboot就不行,不知道是怎么回事,
作者: booker2688 2006年7月11日 - 15:22
班主:请问一下:文档里的第5和6节要怎检查?做了几次都是在这里出了问题?如果我直接使用redhat linux as 4 自带的http 来解决这个问题,要修改哪里?还是几直接跳过这部分?
直接修改:
vi /etc/httpd/conf/httpd.conf
User vuser
Group vgroup
去掉默认发送UTF-8头的设置:
#AddDefaultCharset UTF-8
虚拟主机设置
#vi /etc/httpd/conf/httpd.conf
NameVirtualHost *:80
Include vhost.d/*.conf
# mkdir /etc/httpd/vhost.d
# vi /etc/httpd/vhost.d/hosts.conf
ServerName mail.test.com
DocumentRoot /var/www/
Alias /postfixadmin/ /var/www/postfixadmin/
AllowOverride All
其他再将postfixadmin解压到/var/www/postfixadmin目录下就可以了吗?
作者: booker2688 2006年7月13日 - 9:24
你使用的是什么操作系统?redhat linux as 4?还是os4 ?
作者: youxin9 2006年12月16日 - 17:45
[root@hssyyh lib]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user test@h.com
+OK Password required.
pass test
-ERR Temporary problem, please try again later
Connection closed by foreign host.
有这么一个错误提示。
authtest -s login test@h.com test
Authentication succeeded.
Authenticated: test@h.com (uid 12345, gid 12345)
Home Directory: /home/mailbox
Maildir: (none)
Quota: (none)
Encrypted Password: $1$240b14ba$jK5e04WmOcvhRvx9NGQRc.
Cleartext Password: test
Options: (none)
而且现在/home/mailbox 的目录权限是 已经chmod 777 /home/mailbox了
但还是ERR Temporary problem, please try again later
Connection closed by foreign host.
有这个错误
数据库中已经有了用户名和密码
作者: dream 2008年2月25日 - 10:56
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 lo ^H
501 Authentication failed: malformed initial response
^[[A
502 Error: command not implemented
auth login
334 VXNlcm5hbWU6
dGVzdEB0ZXN0LmNvbQ==
334 UGFzc3dvcmQ6
dGVzdA==
535 Error: authentication failed
验证失败,该如何处理?
作者: gwq1026 2008年3月20日 - 9:17
请教各位。。为什么我没有生成mailbox这个目录呢。。。郁闷ing。。急。。。
版权所有 Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/57395/showart_508898.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP