[BlueOnyx:09445] Re: Email Aliases

Gerald Waugh gwaugh at frontstreetnetworks.net
Wed Jan 25 10:48:32 -05 2012


Michael Stauber wrote:
> 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.

  (*) I'm somewhat confused here, the Email and Web server aliases were
set to company.com above. I have assumed that the MX Record would also
point to company.com, and all my records are setup that way. Some of my
clients use 'mail.company.com and their MX records point to
mail.company.com, having little to do with the name of the site.

I assume from your interpretation that the MX record should point to the
name of the site, and has nothing to do with the email server alias.


> 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.
> 


-- 
Gerald



More information about the Blueonyx mailing list