On Mon, Apr 28, 2014 at 06:20:14PM +0200, Sebastian wrote:

> Thank you Viktor. For clarification purposes I'll attach the output of
> postconf: http://pastebin.com/PBg04yBE
> I removed the override from default append_dot_mydomain = yes and tried to
> send mail from my www jail.
> 
> This is what was logged:
> 
> Apr 28 18:58:06 mail postfix/smtp[6078]: 7D3424207:
> to=<r...@www.blmbrg.de>, orig_to=<root@www>,
> relay=www.blmbrg.de[94.79.159.82]:25, delay=0.24, delays=0.13/0/0.11/0,
> dsn=5.4.6, status=bounced (mail for www.blmbrg.de loops back to myself)
> 
> I have reverted this change after seeing this.

No the change was correct, but it exposed the next problem which you
now need to solve.

> Does this mean we are on to something?

Well you're sending the mail via SMTP, but the receing and sending
system are the same, so Postfix reports a mail loop.

Whichever jailed Postfix receives port 25 mail for any particular
IP address associated with the system must have a different fully
qualified value of $myhostname then the instances that (properly)
forward SMTP mail to that jail.  The sending systems likely also
need to have non-overlapping values of inet_interfaces so that
the receving jail's IP address is not deemed to be local to the
sending jail.

Your multi-jail design is necessarily rather complex, and requires
attention to detail to get right.  A simpler design may be a better
idea.

-- 
        Viktor.

Reply via email to