[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] RaQ3: mailproblem 554 rewrite



>Please see http://pkg.nl.cobalt.com/howto/cobalt_dns_howto.html
>
>> when enable the accept mail for domain option, I get the 
>> following error for all virtual sites
>> 554 rewrite:excessive recursion (max 50), ruleset 3
>> 
>> When disabling this option I cannot get mail for any virtual users.
>> 
>> I cant seem to find how to solve this problem, read earlier 
>> postings on simmilar errors but could not find anything.
>> 
>> my DNS settings:
>> 
>> domain.dom A IP-Address
>> www.domain.dom CNAME domain.dom
>> MX points to domain.dom
>> 
>> have also tried the following DNS settings
>> 
>> domain.dom A IP-Address
>> mail.domain A IP-Address
>> www.domain.dom CNAME domain.dom
>> MX points to mail.domain.dom

In short, a dns domain pointing to a cobalt RaQ should also have an MX entry for the FQDN,
so if your virtual site is called 'www.domain.com', you should have MX entries for

domain.com MX mail.domain.com
www.domain.com MX mail.domain.com

mail.domain.com should be a A record pointing to a IP address.

This is not a Cobalt limitation, but due to the fact that sendmail does not cope well with CNAME records.
As the RaQ internally forwards all mails that are sent to the domain to the FQDN, so e.g. www.domain.com,
www.domain.com should have a MX entry pointing to a hostname which is not a cname.

As you did not have such a MX entry, and the www record was a cname, you are getting these errors.

With regards,

Taco Scargo
Professional Services Manager, EMEA

Sun Microsystems                Tel. +31 (71) 565 7021
Server Appliance Business Unit        taco.scargo@xxxxxxx