1. 是否在bacup mx 服务器上,把域名设为 BackupMX 后是否还需要将所有用户导入数据库中?
2. 我查看了网上一些资料,在 primary MX 上应该设置
relay_domains = $mydestination the.backed-up.domain.name
smtpd_recipient_restrictions = permit_mynetworks
                                           check_relay_domains

我在 iRedMail 的 main.cf 中看到的是 relay_domains = $mydestination, proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains.cf
我想请问 proxy在这里是什么意思?

smtpd_recipient_restrictions 中 没有包含 check_relay_domains,是否我应该增加上这一个选项?

3. 我在postfixadmin 中添加 Backup MX 域时,除了将Mail server is backup MX 打勾以外,Transport 下拉框应该选哪个?

4. 除了以上我要注意的,作为备份MX 时,我还需要注意其他设置和问题么?

谢谢!

Jun 30 08:15:09 mail postfix/smtpd[3379]: NOQUEUE: reject: RCPT from unknown[65.54.51.82]: 451 4.3.5 Server configuration error; from=<lawyerliangs@hotmail.com> to=<xuwenbo@longtou.net> proto=ESMTP helo=<snt0-omc3-s45.snt0.hotmail.com>
Jun 30 08:15:15 mail postfix/smtpd[3437]: NOQUEUE: reject: RCPT from unknown[114.255.213.69]: 451 4.3.5 Server configuration error; from=<xinglidan@corp.chinahr.com> to=<hr@longtou.net> proto=ESMTP helo=<CNEXCBEIEDG02.chinahr.com>
Jun 30 08:15:41 mail postfix/smtpd[3304]: NOQUEUE: reject: RCPT from unknown[65.55.90.105]: 451 4.3.5 Server configuration error; from=<tiangangnet@hotmail.com> to=<tian@hokkaisoft.net> proto=ESMTP helo=<snt0-omc2-s30.snt0.hotmail.com>
Jun 30 08:15:44 mail postfix/smtpd[3379]: NOQUEUE: reject: RCPT from unknown[65.55.90.154]: 451 4.3.5 Server configuration error; from=<lawyerliangs@hotmail.com> to=<xuwenbo@longtou.net> proto=ESMTP helo=<snt0-omc3-s15.snt0.hotmail.com>
Jun 30 08:15:50 mail postfix/smtpd[3437]: NOQUEUE: reject: RCPT from unknown[207.46.66.8]: 451 4.3.5 Server configuration error; from=<fujikamisatoshi@hotmail.com> to=<hatanaka@longtou.net> proto=ESMTP helo=<kaw0-omc1-s1.kaw0.hotmail.com>
Jun 30 08:15:53 mail postfix/smtpd[3565]: NOQUEUE: reject: RCPT from unknown[202.72.55.219]: 451 4.3.5 Server configuration error; from=<211263@rmailmf.rakuten.co.jp> to=<hatanak@longtou.net> proto=ESMTP helo=<rmail2012c.rakuten.co.jp>
Jun 30 08:15:56 mail postfix/smtpd[3304]: NOQUEUE: reject: RCPT from unknown[219.94.143.32]: 451 4.3.5 Server configuration error; from=<r+003727@1lejend.com> to=<shinya_a33@longtou.net> proto=ESMTP helo=<s2.asumeru.com>
Jun 30 08:16:15 mail postfix/smtpd[3379]: NOQUEUE: reject: RCPT from unknown[114.255.213.69]: 451 4.3.5 Server configuration error; from=<xinglidan@corp.chinahr.com> to=<hr@longtou.net> proto=ESMTP helo=<CNEXCBEIEDG02.chinahr.com>
Jun 30 08:16:18 mail postfix/smtpd[3437]: NOQUEUE: reject: RCPT from unknown[65.121.144.108]: 451 4.3.5 Server configuration error; from=<ijika@yamaguchi-hp.com> to=<shishunai@longtou.net> proto=ESMTP helo=<imx08.asj-hosting.net>
Jun 30 08:17:12 mail postfix/smtpd[3565]: NOQUEUE: reject: RCPT from unknown[65.55.90.176]: 451 4.3.5 Server configuration error; from=<lawyerliangs@hotmail.com> to=<xuwenbo@longtou.net> proto=ESMTP helo=<snt0-omc3-s37.snt0.hotmail.com>
Jun 30 08:17:15 mail postfix/smtpd[3304]: NOQUEUE: reject: RCPT from unknown[114.255.213.69]: 451 4.3.5 Server configuration error; from=<xinglidan@corp.chinahr.com> to=<hr@longtou.net> proto=ESMTP helo=<CNEXCBEIEDG02.chinahr.com>
Jun 30 08:17:43 mail postfix/smtpd[3379]: NOQUEUE: reject: RCPT from unknown[65.55.90.105]: 451 4.3.5 Server configuration error; from=<tiangangnet@hotmail.com> to=<tian@hokkaisoft.net> proto=ESMTP helo=<snt0-omc2-s30.snt0.hotmail.com>
Jun 30 08:18:16 mail postfix/smtpd[3565]: NOQUEUE: reject: RCPT from unknown[114.255.213.69]: 451 4.3.5 Server configuration error; from=<xinglidan@corp.chinahr.com> to=<hr@longtou.net> proto=ESMTP helo=<CNEXCBEIEDG02.chinahr.com>
Jun 30 08:18:18 mail postfix/smtpd[3304]: NOQUEUE: reject: RCPT from unknown[65.55.34.15]: 451 4.3.5 Server configuration error; from=<dingwen1969@hotmail.com> to=<liuyupei@longtou.net> proto=ESMTP helo=<col0-omc1-s5.col0.hotmail.com>

