On 9/25/2011 7:25 AM, Thomas Trepper wrote:
Hi Wietse,
I tried your solution with the content-filter option and I have the
following in master.cf:
127.0.0.1:25 inet n - n - - smtpd
-o content_filter=smtp:[wp180.webpack.hosteurope.de:25]
No. I believe you need this, just as Wietse told you:
10.0.0.1:smtp inet n - - - - smtpd
-o content_filter=smtp:[wp180.webpack.hosteurope.de]
Delete all of the other overrides you put in there and give it a go.
AIUI this creates a straight shot between mail arriving on 10.0.0.1 and
wp180.webpack.hosteurope.de, so you don't need, nor want, any other
overrides trying to muck this up.
and in this file (/etc/postfix/sasl_gr_smarthost) you see
wp180.webpack.hosteurope.de<user> <password>
Now you throw a previously unmentioned fly in the ointment...
Until now you had not mentioned you need auth to connect to the
downstream hosts you're relaying to. This is a very odd setup.
Maybe you should back up a few hundred feet and give us the big picture
of what exactly you're trying to accomplish here.
--
Stan