From: dave on
Hello Everyone,
I have a mail server in the dmz (dmzmail.domain.org) processing
incoming mail for our domain. Each user account has a .forward file in
his/her home directory that sends mail to our inside mail server,
insidemail.domain.org. Some users' mail is "bounced" with a "mail
forwarding loop". Some users' mail is delivered perfectly. I have
enclosed a copy of one of the failed messages. I appreciate your time
and any help you can provide, David.

This is the Postfix program at host insidemail.domain.org.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<user(a)domain.org> (expanded from <user(a)insidemail.domain.org>): mail
forwarding loop for user(a)domain.org



Reporting-MTA: dns; insidemail.domain.org
X-Postfix-Queue-ID: C7AC96C1EF
X-Postfix-Sender: rfc822; user(a)cox.net
Arrival-Date: Tue, 15 May 2007 14:41:37 -0400 (EDT)

Final-Recipient: rfc822; user(a)domain.org
Original-Recipient: rfc822; user(a)insidemail.domain.org
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail forwarding loop for user(a)domain.org



Subject:
test
From:
"First M. Last" <user(a)cox.net>
Date:
Tue, 15 May 2007 14:53:25 -0400
To:
user(a)domain.org, anotheruser(a)domain.org
Received:
by insidemail.domain.org (Postfix, from userid 502) id C7AC96C1EF;
Tue, 15 May 2007 14:41:37 -0400 (EDT)
X-Spam-Checker-Version:
SpamAssassin 3.1.8 (2007-02-13) on insidemail.domain.org
X-Spam-Status:
No, score=0.6 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_POST,
DNS_FROM_RFC_WHOIS,UNPARSEABLE_RELAY autolearn=no version=3.1.8
Received:
from dmzmail.domain.org (unknown [10.1.1.1] by insidemail.domain.org
(Postfix) with SMTP id EC5396C1CC for <user(a)insidemail.domain.org>;
Tue, 15 May 2007 14:41:36 -0400 (EDT)
Received:
by dmzmail.domain.org (Postfix) id 01454D281CE; Tue, 15 May 2007
14:48:19 -0400 (EDT)
Delivered-To:
user(a)domain.org
Received:
from localhost (unknown [127.0.0.1]) by dmzmail.domain.org (Postfix)
with ESMTP id E4677D281CD; Tue, 15 May 2007 14:48:18 -0400 (EDT)
X-Virus-Scanned:
amavisd-new at domain.org
Received:
from dmzmail.domain.org ([127.0.0.1]) by localhost (dmzmail.domain.org
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2QpNJJ+0YJCW;
Tue, 15 May 2007 14:48:17 -0400 (EDT)
Received:
from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by
dmzmail.domain.org (Postfix) with SMTP id 37467D281CB; Tue, 15 May
2007 14:48:17 -0400 (EDT)
Received:
from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net
(InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id
<20070515185325.NSQE20334.eastrmmtao102.cox.net(a)eastrmimpo01.cox.net>;
Tue, 15 May 2007 14:53:25 -0400
Received:
from eastrmwml06.mgt.cox.net ([172.18.52.67]) by eastrmimpo01.cox.net
with bizsmtp id zWtQ1W00T1SzqbQ0000000; Tue, 15 May 2007 14:53:24
-0400
Received:
from 200.200.200.200 by webmail.east.cox.net; Tue, 15 May 2007
14:53:25 -0400
Message-ID:
<16768268.1179255205874.JavaMail.root(a)eastrmwml06.mgt.cox.net>
Reply-To:
user(a)cox.net
MIME-Version:
1.0
Content-Type:
text/plain; charset=utf-8
Content-Transfer-Encoding:
7bit
X-Priority:
3 (Normal)
Sensitivity:
Normal
X-Antivirus:
avast! (VPS 0735-1, 21.04.2007)
X-Antivirus-Status:
Clean
X-Sanitizer:
OUR mail filter
X-Sanitizer-URL:
http://mailtools.anomy.net/
X-Sanitizer-Rev:
$Id: Sanitizer.pm,v 1.94 2006/01/02 16:43:10 bre Exp $

test at 1451

--

From: Ralf Hildebrandt on
On 2007-05-15, dave <drhopkins(a)cox.net> wrote:
> Hello Everyone,
> I have a mail server in the dmz (dmzmail.domain.org) processing
> incoming mail for our domain. Each user account has a .forward file in
> his/her home directory that sends mail to our inside mail server,
> insidemail.domain.org.

How ugly. Why not use relay_recipient_maps and either per-user
transport_maps or virtual_alias_maps?

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de