Jun 30 16:19:16 mail postfix/local[3705]: 80D3540D0724: to=<postmaster@mail.hokkaisoft.net>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (forwarded as 8296640D0738)
Jun 30 16:19:16 mail postfix/qmgr[2860]: 8296640D0738: from=<double-bounce@mail.hokkaisoft.net>, size=1390, nrcpt=1 (queue active)
Jun 30 16:19:16 mail postfix/qmgr[2860]: 80D3540D0724: removed
Jun 30 16:19:16 mail postfix/pipe[3706]: 8296640D0738: to=<webmaster@longtou.net>, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 30 16:19:16 mail postfix/qmgr[2860]: 8296640D0738: removed
Jun 30 08:19:41 mail postfix/smtpd[3565]: connect from unknown[220.209.183.60]
Jun 30 08:19:42 mail postfix/smtpd[3565]: warning: unknown smtpd restriction: "#"
Jun 30 08:19:42 mail postfix/smtpd[3565]: NOQUEUE: reject: RCPT from unknown[220.209.183.60]: 451 4.3.5 Server configuration error; from=<fzx10530@nifty.ne.jp> to=<gogendo@longtou.net> proto=ESMTP helo=<defg303.nifty.com>
Jun 30 08:19:42 mail postfix/smtpd[3565]: warning: unknown smtpd restriction: "#"
Jun 30 08:19:42 mail postfix/smtpd[3565]: NOQUEUE: reject: RCPT from unknown[220.209.183.60]: 451 4.3.5 Server configuration error; from=<fzx10530@nifty.ne.jp> to=<xuwenbo@longtou.net> proto=ESMTP helo=<defg303.nifty.com>

刚刚服务器重启了,仍然不行。接收方的问题好像是。用户收不到邮件了。

这是接收端的日志: (iRedMail 0.4)
Jun 30 02:59:24 mail postfix/smtpd[28976]: NOQUEUE: reject: RCPT from unknown[22                                                                             2.228.112.115]: 451 4.3.5 Server configuration error; from=<apache@mail.sip-japa                                                                             n.net> to=<zhang@hokkaisoft.net> proto=ESMTP helo=<mail.sip-japan.net>
2.xxx.xxx.xxx]: 451 4.3.5 Server configuration error; from=<apache@mail.one.ltd>
to=<zhang@two.ltd> proto=ESMTP helo=<mail.one.ltd>

这是发送端的日志: (iRedMail 0.5)
Jun 30 02:59:50 mail postfix/smtp[9673]: 6941D1E0253: to=<zhang@two.ltd>, relay=
mail.two.ltd[114.xxx.xxx.xxx]:25, delay=71950, delays=71950/0.01/0.64/0.09, dsn=
4.3.5, status=deferred (host mail.two.ltd[114.xxx.xxx.xxx] said: 451 4.3.5 S
erver configuration error (in reply to RCPT TO command))
......
......
......

Jun 30 12:14:01 mail postfix/qmgr[21365]: 1D95B1E0031: from=<apache@mail.one.ltd>, size=635, nrcpt=1 (queue active)
Jun 30 12:14:01 mail postfix/qmgr[21365]: 1F4811E002D: from=<apache@mail.one.ltd>, size=776, nrcpt=1 (queue active)
Jun 30 12:14:01 mail postfix/local[10130]: 1D95B1E0031: to=<apache@mail.one.ltd>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (forwarded as 1F4811E002D)
Jun 30 12:14:01 mail postfix/local[10130]: 248F21E0035: to=<apache@mail.one.ltd>, relay=local, delay=0.03, delays=0.02/0/0/0, dsn=2.0.0, status=sent (forwarded as 297511E002D)



日志里有很多上面的重复内容,时间也不相同。

好!

我看了
http://www.iredmail.org/admin_installation_freebsd.html
里面有个系统需求,请问是否需要先安装System Requirements. 里面描述的组件,再安装IRedMail?
谢谢!

33

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

我是将 /etc/cron.daily下的0logwatch文件移除,然后重启了 crond,不知道有效没效果呢。

34

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

现在发现是由于 logwatch 发送了大量的邮件到邮箱中,导致邮箱满了,造成 sieve.log 和 maillog 体积异常。
可我不知道该如何停止logwatch服务。

35

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

被从家叫到单位,领导发不了邮件了。仔细查看发现 /var/log  已经满了。
主要是maillog ,请问是什么原因!!
/var/log/maillog 足足有4.3G

类似Gmail的 lable 自动分类的功能postfix 现在支持了么?

自己搜了一下,这里有说明 http://www.postfix.org/RESTRICTION_CLASS_README.html

谢谢!

加入了这个选项,在哪里设置邮箱地址呢?

就是想当postfix收到邮件后,个别邮箱的邮件不经过 amavisd 或者  policyd 而直接投递到用户的Maildir中。
不知道应该设置谁的配置文件,还是在数据库中可以设置。
我看了看 数据库中的表,好像没有相关的。
也看了看 /etc/postfix ,/etc/amavisd.conf , /etc/polocyd.conf 配置文件里面都没有能设置个别邮箱过滤的。


现在正在看 http://www.policyd.org/Amavis 设置选项,不知道能不能设定。

想个别邮箱不通过垃圾邮件检查,不管什么邮件都照收,我该在哪设置呢?