[BlueOnyx:09415] Re: Email Aliases

Michael Stauber mstauber at blueonyx.it
Tue Jan 17 11:01:52 -05 2012


Hi Alan,

> I have followed the advice given by Chris and made sure that all the
> settings were correct in the GUI. I then removed the user and created a
> new user. I still get the following error:
> 
> [127.0.0.1] #<[127.0.0.1] #5.0.0 SMTP; 554 5.0.0 rewrite: excessive
> recursion (max 50), ruleset canonify> #SMTP#
> 
> If I remove the www. from the virtusertable it will fix this problem. What
> can I do to stop this happening in the first place?

Sites on a BlueOnyx are named in the fashion <hostname>.<domain>.<extension>

Example:        www.company.com

The thing here is that all mailboxes on the server also follow this naming 
scheme and the correct email address for a user is:

                       <username>@<hostname>.<domain>.<extension>

Example:        test at www.company.com

Obviously one would desire that emails sent to test at company.com (omitting the 
hostname "www") should also work.

To achieve this and to make sure that emails to test at www.company.com AND 
test at company.com both get delivered, one has to do the following:


a) "Web Server Alias" & "Email Server Alias":
===================================

In the GUI go to the "Site Management" of the site in question.

Click on "Site Settings".

There you see two input textfields labled "Web Server Alias" & "Email Server 
Alias". On a Sausalito powered server the "Email Server Alias" entry can be 
found under "Services" / "Email" for the site in question.

If the site is named "www.company.com", then your aliases (both "Web Server 
Alias" & "Email Server Alias") should be "company.com".


b) DNS:
=======

Next go to the GUI pages for the DNS. On a BlueOnyx that's "Server Management" 
/ "Network Services" / "DNS".

Here is the minimum of DNS records you should have on a server appliance for 
each site:

 company.com	 	---- A Record ---->	 	<IP-Address>
 www.company.com	 ---- A Record ---->	 	<IP-Address>
 <IP-Address>	 	---- Reverse ---->	 	company.com
 company.com	 	---- MX Record --->	 www.company.com (*)
 www.company.com	 ---- MX Record --->	 www.company.com (*)

(*) = This MUST be the exact name (including the hostname part) of the domain 
as shown in the GUI interface.

Summary:
=========

"Web Server Alias" & "Email Server Alias" must be defined, DNS for the domain 
needs two MX records which point to the full host- and domain name of the 
site.

This is ONE approach that works. There are others, which may work as well, but 
usually involve setting up extra MX and A record for something like 
mail.company.com. This approach here is generally more simple and 
straightforward.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list