==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:v0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:FreeBSD 10.3
- 与您的问题相关的日志信息:
====

邮件客户端和网页版收发邮件都正常,用于第三方应用软件发邮件错误,信息如下:

Dec  2 13:20:06 ic postfix/smtps/smtpd[84276]: connect from cobblerserver.ic.com[202.96.200.254]
Dec  2 13:21:06 ic postfix/smtps/smtpd[84276]: SSL_accept error from cobblerserver.ic.com[202.96.200.254]: lost connection
Dec  2 13:21:06 ic postfix/smtps/smtpd[84276]: lost connection after CONNECT from cobblerserver.ic.com[202.96.200.254]
Dec  2 13:21:06 ic postfix/smtps/smtpd[84276]: disconnect from cobblerserver.ic.com[202.96.200.254] commands=0/0

还是概念性问题,就不新开贴了

1、mail命令和postfix是什么关系呢

2、mail命令跟smtp没关系吧

3、我用root登陆,用mail发到gmail邮箱,显示的是root@domain.com,而root并不是我的虚拟用户之一。
那比如我的虚拟用户中有一个叫www,怎样才能用mail命令发信,且使接方看到的是www@domain.com发来的呢

谢谢头儿,你好专业,我最近刚接触邮件服务器不久,每次你的回答都非常及时认真,非常的感谢,最近肯定还会有问题的,头儿不要嫌麻烦

1、用户验证方面,新成立组织,不存在和旧系统整合的情况下,ldap和mysql用哪个好
2、新建的postmaster和www是所谓的“虚拟用户”吗?
3、虚拟用户和“真实用户”有什么区别
4、后增加的虚拟域和安装时specify the first domain有什么区别
5、能否安装一套iredmail,同时管理domain.com和mail.domain.com呢
6、能否安装一套iredmail,同时管理domain1.com和domain2.com呢
7、装好iredmail后,在linux命令行下如何发送邮件

https://XXXXXXXX/postfixadmin/create-domain.php

哦 原来postfixadmin是管理用户的啊

为什么没加进来这样一个工具呢
自己安装的话应该是怎么样一个步骤呢

我用ldap

[ 本帖最后由 aulian 于 2009-3-26 07:54 编辑 ]

感谢两位管理员的智慧,之前的vps因为上面有网站正在运行中,安装受阻后便没有再试,怕影响业务,这次新订购了一款vps,只为试用iRedMail,付款后这两天一直在等着开通,这次没问题了,安装过程顺利。

另,eddiechen:我装的的确是centos5.0,304M那个模板,你咋知道的呢,难道所有提供vps的都爱用这套?你知道我用的哪家vps?

