Koozali.org: home of the SME Server

Secondary Mail Host

Luis

Secondary Mail Host
« on: July 19, 2002, 05:57:04 PM »
Hi All,
I would like to setup a backup mail host. Here's the senario, if my server is down on say DOMAIN 'A', I would like my mail sent (via a secondary MX record) to another SME box on another domain (DOMAIN 'B').
How would I go about this? I have an inkling about this and toyed with 'smtpd_check_rules' but still not success.
Thanks.

Luis

Re: Secondary Mail Host
« Reply #1 on: July 19, 2002, 06:06:29 PM »
Sorry,
I forgot to mention that I'm not talking about a Virtual Domain, but another domain with a separate IP address.
Thanks.

Luis wrote:
>
> Hi All,
> I would like to setup a backup mail host. Here's the senario,
> if my server is down on say DOMAIN 'A', I would like my mail
> sent (via a secondary MX record) to another SME box on
> another domain (DOMAIN 'B').
> How would I go about this? I have an inkling about this and
> toyed with 'smtpd_check_rules' but still not success.
> Thanks.

Guck Puppy

Re: Secondary Mail Host
« Reply #2 on: July 19, 2002, 10:38:22 PM »
This is explicitly what the secondary (tertiary, quartery(sp?)) mx records are for - it's all done at the dns level.

Who is holding your dns records (and thus your primary, secondary, etc MX records) for you? register.com? your ISP? dyndns.org maybe?

Well, whoever it is, it's there that you would make the additional mx record that points to your backup mail server.

dyndns.org says it well :
http://support.dyndns.org/whitepapers/mail.php (point 3)

Luis

Re: Secondary Mail Host
« Reply #3 on: July 20, 2002, 12:44:00 AM »
Hi Guck,
I've done this already. The secondary MX setup was not the issue.
In any case, I finally did manage to figure it out and put in the correct rule.

Guck Puppy wrote:
>
> This is explicitly what the secondary (tertiary,
> quartery(sp?)) mx records are for - it's all done at the dns
> level.
>
> Who is holding your dns records (and thus your primary,
> secondary, etc MX records) for you? register.com? your ISP?
> dyndns.org maybe?
>
> Well, whoever it is, it's there that you would make the
> additional mx record that points to your backup mail server.
>
> dyndns.org says it well :
> http://support.dyndns.org/whitepapers/mail.php (point 3)

Guck Puppy

Re: Secondary Mail Host
« Reply #4 on: July 20, 2002, 12:56:44 AM »
Much puzzlement here then... I thought correctly setup MX records would  preclude the need for any configuration changes to your servers mailing setup... what change did you make (and... why?)

puzzledly,

G

Luis

Re: Secondary Mail Host
« Reply #5 on: July 20, 2002, 08:53:19 AM »
Our servers don't allow relaying unless otherwise specified. You'll have to modify the smtp_check_rules file (use custom templates) and add a rule to allow another domain. Refer to Daniel van Raay post for more info.:
http://forums.contribs.org/index.php?topic=4004.msg13819#msg13819
Regards.

Guck Puppy wrote:
>
> Much puzzlement here then... I thought correctly setup MX
> records would  preclude the need for any configuration
> changes to your servers mailing setup... what change did you
> make (and... why?)
>
> puzzledly,
>
> G