我一贯LDAP的,我来查下。
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 satan 发表的文章
我一贯LDAP的,我来查下。
已完成 建立POP3网络连接
已完成 登录到POP3服务器
已完成 测试POP3服务器成功
已完成 建立SMTP网络连接
错误 登录到SMTP服务器
错误 Error: authentication failed: UGFzc3dvcmQ6
错误 测试Smtp服务器失败
这时我的邮件客户端在增加新账号测试服务器的时候发生的错误。
现在webmail收发都正常,邮件客户端收信正常,就是不能发信!
eb 24 09:41:41 mail postfix/smtpd[4262]: warning: unknown[192.168.6.252]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 24 09:41:43 mail postfix/smtpd[4262]: warning: unknown[192.168.6.252]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
我觉得是SASL没配好,应该是PostFix脚本装不了,手工装的结果吧?
请指点一下,有什么文档比较能参考来解决这个问题?
我想用BSD是因为它稳定,配好了,一年不上去也正常工作(IDC机房可不喜欢去啊),Linux不行,比windows好点但还是要维护的。
手动阻止了OpenLDAP还有PostFix的自动安装改为手工安装,然后再跑安装脚本,顺利完成安装,但是发生一个问题就是:webmail可以成功收发信件,但是smtp总是报sasl认证错误,用户名或密码错误。看来是PostFix手动安装时选的参数不对。
今天又碰到两次,都是邮件客户端在无法发送出去以后报错。症状是发送状态窗里面的进度条一直不前进,最后报错。
我来测试一下,打扰了谢谢站长!
我自身碰到过,发给大众的邮件,用Dreamail发送,等了一段时间以后dreamail给我回应:邮件发送失败,其中报错信息就是domain not found。隔一段时间再发,就发出去了,这个什么时候能发,什么时候不能发每个准数。但当时应该是没有被邮件服务器接受这封邮件。
HELO信息我设置完毕,谢谢站长。
一:
Feb 21 14:30:55 mail postfix/smtpd[11892]: 1079C56C0CB7: reject: RCPT from unknown[210.22.86.42]: 450 4.1.2 <floydpeng@pjpcs.com.cn>: Recipient address rejected: Domain not found; from=<zhaixuanyan@本公司.com.cn> to=<floydpeng@pjpcs.com.cn> proto=ESMTP helo=<ttPC>
以上错误,是我的服务器有问题吗?我SPF,DKIM都设定了。最近一直被这个困扰,信发不出去,有些的确是不对,但是总不见得上海大众 xxx@csvw.com也这样?过一会儿就能发,再过一会儿又不能发。
二:
还有请教张站长,要设定本邮件服务器SMTP的HELO信息是不是这样:
在main.cf里面+
smtp_helo_name = mail.本公司.com.cn
mail# pwd
/usr/local/etc/rc.d
mail# ./slapd start
Starting slapd.
Segmentation fault
./slapd: WARNING: failed to start slapd
mail# cat /etc/hosts
::1 localhost localhost.afmail.com.cn
127.0.0.1 mail mail.afmail.com.cn localhost localhost.afmail.com.cn
192.168.6.204 mail.afmail.com.cn mail
192.168.6.204 mail.afmail.com.cn.
一点说明:
127.0.0.1 mail mail.afmail.com.cn 这前面的是我根据安装指导自己加上去的
原本是:
127.0.0.1 localhost localhost.afmail.com.cn
还有需要贴出来的请站长吩咐,谢谢!
mail# cat /etc/rc.conf
# -- sysinstall generated deltas -- # Fri Feb 18 16:23:25 2011
# Created: Fri Feb 18 16:23:25 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="10.99.0.9"
hostname="mail.afmail.com.cn"
ifconfig_bge0="inet 10.99.0.11 netmask 255.255.255.0"
ifconfig_bge1="inet 192.168.6.204 netmask 255.255.255.0"
keymap="us.iso"
sshd_enable="on"
# Start apache web server.
apache22_enable="YES"
htcacheclean_enable="NO"
# Start openldap server.
slapd_enable="YES"
slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://127.0.0.1/"'
slapd_sockets="/var/run/openldap/ldapi"
# Start mysql server.
mysql_enable="YES"
# Start postfix.
postfix_enable="YES"
# Disable sendmail.
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
# Start policyd.
postfix_policyd_sf_enable="YES"
# Start dovecot IMAP/POP3 server.
dovecot_enable="YES"
# Start clamd and freshclamd.
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
# Start amavisd, disable amavis-milter.
amavisd_enable="YES"
amavisd_pidfile="/var/amavis/amavisd.pid"
amavis_milter_enable="NO"
amavis_p0fanalyzer_enable="NO"
#amavis_p0fanalyzer_p0f_filter="tcp dst port 25"
# Start iredapd.
iredapd_enable="YES"
mail# cat slapd.conf
#
# File generated by iRedMail (2011.02.19.00.04.08):
#
# Version: 0.6.1
# Project: http://www.iredmail.org/
#
# Community: http://www.iredmail.org/forum/
#
# Schemas.
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/corba.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
# Integrate Amavisd-new.
include /usr/local/etc/openldap/schema/amavisd-new.schema
# Schema provided by iRedMail.
include /usr/local/etc/openldap/schema/iredmail.schema
# Where the pid file is put. The init.d script will not stop the
# server if you change this.
pidfile /var/run/openldap/slapd.pid
# List of arguments that were passed to the server
argsfile /var/run/openldap/slapd.args
# TLS files.
TLSCACertificateFile /etc/ssl/certs/iRedMail_CA.pem
TLSCertificateFile /etc/ssl/certs/iRedMail_CA.pem
TLSCertificateKeyFile /etc/ssl/private/iRedMail.key
# Modules.
modulepath /usr/local/libexec/openldap
moduleload back_bdb
# Disallow bind as anonymous.
disallow bind_anon
# Uncomment below line to allow binding as anonymouse.
#allow bind_anon_cred
#
# Specify LDAP protocol version.
#require LDAPv3
allow bind_v2
# Log level.
# -1: enable all debugging
# 0: no debugging
# 128: access control list processing
# 256: stats log connections/operations/results
loglevel 256
#
# Access Control List. Used for LDAP bind.
#
# NOTE: Every domain have a administrator. e.g.
# Domain Name: 'afmail.com.cn'
# Admin Name: mail=postmaster@afmail.com.cn, domainName=afmail.com.cn, o=domains,dc=afmail,dc=com.cn
#
#
# Set permission for LDAP attrs.
#
access to attrs="userPassword,mailForwardingAddress"
by anonymous auth
by self write
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users none
access to attrs="cn,sn,telephoneNumber"
by anonymous auth
by self write
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users read
# Domain attrs.
access to attrs="objectclass,domainName,mtaTransport,enabledService,domainSenderBccAddress,domainRecipientBccAddress,domainAdmin,domainGlobalAdmin,domainBackupMX,domainMaxQuotaSize,domainMaxUserNumber"
by anonymous auth
by self read
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users read
# User attrs.
access to attrs="employeeNumber,homeDirectory,mailMessageStore,mail,accountStatus,userSenderBccAddress,userRecipientBccAddress,mailForwardingAddress,mailQuota,backupMailAddress,shadowAddress"
by anonymous auth
by self read
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users read
#
# Set ACL for vmail/vmailadmin.
#
access to dn="cn=vmail,dc=afmail,dc=com.cn"
by anonymous auth
by self write
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users none
access to dn="cn=vmailadmin,dc=afmail,dc=com.cn"
by anonymous auth
by self write
by users none
#
# Allow users to access their own domain subtree.
# Allow domain admin to modify accounts under same domain.
#
access to dn.regex="domainName=([^,]+),o=domains,dc=afmail,dc=com.cn$"
by anonymous auth
by self write
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by dn.regex="mail=[^,]+@$1,o=domainAdmins,dc=afmail,dc=com.cn$" write
by dn.regex="mail=[^,]+@$1,ou=Users,domainName=$1,o=domains,dc=afmail,dc=com.cn$" read
by users none
#
# Enable vmail/vmailadmin.
#
access to dn.subtree="o=domains,dc=afmail,dc=com.cn"
by anonymous auth
by self write
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by dn.regex="mail=[^,]+,ou=Users,domainName=$1,o=domains,dc=afmail,dc=com.cn$" read
by users read
access to dn.subtree="o=domainAdmins,dc=afmail,dc=com.cn"
by anonymous auth
by self write
by dn.exact="cn=vmail,dc=afmail,dc=com.cn" read
by dn.exact="cn=vmailadmin,dc=afmail,dc=com.cn" write
by users none
#
# Set permission for "cn=*,dc=afmail,dc=com.cn".
#
access to dn.regex="cn=[^,]+,dc=afmail,dc=com.cn"
by anonymous auth
by self write
by users none
#
# Set default permission.
#
access to *
by anonymous auth
by self write
by users read
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix dc=afmail,dc=com.cn
directory /var/db/openldap-data/afmail.com.cn
rootdn cn=Manager,dc=afmail,dc=com.cn
rootpw {SSHA}blank
sizelimit 1000
cachesize 1000
#
# Set directory permission.
#
mode 0700
#
# Default index.
#
index objectClass eq,pres
index uidNumber,gidNumber,uid,memberUid,loginShell eq,pres
index homeDirectory,mailMessageStore eq,pres
index ou,cn,mail,surname,givenname,telephoneNumber eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
#
# Index for mail attrs.
#
# ---- Domain related ----
index domainName,mtaTransport,accountStatus,enabledService eq,pres,sub
index domainAliasName eq,pres,sub
index domainMaxUserNumber eq,pres
index domainAdmin,domainGlobalAdmin,domainBackupMX eq,pres,sub
index domainSenderBccAddress,domainRecipientBccAddress eq,pres,sub
# ---- Group related ----
index accessPolicy,hasMember,listAllowedUser eq,pres,sub
# ---- User related ----
index mailForwardingAddress,shadowAddress eq,pres,sub
index backupMailAddress,memberOfGroup eq,pres,sub
index userRecipientBccAddress,userSenderBccAddress eq,pres,sub
mail# cat openldap.log
Feb 19 01:11:00 mail slapd[731]: @(#) $OpenLDAP: slapd 2.4.23 (Feb 18 2011 19:11:45) $ root@mail.afmail.com.cn:/usr/ports/net/openldap24-server/work/openldap-2.4.23/servers/slapd
Feb 19 09:11:18 mail slapd[2543]: @(#) $OpenLDAP: slapd 2.4.23 (Feb 18 2011 19:11:45) $ root@mail.afmail.com.cn:/usr/ports/net/openldap24-server/work/openldap-2.4.23/servers/slapd
Installed /usr/local/lib/python2.6/site-packages/netifaces-0.5-py2.6-freebsd-8.1-RELEASE-x86_64.egg
===> Registering installation for py26-netifaces-0.5
===> Cleaning for py26-netifaces-0.5
< INFO > Configure User/Group: vmail.
< INFO > Configure Apache web server and PHP.
< Backup > /usr/local/etc/apache22/httpd.conf -> httpd.conf.2011.02.19.00.04.08.
< Backup > /usr/local/etc/apache22/extra/httpd-ssl.conf -> httpd-ssl.conf.2011.02.19.00.04.08.
< INFO > Configure OpenLDAP server.
< Backup > /usr/local/etc/openldap/slapd.conf -> slapd.conf.2011.02.19.00.04.08.
< Backup > /usr/local/etc/openldap/ldap.conf -> ldap.conf.2011.02.19.00.04.08.
slapd not running? (check /var/run/openldap/slapd.pid).
Starting slapd.
Segmentation fault
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
< INFO > Configure Postfix.
< Backup > /usr/local/etc/postfix/main.cf -> main.cf.2011.02.19.00.04.08.
< Backup > /usr/local/etc/postfix/master.cf -> master.cf.2011.02.19.00.04.08.
< Backup > /etc/mail/mailer.conf -> mailer.conf.2011.02.19.00.04.08.
< INFO > Configure Policyd (postfix policy daemon).
< INFO > Configure Dovecot (pop3/imap server).
< Backup > /usr/local/etc/dovecot.conf -> dovecot.conf.2011.02.19.00.04.08.
< Backup > /usr/local/etc/dovecot-ldap.conf -> dovecot-ldap.conf.2011.02.19.00.04.08.
< INFO > Configure Procmail (MDA).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new.
< Backup > /usr/local/etc/amavisd.conf -> amavisd.conf.2011.02.19.00.04.08.
< Backup > /usr/local/etc/amavisd.conf -> amavisd.conf.2011.02.19.00.04.08.
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure Roundcube webmail.
< INFO > Configure phpLDAPadmin (web-based LDAP management tool).
< INFO > Configure phpMyAdmin (web-based MySQL management tool).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
< Backup > /usr/local/www/awstats/cgi-bin/awstats.model.conf -> awstats.model.conf.2011.02.19.00.04.08.
< INFO > Configure iRedAdmin (official web-based admin panel).
< INFO > Checking necessary command/package: bzip2/bzip2 ...
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Checking necessary command/package: bzip2/bzip2 ...
*************************************************************************
* iRedMail-0.6.1 installation and configuration complete.
*************************************************************************
上面似乎警告slapd没能启动也?openldap没装好?
哈哈,有效,远程服务器正在奋勇编译呢。我要等下去。谢谢。看来要去英文版混混乐
似乎是postfix2.6出了问题,我进ports手工make install一下,是可以正常安装的,但是用iredmail安装脚本就说某个路径不存在什么的,我水平有限找不到办法,所以来这里请求指导。谢谢!
Configuration completed.
*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
* *
* Please do remember to *MOVE* configuration file after installation *
* completed successfully. *
* *
* * /root/iRedMail-0.6.1/./config
* *
*************************************************************************
< INFO > Continue? [Y|n]y
< INFO > ==== Fetch all source tarballs of required components (make fetch-recursive) ====
< INFO > Skip fetching tarballs of port: databases/mysql50-server.
< INFO > Skip fetching tarballs of port: net/openldap24-server.
< INFO > Skip fetching tarballs of port: mail/dovecot-sieve.
< INFO > Skip fetching tarballs of port: mail/dovecot-managesieve.
< INFO > Skip fetching tarballs of port: devel/pth.
< INFO > Skip fetching tarballs of port: security/gnupg.
< INFO > Skip fetching tarballs of port: dns/p5-Net-DNS.
< INFO > Skip fetching tarballs of port: mail/p5-Mail-SpamAssassin.
< INFO > Skip fetching tarballs of port: security/p5-Authen-SASL.
< INFO > Skip fetching tarballs of port: mail/altermime.
< INFO > Skip fetching tarballs of port: security/amavisd-new.
< INFO > Skip fetching tarballs of port: devel/pcre.
< INFO > Skip fetching tarballs of port: mail/postfix26.
< INFO > Skip fetching tarballs of port: mail/postfix-policyd-sf.
< INFO > Skip fetching tarballs of port: security/clamav.
< INFO > Skip fetching tarballs of port: www/apache22.
< INFO > Skip fetching tarballs of port: lang/php5.
< INFO > Skip fetching tarballs of port: mail/php5-imap.
< INFO > Skip fetching tarballs of port: graphics/php5-gd.
< INFO > Skip fetching tarballs of port: archivers/php5-zip.
< INFO > Skip fetching tarballs of port: archivers/php5-bz2.
< INFO > Skip fetching tarballs of port: archivers/php5-zlib.
< INFO > Skip fetching tarballs of port: devel/php5-gettext.
< INFO > Skip fetching tarballs of port: converters/php5-mbstring.
< INFO > Skip fetching tarballs of port: security/php5-mcrypt.
< INFO > Skip fetching tarballs of port: databases/php5-mysql.
< INFO > Skip fetching tarballs of port: security/php5-openssl.
< INFO > Skip fetching tarballs of port: www/php5-session.
< INFO > Skip fetching tarballs of port: net/php5-ldap.
< INFO > Skip fetching tarballs of port: textproc/php5-ctype.
< INFO > Skip fetching tarballs of port: security/php5-hash.
< INFO > Skip fetching tarballs of port: converters/php5-iconv.
< INFO > Skip fetching tarballs of port: textproc/php5-pspell.
< INFO > Skip fetching tarballs of port: textproc/php5-dom.
< INFO > Skip fetching tarballs of port: textproc/php5-xml.
< INFO > Skip fetching tarballs of port: databases/php5-sqlite.
< INFO > Skip fetching tarballs of port: databases/php5-mysqli.
< INFO > Skip fetching tarballs of port: devel/pear.
< INFO > Skip fetching tarballs of port: mail/roundcube.
< INFO > Skip fetching tarballs of port: net/pear-Net_LDAP2.
< INFO > Skip fetching tarballs of port: www/awstats.
< INFO > Skip fetching tarballs of port: net/phpldapadmin.
< INFO > Skip fetching tarballs of port: databases/phpmyadmin.
< INFO > Skip fetching tarballs of port: net/py-ldap2.
< INFO > Skip fetching tarballs of port: www/mod_wsgi.
< INFO > Skip fetching tarballs of port: www/webpy.
< INFO > Skip fetching tarballs of port: devel/py-Jinja2.
< INFO > Skip fetching tarballs of port: databases/py-MySQLdb.
< INFO > Skip fetching tarballs of port: net/py-netifaces.
< INFO > ==== Install packages ====
< INFO > Skip installing port: databases/mysql50-server.
< INFO > Skip installing port: net/openldap24-server.
< INFO > Skip installing port: mail/dovecot-sieve.
< INFO > Skip installing port: mail/dovecot-managesieve.
< INFO > Skip installing port: devel/pth.
< INFO > Skip installing port: security/gnupg.
< INFO > Skip installing port: dns/p5-Net-DNS.
< INFO > Skip installing port: mail/p5-Mail-SpamAssassin.
< INFO > Skip installing port: security/p5-Authen-SASL.
< INFO > Skip installing port: mail/altermime.
< INFO > Skip installing port: security/amavisd-new.
< INFO > Skip installing port: devel/pcre.
===> Cleaning for postfix-2.6.8,1
< INFO > Installing port: mail/postfix26 ...
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
=> postfix-2.6.8.tar.gz doesn't seem to exist in /usr/ports/distfiles/postfix.
=> Attempting to fetch ftp://ftp.porcupine.org/mirrors/postfix … 6.8.tar.gz
postfix-2.6.8.tar.gz 100% of 3251 kB 9234 Bps 00m00s
===> Extracting for postfix-2.6.8,1
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
=> SHA256 Checksum OK for postfix/postfix-2.6.8.tar.gz.
===> postfix-2.6.8,1 depends on file: /usr/local/bin/perl5.10.1 - found
===> Patching for postfix-2.6.8,1
===> postfix-2.6.8,1 depends on file: /usr/local/bin/perl5.10.1 - found
===> Applying FreeBSD patches for postfix-2.6.8,1
===> postfix-2.6.8,1 depends on file: /usr/local/lib/libcdb.a - found
===> postfix-2.6.8,1 depends on file: /usr/local/bin/perl5.10.1 - found
===> postfix-2.6.8,1 depends on shared library: pcre.0 - found
===> postfix-2.6.8,1 depends on shared library: ldap-2.4.7 - found
===> postfix-2.6.8,1 depends on shared library: mysqlclient.15 - found
===> postfix-2.6.8,1 depends on shared library: db-4.6.0 - found
===> Configuring for postfix-2.6.8,1
(cd /usr/ports/mail/postfix26/work/postfix-2.6.8 && make -f Makefile.init makefiles CC="cc" OPT="-O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing" CCARGS="-DDEF_CONFIG_DIR=\\\"/usr/local/etc/postfix\\\" -DDEF_DAEMON_DIR=\\\"/usr/local/libexec/postfix\\\" -DDEF_COMMAND_DIR=\\\"/usr/local/sbin\\\" -DDEF_SENDMAIL_PATH=\\\"/usr/local/sbin/sendmail\\\" -DDEF_NEWALIAS_PATH=\\\"/usr/local/bin/newaliases\\\" -DDEF_MAILQ_PATH=\\\"/usr/local/bin/mailq\\\" -DDEF_MANPAGE_DIR=\\\"/usr/local/man\\\" -DDEF_README_DIR=\\\"/usr/local/share/doc/postfix\\\" -DDEF_HTML_DIR=\\\"/usr/local/share/doc/postfix\\\" -DDEF_QUEUE_DIR=\\\"/var/spool/postfix\\\" -DDEF_DATA_DIR=\\\"/var/db/postfix\\\" -DDEF_MAIL_OWNER=\\\"postfix\\\" -DDEF_SGID_GROUP=\\\"maildrop\\\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\" -DUSE_TLS -I/usr/include -I/usr/local/include/db46 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_LDAP -I/usr/local/include -DHAS_CDB -I/usr/local/include" AUXLIBS="-L/usr/local/lib -lpcre -L/usr/lib -rpath=/usr/lib:/usr/local/lib -lssl -lcrypto -L/usr/local/lib/db46 -ldb-4.6 -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm -L/usr/local/lib -lldap -llber -L/usr/local/lib -lcdb" && echo "all: default" >> Makefile)
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
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/xsasl src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local 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 src/postmulti; 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/xsasl]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/milter]
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/fsstone]
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/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 >Makefile
[src/pipe]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/showq]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postalias]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postcat]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postconf]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postdrop]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postkick]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postlock]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postlog]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postmap]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postqueue]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postsuper]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/qmqpd]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/spawn]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/flush]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/verify]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/virtual]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/proxymap]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/anvil]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/scache]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/discard]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/tlsmgr]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postmulti]
cat ../../conf/makedefs.out Makefile.in >Makefile
rm -f Makefile; (cat conf/makedefs.out Makefile.in) >Makefile
===> Building for postfix-2.6.8,1
rm -f libexec/post-install && ln -sf ../conf/post-install libexec/post-install
rm -f libexec/postfix-files && ln -sf ../conf/postfix-files libexec/postfix-files
rm -f libexec/postfix-script && ln -sf ../conf/postfix-script libexec/postfix-script
rm -f libexec/postfix-wrapper && ln -sf ../conf/postfix-wrapper libexec/postfix-wrapper
rm -f libexec/main.cf && ln -sf ../conf/main.cf libexec/main.cf
rm -f libexec/master.cf && ln -sf ../conf/master.cf libexec/master.cf
rm -f libexec/postmulti-script && ln -sf ../conf/postmulti-script libexec/postmulti-script
set -e; for i in src/util src/global src/dns src/tls src/xsasl src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local 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 src/postmulti; do (set -e; echo "[$i]"; cd $i; make 'CC=cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include -I/usr/local/include/db46 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_LDAP -I/usr/local/include -DHAS_CDB -I/usr/local/include' update MAKELEVEL=) || exit 1; done
[src/util]
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include -I/usr/local/include/db46 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_LDAP -I/usr/local/include -DHAS_CDB -I/usr/local/include NO -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -DFREEBSD8 -c alldig.c
cc: NO: No such file or directory
*** Error code 1
Stop in /usr/ports/mail/postfix26/work/postfix-2.6.8/src/util.
*** Error code 1
Stop in /usr/ports/mail/postfix26/work/postfix-2.6.8.
*** Error code 1
Stop in /usr/ports/mail/postfix26.
*** Error code 1
Stop in /usr/ports/mail/postfix26.
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
老张,我不想停掉灰名单,只想把某些客户的邮箱从灰名单里面移到白名单中,是在邮件客户端改还是要在服务器上增加白名单?
谢谢!支持
如果有这样的安装包,简单易用的话,一定赞助你们
说实话,iredmail让我费心了好几天,因为是个新手,很多问题不知道从何解决。安装了以后总有这样那样的问题,也没有用起来。今天试了一个商业的程序,merak,linux下面的版本60多m,把常用的都集成了,安装也很简单,而且装完就可以用了,觉得还是不错的。建议iredmail也能像商业软件一样,更加简单、易用,这样用户就会更多了。仅仅是个人建议,说说我这类人的看法。如有不周之处,见谅。
operation not supported
执行后就提示这个
谢谢斑竹的回复,现在是这个出错了,不知道是不是vps本身配置的问题?
/etc/init.d/amavisd restart
Shutting down Mail Virus Scanner (amavisd): [FAILED]
Starting Mail Virus Scanner (amavisd): Error in config file "/etc/amavisd.conf": Can't open PEM file /var/lib/dkim/mail.flowerby.net.pem: Permission denied at /usr/sbin/amavisd line 551.
[FAILED]
原帖由 eddiechen 于 2009-3-23 13:26 发表
iredmail的目的就是要做到方便安装。所有的修改配置,都通过脚本来解决,基本不需要你修改任何的配置文件,就可以正常使用。反正是vps,你多测试,安装几次。 ...
现在的问题是这样的,
Mar 23 05:21:49 mail postfix/smtpd[2235]: connect from localhost[127.0.0.1]
Mar 23 13:21:49 mail postfix/trivial-rewrite[2255]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Mar 23 13:21:49 mail postfix/trivial-rewrite[2255]: warning: inet_protocols: configuring for IPv4 support only
Mar 23 05:21:49 mail postfix/smtpd[2235]: 3ECC01F657: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=edm@mail.flowerby.net
Mar 23 13:21:49 mail postfix/cleanup[2250]: 3ECC01F657: message-id=<1f35a009e94f8996d5dc871d3aec53ef@127.0.0.1>
Mar 23 13:21:50 mail postfix/qmgr[2147]: 3ECC01F657: from=<edm@mail.flowerby.net>, size=579, nrcpt=1 (queue active)
Mar 23 05:21:50 mail postfix/smtp[2251]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Mar 23 05:21:52 mail postfix/smtp[2251]: 3ECC01F657: to=<chiang.tao@gmail.com>, relay=none, delay=1.2, delays=1.2/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Mar 23 05:21:58 mail postfix/smtpd[2235]: disconnect from localhost[127.0.0.1]
iRedMail 开源邮件服务解决方案 » 由 satan 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.009 秒, 共执行查询 60 条