On 2012-04-08 Rich wrote:
> 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?

"u...@archive.domain.com" has a localpart "user" too, causing mail that
was bcc'd to u...@archive.domain.com to loop back to archive.domain.com.

Change the line

  user  u...@archive.domain.com

into

  u...@domain.com       u...@archive.domain.com
  u...@mail.domain.com  u...@archive.domain.com

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to