Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ber on June 11, 2011, 08:03:37 AM

Title: How best to configure domain emails under one email account...
Post by: ber on June 11, 2011, 08:03:37 AM
Hi what would be the best procedure to configure an email account so taht all emails belonging to a particular domain is received into this account.
the server is being used a a secondary Server for MX records in case the main server goes down.
We want to configure  Main server to pull the emails once its back online. (shut down or failure issues). The SME is hosting the Web traffic but not MX.

Thanks. :-)
Title: Re: How best to configure domain emails under one email account...
Post by: CharlieBrady on June 12, 2011, 03:15:20 AM
the server is being used a a secondary Server for MX records in case the main server goes down.
We want to configure  Main server to pull the emails once its back online. (shut down or failure issues).

You don't need to do that. Just add the domain name to /var/qmail/control/rcpthosts (via a template fragment) and qmail will do the rest. Main servers don't need to pull emails from the secondary MX. The secondary MX will deliver via SMTP as soon as it can.

But usually secondary MXs are a waste of time, and just make it harder to combat spam. If your server is down, mails will just wait in sender queues until it is back up again. You don't need a secondary MX.

If you insist on configuring your SME server to be a secondary MX, rcpthosts is all you need to configure qmail, but you will need more template changes to configure qpsmtpd. But just don't bother.
Title: Re: How best to configure domain emails under one email account...
Post by: ber on June 12, 2011, 07:29:49 AM
Hi charlie, can you advise further the procedure for this...
I'm unsure what is meant by template gragment, sorry still learning the Linux fs. (newbie)
Title: Re: How best to configure domain emails under one email account...
Post by: janet on June 12, 2011, 05:05:55 PM
ber

Please read this
http://wiki.contribs.org/Template_Tutorial
and the links it refers to.

I would say that the topic is beyond your current skill level & ability, therefore you would be best paying a consultant to make those required changes for you, unless of course someone here is willing to advise you exactly what steps are required (with all relevant details).
Title: Re: How best to configure domain emails under one email account...
Post by: CharlieBrady on June 12, 2011, 06:36:58 PM
Hi charlie, can you advise further the procedure for this...

Yes - do nothing. Do not provide secondary MX for that domain. If you have set up your server as an MX in that domain's DNS, then remove it. Simple.
Title: Re: How best to configure domain emails under one email account...
Post by: ber on June 12, 2011, 10:16:42 PM
done...
Title: Re: How best to configure domain emails under one email account...
Post by: purvis on July 01, 2011, 10:50:00 AM
ber, i use a service at dyndns.com that does what you want for not a whole lot of cash, about 40 dollars a year.
we are in a louisiana, a hurricane prone area.
i purchased the service when our internet provider, AT&T, would not stay working. i left them for a cable internet company.
it use to be called "mailhop" but now i see it is called "sendlabs mx backup"

i do not need toliet paper either but it is good have and use.