Y/A Email/Domain Forwarders ques (Parked)

Networkologist

Well-Known Member
Feb 5, 2003
215
2
168
I finished a site for a client that will be changing Domain Names; i.e. from clientdomain.us to clientdomain.com.

I plan on parking clientdomain.us on clientdomain.com.

Would it be better to setup email accounts on the parked (*.us) domain and forward them individually to the corresponding e-mail accounts on the new (*.com) domain or just setup the e-mail accounts on the parked (*.us) domain and do a Domain Forwarder to the new (*.com) domain. Assuming of course that I setup corresponding email accounts on the *.com Domain.
 

maquinadigital

Well-Known Member
Aug 10, 2006
70
7
158
cPanel Access Level
DataCenter Provider
Too many "Received" headers - suspected mail loop

I've used this Emain Domain Forwarder and I'm getting this on exim_mainlog

Code:
Too many "Received" headers - suspected mail loop
This is a parked domain and the parked domain forwards to the main account.

Any help with this?
 

Networkologist

Well-Known Member
Feb 5, 2003
215
2
168
From the EXIM FAQ

Q0061: What does the error Too many “Received” headers - suspected mail loop mean?

A0061: Whenever a message passes through an MTA, a Received: header gets added. Exim counts the number of these headers in incoming messages. If there are more than the value of received_headers_max (default 30), Exim assumes there is some kind of mail routing loop occurring. For example, host A passes the message to host B, which immediately passes it back to host A. Check the Received: headers and the mail logs to determine exactly what is going on.

One common cause of this problem is users with accounts on both systems who set up each one to forward to the other, thinking that will cause copies of all messages to be delivered on both of them.
 

maquinadigital

Well-Known Member
Aug 10, 2006
70
7
158
cPanel Access Level
DataCenter Provider
Q0061: What does the error Too many “Received” headers - suspected mail loop mean?

A0061: Whenever a message passes through an MTA, a Received: header gets added. Exim counts the number of these headers in incoming messages. If there are more than the value of received_headers_max (default 30), Exim assumes there is some kind of mail routing loop occurring. For example, host A passes the message to host B, which immediately passes it back to host A. Check the Received: headers and the mail logs to determine exactly what is going on.

One common cause of this problem is users with accounts on both systems who set up each one to forward to the other, thinking that will cause copies of all messages to be delivered on both of them.


I'm having this exact problem and I don't quite get this FAQ answer. We don't have 2 systems, only one.


I have domain A parked on top of domain B.
I want a domain forwarder A -> B, this is, I want that anyone that sends email to [email protected] goes to [email protected], without having a forwarder per mail address.

My email enters exim and then starts looping.
Is this because the domain is parked on top of the destiny domain?

Any help?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
sorry for posting again but I came across a temporary patch from Andrew.

adding the domain to /etc/localdomain worked like a charm but cpanel should do this on it's own.

http://forums.cpanel.net/f43/header-loop-78388.html#post687246
If the domain was not in "/etc/localdomains", was it instead found in "/etc/remotedomains"?

Domains created via cPanel are automatically setup in either /etc/localdomains or /etc/remotedomains -- are you not seeing domains created in cPanel added to one of these two files?

If the issue is something you can consistently reproduce, please consider submitting either a bug report or a support request so that we may assist with investigation.
 

maquinadigital

Well-Known Member
Aug 10, 2006
70
7
158
cPanel Access Level
DataCenter Provider
If the domain was not in "/etc/localdomains", was it instead found in "/etc/remotedomains"?

Domains created via cPanel are automatically setup in either /etc/localdomains or /etc/remotedomains -- are you not seeing domains created in cPanel added to one of these two files?

If the issue is something you can consistently reproduce, please consider submitting either a bug report or a support request so that we may assist with investigation.
I checked now and the domain was in /etc/remotedomains so, there's no problem with that.

The problem is that Exim keeps looping around it and it only works if the domain is on /etc/localdomains.

I've submitted a ticket but cpanel people asked me to shut down assp and, as it's a production server, that is out of question.
 

maquinadigital

Well-Known Member
Aug 10, 2006
70
7
158
cPanel Access Level
DataCenter Provider
I checked now and the domain was in /etc/remotedomains so, there's no problem with that.

The problem is that Exim keeps looping around it and it only works if the domain is on /etc/localdomains.

I've submitted a ticket but cpanel people asked me to shut down assp and, as it's a production server, that is out of question.

solved the problem...

Removed the parked domain and parked it again. Now, it's automagically in /etc/localdomains without any workaround.