由于 LDAP schema 不同,所以 extman 对 LDAP 的操作部分肯定会有一些需要改动的,但是我不会 perl,所以暂时没有计划将它整合进来。很抱歉。

你用什么程序发邮件的?可否将邮件文件(源码)贴上来分析一下?

原帖由 i659 于 2009-2-20 10:36 发表 http://www.iredmail.org/bbs/images/common/back.gif
我既要用extmail,也想用后台extman


很抱歉,目前没有尝试过整合 ExtMan,如果你一定要用 ExtMan 的话,可以先试试 ExtMail 团队开发的 EMOS,或者自己整合。

但是对于日常的管理,MySQL + ExtMail + PostfixAdmin 是够用的。你不妨测试一下。

是的,但是之前一直没有合适的 sieve 插件可以配合 webmail,所以采用了直接往文件系统上写文件的方法,所以将 sieve_dir 定义在 apache 用户有权限的目录了。

在下一版本(v0.3.3)里将被修正,因为有插件了。

经过测试,最新的 ExtMail-1.0.5 结合 MySQL 或 OpenLDAP 已经正常工作。有兴趣的话测试一下 0.3.3-beta2 内测版本吧:
http://iredmail.googlecode.com/files/iR … a2.tar.bz2

PIX workaround 这个应该是对方的网络引起的,例如 Cisco 交换机等等,在处理邮件的时候无法正确处理这类数据导致的。

这正是 notice 信息,不是错误。
先尝试解决掉对方 MX 记录的问题再看看结果。估计这个问题会随之解决,因为从日志来看,PIX这个问题是由 MX 记录导致的。

以后版本的 iRedMail/iRedOS 对 LDAP 的支持绝对会比现在更好。

warning: numeric domain name in resource data of MX record for example.com


先解决这个问题。

MX 记录全是数字?

可以。

但是最新版本的 ExtMail 配合 iRedMail 的 schema 似乎有点小问题,导致无法登陆。
争取在即将发布的 0.3.3 版本里修正,如果不急着将服务器上线的话,不妨稍微等几天。

设计思路不一样,程序的需求也不一样。不可能统一。

重新启动 amavisd 服务后是否有同样的问题?

你的 iRedMail 重装过多次?这个恐怕会导致一些问题。

3,712

(12 篇回复,发表在 iRedMail 技术支持)

但你至少要有一个 yum 仓库呀,否则一些软件包的依赖包装不上,导致这个软件本身无法安装。

3,713

(12 篇回复,发表在 iRedMail 技术支持)

你应该是没有按照安装指南的步骤来做吧:
https://www.iredmail.org/wiki/index.php … tion_Guide

3,714

(3 篇回复,发表在 iRedMail 技术支持)

通常,大型的 ISP 都会拒收使用动态 IP 来做服务器的邮件。这样会导致部分无法成功发送邮件的情况。
无法接收邮件,请先自行调试:
1:将 iptables 防火墙暂时关闭:

# /etc/init.d/iptables stop

2:使用其它邮箱给你的账号发邮件,并且跟踪系统上的日志文件,看是否可以从中了解到无法接收的原因。
3:如果可能,应该从你能控制的邮件服务器上给你这台新的服务器发送邮件,这样你可以看到发送邮件的那台服务器的邮件日志,分析出为何无法发送给你。

3,715

(2 篇回复,发表在 iRedMail 技术支持)

你可以参考以下文档进行安装:
http://www.iredmail.org/wiki/index.php? … 5_iRedMail

不妨贴错误信息,大家可以帮你分析。

所有的 RPM 包似乎都没有安装。

你做了 yum 仓库么?将从执行 sh iRedMail.sh 开始的所有日志都贴出来(包括安装软件包的那一段日志)。

你按照安装指南来操作了么?怎么所有预设的文件你都没有?

抱歉,是我疏忽了,漏掉了其它一些参数的配置。

请参考这里,完整的配置说明:
https://www.iredmail.org/wiki/index.php … iant=zh-cn

iRedMail 支持在已有 AMP 的环境安装。

安装完 XAMPP 后,在 iRedMail-x.y.z/conf/global 文件中,将 USE_EXIST_AMP 的值设置为 YES 即可:

export USE_EXIST_AMP='YES'

如果有错误,麻烦您将错误信息贴上来,咱们一起解决它。

3,721

(12 篇回复,发表在 iRedMail 技术支持)

