1 (edited by ngiamol 2012-10-16 21:13:42)

Topic: Backup mx not recieving mails

==== Required information ====
- iRedMail version: 0.7.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: Centos 5.8
====

Good evening all.

I have setup a backup mx for my site. But as far i can see the primary mail server it dont forward the mails to the backup.
Is there any tutorial to follow before start asking for help?

Thanks in advance

2

Re: Backup mx not recieving mails

Could you please clearly explain how you setup backup mx?

3

Re: Backup mx not recieving mails

ZhangHuangbin wrote:

Could you please clearly explain how you setup backup mx?

i followed this post
http://www.iredmail.org/forum/topic3257 … up-mx.html

4

Re: Backup mx not recieving mails

You should know when mails will be sent to backup mx.

If primary mail server is down/unreachable, others' mail servers will try connecting backup mx.

5

Re: Backup mx not recieving mails

ZhangHuangbin wrote:

You should know when mails will be sent to backup mx.

If primary mail server is down/unreachable, others' mail servers will try connecting backup mx.

yea. i kept primary server down for 2-3 hours.

6

Re: Backup mx not recieving mails

Do you have proper DNS records for both primary server and backup mx? Backup MX should has lower priority. e.g. primary server has priority 10, then backup mx should has priority larger than 10, for example, 20. Larger priority number means lower priority.

7

Re: Backup mx not recieving mails

ZhangHuangbin wrote:

Do you have proper DNS records for both primary server and backup mx? Backup MX should has lower priority. e.g. primary server has priority 10, then backup mx should has priority larger than 10, for example, 20. Larger priority number means lower priority.

Yea, proper dns records and ports on firewall are double checked.

8

Re: Backup mx not recieving mails

ngiamol wrote:

I have setup a backup mx for my site. But as far i can see the primary mail server it dont forward the mails to the backup.

Primary won't contact backup mx at all, it won't forward emails to backup mx too.

Mail server will connect to primary server by default, if primary server is down, e.g. network unreachable, server down, etc, it will contact your backup mx instead. Backup mx will accept all emails by default, and check whether primary server is up again. When primary server is up, backup mx will forward all received emails to primary server.