Web Hosting Talk







View Full Version : Mail Error: 554 rewrite: excessive recursion


nudetravel
10-31-2001, 03:39 PM
Hello:

I am getting the following error when sending mail to a user on one of my virtual domains:

RCPT TO:<user@mydomain.com>
216.105.xx.xxx does not like recipient.
554 rewrite: excessive recursion (max 50), ruleset 3
[Unfavorable reply code, cannot continue]

I also tried user@www.mydomain.com.

I have only one other user set up, and that mail is a fwd to another address and it works fine.

I looked at DNS, I have these A records:
*.mydomain.com => IP
mydomain.com => IP
www.mydomain.com => IP (this was a C record, but I changed it to an A record per previous posts).

MX record mydomain.com => mydomain.com

Any thoughts?

nudetravel
11-01-2001, 10:44 AM
The change from www.mydomain.com from a "C" record to an "A" record has propogated according to http://www.hexillion.com/utilities/ and still NO email accounts are working!!

I get the same message for all of them - '554 rewrite: excessive recursion (max 50), ruleset 3". I have double checked that "accept email for domain" is enabled, and it is!!

I searched the Sun Cobalt archives for answers and then ran this command:
[root@www admin]# /usr/sbin/sendmail -bv user@domain.com
rewrite: excessive recursion (max 50), ruleset 3
rewrite: excessive recursion (max 50), ruleset 0
user@domain.com... User unknown

Any suggestions?

nudetravel
11-01-2001, 12:25 PM
I don't mean to keep bumping this thread, but I am dying here - a couple of thoughts:

In my email server parameters, it says "accept email for the following domains: www.mydomain1.com, www.mydomain2.com, etc. It DOES NOT have the domain withouth the host listed - but it is my understanding that the "accept email by domain" box in site settings does. Could there be a problem there?

My MX record says mydomain.com => mydomain.com
Should I try mydomain.com => www.mydomain.com?
If i do that, will I have to wait for DNS to propogate?

I have to get this working ASAP!!

Thanks for ANY help you can give...

nudetravel
11-01-2001, 01:29 PM
OK - still working on problem.

When I uncheck "accept mail by domain", the error changes from exessive recursion to "bad address".

Errors do not change when I test user@www.domain.com as opposed to user@domain.com.

My virtusertable has entries like:
nobody@domain.com nobody

and
# accept-email-at-domain routes
@domain.com %1@www.domain.com

# catch-all aliases
@www.domain.com error:nouser No such user here

I am posting all of this in hopes that someone will read this and a light will come on and they will say - "HEY - I know how to solve that!!".

:bawling:

Chicken
11-01-2001, 03:01 PM
Can you post whether this is a RaQ3 or 4 first, and I'll try to trouble shoot it if you'd like.

Side note (something you should know)...
I have no idea exactly what is causing the error, but I figure we'll just go through how I'd peronally set it up and see if that matches what you have.

Please mention if the site/user is active and if there would be any problem removing either, just to rebuild the monster :D

nudetravel
11-01-2001, 05:11 PM
Hi Chicken, thanks!

It is a RaQ3. The sites and users are all active. I had tested email using an account that forwards and it works just fine, so I figured it was working OK. I have 4 sites set up that would have to be deleted and re-installed - I would hate to do that to the users.

But I figure it HAS to be some global set-up problem - that is why NONE of them work.

Chicken
11-01-2001, 07:03 PM
The more I read your posts to try to figure out what is going on, the more confused I get heh...

My MX record says mydomain.com => mydomain.com
Should I try mydomain.com => www.mydomain.com?
If i do that, will I have to wait for DNS to propogate?

I guess I'd try this, and yes, you'd have to wait for it to propagate. I'd also recheck the box "accept mail by domain".

As a side note, I (and this is probably bad and is *not* the way to do it, heh), don't set up an MX record at all unless I'm shooting email off to another place (like everyone.net). I've never had a problem though, so...

nudetravel
11-02-2001, 12:10 AM
I got it!! :cool:

For future search fodder:

I had to do the following:

Make sure DNS for the domains in question had A records:
www.domain.com => IP
domian.com => IP

MX records
domain.com => domain.com
domain.com => www.domain.com

Now it's all good, and I am going to have a Cape Cod.

:cartman:

Saint26
02-14-2002, 04:39 PM
I am having the exact same problem on my RaQ2. All the other domains on this RaQ are working fins but this new domain that added is giving me this error:

554 rewrite: excessive recursion (max 50), ruleset 3


I have just made the changes to the DNS entries like nudetravel suggested. Hopefully they work.

The Sun Cobalt knowledge base has become completely useless after Sun tookover Cobalt. I have yet to find a decent answer there.

nudetravel
02-15-2002, 10:23 AM
Saint26 -

Did it work for you?

I have also found that the SunCobalt knowledge base isn't any good - but you will find these forums VERY helpful, I know they have saved my butt many times and also given some great tips.

Good luck!!