Le 08/04/2012 20:13, Rich a écrit : > I am trying to build an archive server for all email. Here is my setup. > > My domain is domain.com > my email server is mail.domain.com and the main.cf settings are: > mydomain is domain.com > myhostname is mail.domain.com > I have a sender_bcc file that says > > user u...@archive.domain.com > > the archive server is archive.domain.com the main.cf settings are: > mydomain = domain.com > myhostname is archive.domain.com > mydestination = archive.domain.com > > When I send mail from mail.domain.com it forwards the mail to > archive.domain.com. > I get the following error on the archive server. > "mail forwarding loop for u...@archive.domain.com" > > Where am I making mistake in the main.cf of the archive server? >
try sending a fresh new mail to u...@archive.domain.com and see if you still have a loop. if you have no loop for new mail, then you were probably resubmitting mail that was already delivered on archive.domain.com (which thus contains a Delivered-To header etc etc) if it happens even for new mail, then something on archive.* is retransmitting mail to mail.*. show the config and _logs_ of archive.mail.domain (we're assuming this is a postfix. if it ain't, we can't help much). forget about the relay/mx and focus on the archive server. See http://www.postfix.org/DEBUG_README.html#mail for the fine directions.