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 (mlist.onlyfree.fr)
Date: Mon Dec 31 2007 - 07:04:21 CST


Oskar Eyb wrote:
>>
>>> inject a mail by $ telnet 127.0.0.2 10025
>>
>
>> try with 127.0.0.1 and tell us.
>
> ehm. via port 10025 (postfix) it worked with 127.0.0.1 AND 127.0.0.2
>
> to the 'normal' smtp-port of postfix, 25, there is the problem.
>
> Very confusing, I dont really know where to start fixing...
>

- if there is no postfix/smtpd log saying it got a connection or is
rejecting the connection, then postfix didn't get the connection
- if there is no firewall or security layer (selinux/apparmor/...)
preventing or redirectiing this connection, then amavisd-new is not
tryng to connect there.
- if the latter, amavisd-new config is misconfigured.

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

in amavisd.conf, you should have something like
        $forward_method = 'smtp:[127.0.0.2]:10025';
if your amavisd-new forwards to a single port.