|
| | Subject: | Re: Guidance on my config | | Group: | Postfix-users | | From: | Noel Jones | | Date: | 25 Jan 2008 |
Noel Jones wrote:
> Joseph L. Casale wrote:
>>>> # ASSP runs on this server, and 192.168.0.5 is my Exchange server
>>>> mynetworks = 127.0.0.0/8, 192.168.0.5/32
>>> I believe that when using ASSP all connections appear to
>>> postfix as originating from 127.0.0.1. So remove 127.0.0.0/8
>>> from mynetworks so you aren't an open relay.
>>
>> Hrm, I will look into this!
>>
>
> Easy enough to test... just see if postfix logs the correct external
> client IP when it gets a connection from ASSP.
>
Some examples.
correctly showing an external IP:
Jan 24 21:15:25 mgate2 postfix/smtpd[99582]: connect from
english-breakfast.cloud9.net[168.100.1.7]
...
a connection from localhost (in this case a content_filter):
Jan 24 21:16:16 mgate2 postfix/smtpd[16260]: connect from
localhost[127.0.0.1]
...
--
Noel Jones
|