OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: "Blocked MTA-BLOCKED", fwd-connect error with amavisd<->postfix

From: Oskar Eyb (oskar-postfixeyb.de)
Date: Sat Jan 19 2008 - 13:45:09 CST


Gary V schrieb am 19.01.2008 16:58:

> $forward_method = 'smtp:[[172.16.0.2]]:10026'; # where to forward checked mail
> $notify_method = 'smtp:[[172.16.0.2]]:10026'; # where to submit notifications
>
> Double brackets? Not certain, but I think this may be why the argument is
> invalid. I would first go with single brackets. See what happens.

Ohh no! That cant be true, the double-brackets are as a matter of fact
the reason for this error.
THANKS for looking so precisely!

> $inet_socket_bind = '172.16.0.2';
> Do you need amavisd-new to accept mail from some client other
> than localhost?

> I'm not sure what you are trying to accomplish by using 127.0.0.2
> and 172.16.0.2 in your amavis and Postfix configuration. In the
> typical setup, amavis listens on 127.0.0.1:10024, Postfix sends mail
> to 127.0.0.1:10024 and then amavis forwards it back to Postfix,
> which is configured to listen on 127.0.0.1:10025 (and accept
> mail only from 127.0.0.0/8). I'm also not sure if it your intent
> to place another program in this chain. It would be helpful to others
> if you described your intent.

Its simple: Because Postfix runs in a FreeBSD-Jail (
http://en.wikipedia.org/wiki/FreeBSD_jail ), and in the jail its of
course not possible to have an 127.0.0.1 IP.

Cheers,
Oskar