邮箱的路径,以 / 结尾的都表示 maildir 格式,去掉 / 就表示 mailbox。

3,722

(2 篇回复,发表在 iRedMail 技术支持)

访问 /awstats/awstats.pl 试试

密码文件的路径请查看 /etc/httpd/conf.d/awstats.conf 文件,重设密码使用 htpasswd 命令。

3,723

(1 篇回复,发表在 iRedMail 技术支持)

OpenLDAP 2.4.14 is now available for download as detailed on our download page:
    http://www.openldap.org/software/download/

and should soon be available on all official mirrors:
    ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use.  Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors for this release, and the previously unannounced 2.4.13 release, include:

   Howard Chu (Symas Corp)
   Emmanuel Dreyfus
   Hallvard Furuseth (University of Oslo)
   Quanah Gibson-Mount (Yahoo! Inc)
   Ralf Haferkamp (SUSE Linux)
   Gavin Henry (Suretec Systems)
   Pierangelo Masarati (Sys-Net)
   Rein Tollevik (Basefarm AS)

OpenLDAP 2.4.14 Release (2009/02/14)
   Added libldap option to disable SASL host canonicalization (ITS#5812)
   Added libldap TLS_PROTOCOL_MIN (ITS#5655)
   Added libldap GnuTLS support for TLS_CIPHER_SUITE (ITS#5887)
   Added libldap GnuTLS setting random file (ITS#5462)
   Added libldap alias dereferencing in C API (ITS#5916)
   Fixed libldap chasing multiple referrals (ITS#5853)
   Fixed libldap deref handling (ITS#5768)
   Fixed libldap NULL pointer deref (ITS#5934)
   Fixed libldap peer cert memory leak (ITS#5849)
   Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
   Fixed libldap intermediate response behavior (ITS#5896)
   Fixed libldap IPv6 address handling (ITS#5937)
   Fixed libldap_r deref building (ITS#5768)
   Fixed libldap_r slapd lockup when paused during shutdown (ITS#5841)
   Added slapd syncrepl default retry setting (ITS#5825)
   Added slapd val.regex expansion (ITS#5804)
   Added slapd TLS_PROTOCOL_MIN (ITS#5655)
   Added slapd slapi_pw_find (ITS#2615,ITS#4359)
   Added slapd compatibility with MSAD ranged values (ITS#5927)
   Fixed slapd bconfig to return error codes (ITS#5867)
   Fixed slapd bconfig encoding incorrectly (ITS#5897)
   Fixed slapd bconfig dangling pointers (ITS#5924)
   Fixed slapd behavior with superior objectClasses (ITS#5517)
   Fixed slapd connection assert (ITS#5835)
   Fixed slapd epoll handling (ITS#5886)
   Fixed slapd frontend/backend options handling (ITS#5857)
   Fixed slapd glue with MMR (ITS#5925)
   Fixed slapd logging on Windows (ITS#5392)
   Fixed slapd listener comparison (ITS#5613)
   Fixed slapd manageDSAit with glue entries (ITS#5921)
   Fixed slapd syncrepl rename handling (ITS#5809)
   Fixed slapd syncrepl MMR when adding new server (ITS#5850)
   Fixed slapd syncrepl MMR with deleted entries (ITS#5843)
   Fixed slapd syncrepl replication with glued DB (ITS#5866)
   Fixed slapd syncrepl replication with moddn (ITS#5901)
   Fixed slapd syncrepl replication with referrals (ITS#5881)
   Fixed slapd syncrepl replication with config tree (ITS#5935)
   Fixed slapd wake_sds close on Windows (ITS#5855)
   Fixed slapd-bdb/hdb dncachesize handling (ITS#5860)
   Fixed slapd-bdb/hdb RFC4528 control support (ITS#5861)
   Fixed slapd-bdb/hdb trickle task usage (ITS#5864)
   Fixed slapd-hdb idlcache with empty suffix (ITS#5859)
   Fixed slapd-ldap idassert-bind validity checking (ITS#5863)
   Fixed slapd-ldap/meta RFC4525 increment support (ITS#5912)
   Fixed slapd-ldap/meta search dereferencing (ITS#5916)
   Fixed slapd-ldap/meta with intermediate response (ITS#5931)
   Fixed slapd-ldif numerous bugs (ITS#5408)
   Fixed slapd-ldif rename on same DN (ITS#5319)
   Fixed slapd-ldif deadlock (ITS#5329)
   Fixed slapd-meta double response sending (ITS#5854)
   Fixed slapd-meta alias deref for retry (ITS#5889)
   Fixed slapd-relay recursion detection (ITS#5943)
   Fixed slapd-sock descriptor leak (ITS#5939)
   Fixed slapo-accesslog on glued dbs (ITS#5907)
   Fixed slapo-dynlist handling of flags (ITS#5898)
   Fixed slapo-memberof multiple instantiation (ITS#5903)
   Fixed slapo-pcache filter sorting (ITS#5756)
   Fixed slapo-ppolicy to not be global (ITS#5858)
   Fixed slapo-rwm double free (ITS#5923)
   Fixed slapo-rwm with back-config (ITS#5906)
   Fixed slapo-rwm olcRwmRewrite modification (ITS#5940)
   Added slapo-rwm newRDN rewriting (ITS#5834)
   Added slapadd progress meter (ITS#5922)
   Updated contrib/addpartial module (ITS#5764)
   Added contrib/cloak module (ITS#5872)
   Added contrib/smbk5pwd gcrypt support (ITS#5410)
   Added contrib/passwd sha2 support (ITS#5660)
   Build Environment
       Fixed test006 appending to log file (ITS#5910)
       Fixed test036,test039 behavior on error (ITS#5893)
       Fixed test048 sed pathname substitution (ITS#5910)
       Fixed test049,test050 to work on windows (ITS#5842)
       Updated test017,test018,test019 to cover more cases (ITS#5883)
       Removed patch for BerkeleyDB 4.7.25 (Official patch available)
       Fixed MSVC 9.0 build issues (ITS#5888)
       Fixed gss detection on Solaris (ITS#5846)
       Fixed uuid_create/uuid_unparse_lower detection (ITS#5905)
       Fixed liblutil tavl_delete to macroize constants (ITS#5909)
   Documentation
       admin24 added limits chapter (ITS#5818)
       admin24 access-control clarify global ACLS (ITS#5851,ITS#5852)
       admin24 search on nested naming contexts (ITS#5788)
       admin24 consistent loglevel documentation (ITS#5904)
       slapd-bdb/hdb expansion on dncachesize behavior (ITS#5721)
       slapo-constraint(5) example fix (ITS#5895)
       slap*(8) man pages should mention slapd-config (ITS#5828)
       slapacl(8c) fix wording (ITS#5918)
       slapd(8) document sid (ITS#5873)
       slapd.access(5) clarify global ACLS (ITS#5851,ITS#5852)
       slapadd/cat/index(8) note -n 0 for slapd-config (ITS#5891)
       Added SEE ALSO slapd-config(5) to relevant man pages (ITS#5914)

MD5 (openldap-2.4.14.tgz) = fe2089adac9e9bef7172c2fb61cb6ae9
SHA1 (openldap-2.4.14.tgz) = d762022958ae5697334e0f6ad52fc2bf02aaf1d4


Previously released but not announced:

OpenLDAP 2.4.13 Release (2008/11/24)
    Added libldap dereference control support (ITS#5768)
    Fixed libldap parameter checking (ITS#5817)
    Fixed liblutil hex conversion (ITS#5699)
    Fixed liblutil returning undefined data (ITS#5748)
    Fixed libldap error code return (ITS#5762)
    Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
    Fixed libldap MAXHOSTNAMELEN typo (ITS#5815)
    Fixed libldap Ipv6 detection (ITS#5739)
    Fixed libldap setuid usage with .ldaprc (ITS#4750)
    Fixed slapacl crasher (ITS#5820)
    Fixed slapd acl checks on ADD (ITS#4556,ITS#5723)
    Fixed slapd acl application to newly created backends (ITS#5572)
    Fixed slapd #if/#elif issues in thread includes (ITS#5824)
    Added slapd keyword add_content_acl for add checks (ITS#4556,ITS#5723)
    Fixed slapd concurrent access to connections (ITS#5814)
    Fixed slapd config backend olcLogFile support (ITS#5765)
    Fixed slapd contextCSN pending list (ITS#5709)
    Fixed slapd control criticality (ITS#5785)
    Added slapd dn.this search limits (ITS#5734)
    Fixed slapd error status on shutdown (ITS#5745)
    Fixed slapd filter substring handling (ITS#5803)
    Fixed slapd nameUIDPretty bitstring parsing (ITS#5750)
    Fixed slapd null termination of password (ITS#5794)
    Fixed slapd overlay/database open with real structure (ITS#5724)
    Fixed slapd parsing of read entry control (ITS#5741)
    Added slapd PMI schema (ITS#5695)
    Added slapd private databases in global overlays (ITS#5735,ITS#5736)
    Fixed slapd rdn generation when it isn't specified (ITS#5819)
    Fixed slapd slapd.conf validation to LDIF (ITS#5755)
    Fixed slapd startup scan for CSN (ITS#5640)
    Fixed slapd statslog printing of released entry (ITS#5775)
    Added slapd support for certificateListExactMatch (ITS#5700)
    Fixed slapd syncrepl event loss (ITS#5710)
    Fixed slapd syncrepl MOD of attrs with no EQ rule (ITS#5781)
    Fixed slapd syncrepl rename handling (ITS#5809)
    Fixed slapd syncrepl schema checking (ITS#5798)
    Fixed slapd syncrepl filter leak (ITS#5826)
    Fixed slapd undef promote (ITS#5783,ITS#5795)
    Added slapd What failed? control (ITS#5784)
    Fixed slapd-bdb/hdb invalid db crash (ITS#5698)
    Added slapd-bdb/hdb dbpagesize keyword
    Added slapd-bdb/hdb checksum keyword
    Fixed slapd-bdb/hdb indexing of entryDN (ITS#5790)
    Fixed slapd-bdb/hdb lookup of entryDN with equality (ITS#5791)
    Fixed slapd-bdb/hdb uninitialized bli_flag
    Fixed slapd-ldap snprintf buffer overflow test (ITS#4467)
    Fixed slapd-ldap search stop on minor failure (ITS#5816)
    Fixed slapd-ldif file rename on windows (ITS#5774)
    Fixed slapd-null read controls support (ITS#5757)
    Fixed slapd-sql value length with right index (ITS#5779)
    Fixed slapo-chain/translucent back-config support (ITS#5736)
    Fixed slapo-chain segv with search references (ITS#5742)
    Fixed slapo-collect compile with C89 (ITS#5747)
    Added slapo-constraint support for LDAP URI constraints (ITS#5704)
    Added slapo-constraint support for constraining rename (ITS#5703)
    Added slapo-constraint support for relax control (ITS#5705)
    Added slapo-constraint "set" type (ITS#5702)
    Fixed slapo-constraint filter parsing error (ITS#5751)
    Added slapo-dynlist URI restriction ability (ITS#5761)
    Fixed slapo-ppolicy unaligned BerElement (ITS#5770)
    Fixed slapo-rwm objectClass preservation (ITS#5760)
    Fixed slapo-rwm rewriting undefined filter (ITS#5731)
    Fixed slapo-rwm rewritten DN-valued attrs (ITS#5772)
    Fixed slapo-rwm reusing freed filter (ITS#5732)
    Fixed slapo-rwm entry get (ITS#5773)
    Fixed slapo-syncprov runqueue removal (ITS#5776)
    Fixed slapo-syncprov unreplicatable ops (ITS#5709)
    Fixed slapo-syncprov psearch leak (ITS#5827)
    Added slapo-translucent try local bind when remote fails (ITS#5656)
    Added slapo-translucent support for PasswordModify exop (ITS#5656)
    Fixed tools simple bind without SASL (ITS#5753)
    Fixed tools unaligned BerElement (ITS#5770)
    Fixed contrib nssov crash on empty groups (ITS#5800)
    Fixed contrib nssov crash with nssov-map (ITS#5801)
    Fixed contrib nssov filter and search limits (ITS#5802)
    Added contrib smbk5pwd honor principal expiration (ITS#5766)
    Build Environment
        Added ldapurl command
        Added slapd GSSAPI refactoring (ITS#5369)
        Added slapo-deref overlay (ITS#5768)
    Documentation
        admin24 added olcLimits to example (ITS#5746)
        admin24 consolidated on whitespace (ITS#5759)
        slapd.conf,config(5) subordinate/olcSubordinate keyword (ITS#5788)
        slapd.conf(5) fixed disable keyword for limits (ITS#5821)
        slapo-dds(5) manageDIT to relax (ITS#5780)
        slapo-dds(5) rootdn requirement added (ITS#5811)
        slapo-syncprov(5) sessionlog clarification (ITS#5806)

MD5 (openldap-2.4.13.tgz) = 5382bbb4c67172c48c871b6d24b7f8cc
SHA1 (openldap-2.4.13.tgz) = bb6fe22808d36425b3bad6ce367e882530ccbf51

请参考 iRedMail 中设置 procmail 的代码:
http://iredmail.googlecode.com/svn/trun … rocmail.sh

Hello Dovecot users,

It has been about two months since the last release of the new Sieve implementation and the ManageSieve service for Dovecot v1.2. Therefore, this release contains quite a few changes. It adds new sieve features like the enotify extension and multiscript support. Also, quite a few (user-reported) bugs were fixed since the last release.

Changelog Sieve v0.1.3:

  * Adapted to changes in Dovecot, making this release dependent on
    Dovecot >= 1.2.beta1
  * Made mail address comparison fully case-insensitive. This is
    particularly noticeable for the :addresses argument of the vacation
    command.
  + Finished enotify extension. Currently, only the mailto notification
    method is implemented. All still needs to be tested thoroughly.
  + Implemented multiscript support. It is now possible to execute
    multiple Sieve scripts sequentially. Administrator-controlled
    scripts can be executed before and after the user's script. Still
    needs to be tested thoroughly.
  + Implemented support for configuring the available Sieve extensions.
  + Made the subaddress extension (partially) configurable using the
    sieve_subaddress_sep setting, which allows specifying a
    (multi-charater) separator other than '+'.
  + Compiler now warns about invalid header field names used for the
    header and address tests.
  + Vacation extension now properly generates a References header for
    the response message.
  + Added testing of basic result execution to the test suite. Also
    added support for testing the outgoing messages produced by the
    Sieve interpreter.
  + Included execution of the actual result in the sieve-test command
    line tool. The undocumented sieve-exec tool that existed for this is
    now removed as planned.
  + Added support for the now obsolete 'imapflags' extension for
    backwards compatibility with CMUSieve. This also implements the
    mark/unmark commands.
  - Fixed bugs in the regex extension: 1) if an optional match value did
    not in fact match, subsequent match values would get unexpected
    indexes. 2) fixed segfault bug occuring when regex is freed.
  - Fixed bug in the use of the :from agrument for the vacation command.
    If this address included a phrase part, the response would not be a
    valid RFC822 message.
  - Plugged a theoretical security hole occuring when a directory is
    opened as a Sieve binary.
  - Cleaned up and fixed various log messages.
  - Fixed bug in the outgoing address verification. Addresses ending in
    ',' were erroneously accepted.

Changelog ManageSieve v0.11.3:

  * Changed the SASL service name from "managesieve" into "sieve" as
    required in the protocol specification. Don't forget to adjust your
    configuration if your authentication mechanism depends on this
    service name.
  * Adapted to changes in Dovecot, making this release dependent on
    Dovecot >= v1.2.beta1.
  * Adapted to changes in the new Sieve implementation, making this
    release dependent on Dovecot Sieve >= v0.1.3 if used. The old
    cmusieve plugin is still supported.
  + Implemented making the SIEVE and NOTIFY capability fully dynamic,
    meaning that the sieve_extensions setting that was introduced for
    the new Sieve plugin properly affects the ManageSieve daemon as
    well.
  + Added support for the CHECKSCRIPT command. In terms of the supported
    commands, the ManageSieve daemon now complies with protocol VERSION
    1.0 as listed in the CAPABILITY response.
  - Fixed maximum permissions for uploaded scripts; was 0777. This was
    shielded however by the default umask (not documented to be
    configurable), so the actual permissions would never have been 0777.
  - Fixed a segfault bug in the authentication time-out. Bug report and
    trace provided by Wolfgang Friebel.
  - Fixed handling of ~/ in use of mail-data for script location.
  - Fixed small problems in the login proxy support.

The following files are released:

  Sieve:

http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.3.tar.gz
http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-sieve-0.1.3.tar.gz.sig

  ManageSieve package:

http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-managesieve-0.11.3.tar.gz
http://www.rename-it.nl/dovecot/1.2/dovecot-1.2-managesieve-0.11.3.tar.gz.sig

  ManageSieve patch:

http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.beta1-managesieve-0.11.3.diff.gz
http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.beta1-managesieve-0.11.3.diff.gz.sig

Have fun testing the new releases and don't hesitate to notify me when
there are problems.

Regards,

-- 
Stephan Bosch
stephan@rename-it.nl