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: mouss (moussnetoyen.net)
Date: Sat Jan 19 2008 - 14:06:02 CST


Oskar Eyb wrote:
>
>
> 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!

on the 31th December 2007, mouss said:

> The "[[[127.0.0.2]]]" is suspicious (triple brackets?). check your
> amavisd config file.

but you apparently missed it ;-p

> [snip]
> 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.

whatever you do, postfix and amavisd-new must be configured to get a
rendez-vous at the same places. if amavisd-new forwards mail to some
ip:port, then this IP port must be configured in master.cf for postfix
to listen on ... etc.