输出结果
[42m< INFO >[0m Checking necessary package: dialog.i386...
[42m< INFO >[0m Check configuration file: /root/iRedMail-0.4.0/config...    Found.
[45m< Question >[0m Use it for mail server setting? [y|N][42m< INFO >[0m Use configuration file: /root/iRedMail-0.4.0/config for mail server setting.
[42m< INFO >[0m Installing package(s): httpd.i386 mod_ssl.i386 php.i386 php-imap.i386 php-gd.i386 php-mbstring.i386 libmcrypt.i386 php-mcrypt.i386 php-pear.noarch php-xml.i386 php-pecl-fileinfo.i386 php-eaccelerator.i386 php-mysql.i386 php-ldap.i386 postfix.i386 awstats.noarch mod_auth_mysql.i386 policyd.i386 cyrus-sasl.i386 cyrus-sasl-lib.i386 cyrus-sasl-plain.i386 cyrus-sasl-md5.i386 dovecot.i386 dovecot-sieve.i386 amavisd-new.i386 clamd.i386 clamav.i386 clamav-db.i386 perl-Mail-SPF.noarch perl-Mail-SPF-Query.noarch pysieved.noarch bzip2.i386 acl.i386 mailx.i386 patch.i386 crontabs.noarch dos2unix.i386
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* iRedMail:
* lxlabsupdate: download.lxlabs.com
* lxlabslxupdate: download.lxlabs.com
* base: centos-distro.cavecreek.net
* updates: mirror.stanford.edu
* addons: centos.cogentcloud.com
* extras: mirror.hmc.edu
Setting up Install Process
Parsing package install arguments
Package mod_ssl - 1:2.2.3-11.el5_2.centos.4.i386 is already installed.
Package php - 5.2.6-5.i386 is already installed.
Package php-imap - 5.2.6-5.i386 is already installed.
Package php-gd - 5.2.6-5.i386 is already installed.
Package libmcrypt - 2.5.8-4.el5.centos.i386 is already installed.
Package php-xml - 5.2.6-5.i386 is already installed.
Package php-mysql - 5.2.6-5.i386 is already installed.
Package cyrus-sasl - 2.1.22-4.i386 is already installed.
Package cyrus-sasl-lib - 2.1.22-4.i386 is already installed.
Package cyrus-sasl-plain - 2.1.22-4.i386 is already installed.
Package bzip2 - 1.0.3-3.i386 is already installed.
Package mailx - 8.1.1-44.2.2.i386 is already installed.
Package crontabs - 1.10-8.noarch is already installed.
Package dos2unix - 3.1-27.1.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package mod_auth_mysql.i386 1:3.0.0-3.1 set to be updated
---> Package acl.i386 0:2.2.39-3.el5 set to be updated
---> Package postfix.i386 4:2.5.6-4.ired set to be updated
---> Package bzip2.i386 0:1.0.3-4.el5_2 set to be updated
---> Package perl-Mail-SPF.noarch 0:2.006-1.el5.rf set to be updated
--> Processing Dependency: perl(Error) for package: perl-Mail-SPF
--> Processing Dependency: perl(version) for package: perl-Mail-SPF
--> Processing Dependency: perl(NetAddr::IP) for package: perl-Mail-SPF
---> Package httpd.i386 0:2.2.3-11.el5_2.centos.4 set to be updated
---> Package php-pear.noarch 1:1.4.9-4.el5.1 set to be updated
---> Package policyd.i386 0:1.82-4.rhms set to be updated
---> Package php-ldap.i386 0:5.2.6-5 set to be updated
---> Package php-mcrypt.i386 0:5.2.6-5 set to be updated
---> Package pysieved.noarch 0:1.0-1.ired set to be updated
---> Package dovecot-sieve.i386 0:1.1.6-9.el5 set to be updated
---> Package awstats.noarch 0:6.9-1.el5.rf set to be updated
---> Package cyrus-sasl-md5.i386 0:2.1.22-4 set to be updated
---> Package perl-Mail-SPF-Query.noarch 0:1.999.1-2.el5.rf set to be updated
--> Processing Dependency: perl(Net::CIDR::Lite) for package: perl-Mail-SPF-Query
--> Processing Dependency: perl(Sys::Hostname::Long) for package: perl-Mail-SPF-Query
---> Package clamd.i386 0:0.94.2-1.el5.rf set to be updated
---> Package amavisd-new.i386 0:2.6.2-2.ired set to be updated
--> Processing Dependency: unrar >= 2.71 for package: amavisd-new
--> Processing Dependency: perl(Mail::SpamAssassin) for package: amavisd-new
--> Processing Dependency: perl(Convert::UUlib) for package: amavisd-new
--> Processing Dependency: perl(Net::Server) >= 0.93 for package: amavisd-new
--> Processing Dependency: perl-MailTools for package: amavisd-new
--> Processing Dependency: perl(Convert::TNEF) for package: amavisd-new
--> Processing Dependency: zoo >= 2.10 for package: amavisd-new
--> Processing Dependency: arc >= 5.21e for package: amavisd-new
--> Processing Dependency: perl(Net::Server) >= 0.87 for package: amavisd-new
--> Processing Dependency: cabextract for package: amavisd-new
--> Processing Dependency: perl(MIME::Tools) >= 5.420 for package: amavisd-new
--> Processing Dependency: perl(MIME::Parser) for package: amavisd-new
--> Processing Dependency: perl(IO::Stringy) for package: amavisd-new
--> Processing Dependency: perl(Archive::Zip) >= 1.14 for package: amavisd-new
--> Processing Dependency: lzop for package: amavisd-new
--> Processing Dependency: perl(Mail::DKIM) >= 0.31 for package: amavisd-new
--> Processing Dependency: unarj for package: amavisd-new
--> Processing Dependency: perl(Unix::Syslog) for package: amavisd-new
--> Processing Dependency: perl(BerkeleyDB) for package: amavisd-new
--> Processing Dependency: perl(MIME::Words) for package: amavisd-new
--> Processing Dependency: nomarch >= 1.2 for package: amavisd-new
--> Processing Dependency: lha for package: amavisd-new
--> Processing Dependency: freeze for package: amavisd-new
--> Processing Dependency: ripole for package: amavisd-new
--> Processing Dependency: perl(MIME::Entity) for package: amavisd-new
---> Package clamav.i386 0:0.94.2-1.el5.rf set to be updated
---> Package patch.i386 0:2.5.4-29.2.2 set to be updated
---> Package dovecot.i386 1:1.1.11-0_90.el5 set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
---> Package php-mbstring.i386 0:5.2.6-5 set to be updated
---> Package php-pecl-fileinfo.i386 0:1.0.4-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.94.2-1.el5.rf set to be updated
--> Running transaction check
---> Package perl-Convert-TNEF.noarch 0:0.17-3.2.el5.rf set to be updated
---> Package perl-Mail-DKIM.noarch 0:0.32-1.el5.rf set to be updated
--> Processing Dependency: perl(Crypt::OpenSSL::RSA) for package: perl-Mail-DKIM
--> Processing Dependency: perl(Digest::SHA) for package: perl-Mail-DKIM
---> Package spamassassin.i386 0:3.2.4-1.el5 set to be updated
---> Package perl-Error.noarch 0:0.17015-1.el5.rf set to be updated
---> Package ripole.i386 0:0.2.0-1.2.el5.rf set to be updated
---> Package perl-Convert-UUlib.i386 1:1.11-1.ired set to be updated
---> Package perl-MIME-tools.noarch 0:5.420-3.el5 set to be updated
--> Processing Dependency: perl(Convert::BinHex) for package: perl-MIME-tools
---> Package lha.i386 0:1.14i-19.2.2.el5.rf set to be updated
---> Package perl-Net-Server.noarch 0:0.97-1.el5.rf set to be updated
---> Package unrar.i386 0:3.8.2-1.el5.rf set to be updated
---> Package perl-Archive-Zip.noarch 0:1.26-1.el5.rf set to be updated
---> Package arc.i386 0:5.21o-1.el5.rf set to be updated
---> Package freeze.i386 0:2.5.0-1.2.el5.rf set to be updated
---> Package cabextract.i386 0:1.2-1.el5.rf set to be updated
---> Package perl-version.i386 0:0.74-1.el5.rf set to be updated
---> Package nomarch.i386 0:1.4-2.el5 set to be updated
---> Package perl-BerkeleyDB.i386 0:0.36-1.el5.rf set to be updated
---> Package perl-MailTools.noarch 0:2.04-1.el5.rf set to be updated
--> Processing Dependency: perl(Date::Format) for package: perl-MailTools
--> Processing Dependency: perl(Date::Parse) for package: perl-MailTools
---> Package perl-IO-stringy.noarch 0:2.110-1.2.el5.rf set to be updated
---> Package perl-Sys-Hostname-Long.noarch 0:1.4-1.2.el5.rf set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
---> Package zoo.i386 0:2.10-2.2.el5.rf set to be updated
---> Package perl-Net-CIDR-Lite.noarch 0:0.20-1.2.el5.rf set to be updated
---> Package arj.i386 0:3.10.22-1.el5.centos set to be updated
---> Package lzop.i386 0:1.01-2.el5.rf set to be updated
--> Processing Dependency: liblzo.so.1 for package: lzop
---> Package perl-NetAddr-IP.i386 0:4.007-1.el5.rf set to be updated
---> Package perl-Unix-Syslog.i386 0:1.0-1.el5.rf set to be updated
--> Running transaction check
---> Package lzo.i386 0:1.08-5.el5.rf set to be updated
---> Package perl-Digest-SHA.i386 0:5.47-1.el5.rf set to be updated
---> Package perl-Convert-BinHex.noarch 0:1.119-2.2.el5.rf set to be updated
---> Package perl-TimeDate.noarch 1:1.16-5.el5 set to be updated
---> Package perl-Crypt-OpenSSL-RSA.i386 0:0.25-1.el5.rf set to be updated
---> Package php-eaccelerator.i386 0:5.1.6_0.9.5.2-4.el5.rf set to be updated
--> Processing Dependency: php = 5.1.6 for package: php-eaccelerator
--> Processing Conflict: vpopmail conflicts postfix
--> Finished Dependency Resolution
Installation failed, please check the terminal output.

Error: vpopmail conflicts with postfix
Error: Missing Dependency: php = 5.1.6 is needed by package php-eaccelerator
Installation failed, please check the terminal output.

到这里停下一籽,不知道该怎么进行下去了,望高人指点

[ 本帖最后由 aulian 于 2009-3-12 12:58 编辑 ]

我用的是vps+lxadmin面板管理,已经装好lighttpd 1.4.20+mysql

1.按照教程,先同步系统时钟,执行完ntpdate 0.centos.pool.ntp.org,提示Can't adjust the time of day: Operation not permitted。

2.由于远程操作vps,根据我的理解放弃了yum那些步骤

3.照着http://code.google.com/p/iredmail/wiki/Installation#Exist_MySQL这里的操作,将conf/mysql的MYSQL_FRESH_INSTALLATION改成了NO,conf/httpd_php没有动

4.执行安装脚本,生成的config见下,输出结果是这样的

config:
export VMAIL_USER_HOME_DIR='/home/vmail'
export SIEVE_DIR='/home/vmail/sieve'
export BACKEND='MySQL'
export MYSQL_ROOT_PASSWD='XXXXXXXXXX'
export MYSQL_ADMIN_USER='vmailadmin'
export MYSQL_ADMIN_PW='XXXXXXXXXX'
export FIRST_DOMAIN='autocarspare.com'
export DOMAIN_ADMIN_NAME='postmaster'
export DOMAIN_ADMIN_PASSWD='XXXXXXXXXX'
export FIRST_USER='www'
export FIRST_USER_PASSWD='XXXXXXXXXX'
export ENABLE_SPF='YES'
export ENABLE_DKIM='YES'
export USE_MANAGESIEVE='YES'
export USE_PYSIEVED='YES'
export USE_POP3='YES'
export USE_POP3S='YES'
export USE_IMAP='YES'
export USE_IMAPS='YES'
export ENABLE_DOVECOT="YES"
export DOVECOT_PROTOCOLS=' pop3 pop3s imap imaps'
export ENABLE_DOVECOT_SSL="YES"
export USE_RCM='YES'
export DEFAULT_LANG='en_US'
export USE_PHPMYADMIN='YES'
export USE_POSTFIXADMIN='YES'
export USE_AWSTATS='YES'
export SITE_ADMIN_NAME='postmaster@autocarspare.com'
export MAIL_ALIAS_ROOT='XXXXXXXXXX@XXXXXXXXXX.com'