On Tue, August 28, 2007 12:14, Jordi Espasa Clofent wrote:
> Benny Pedersen escribió:
>> On Tue, August 28, 2007 11:52, Jordi Espasa Clofent wrote:
>>
>>> I want to use several features (greylisting, throttling...) but,
>>> obviosly, the main problem is I can test with it if policyd is not
>>> working fine.
>>
>> smtpd_recipient_restrictions =
>>  permit_mynetworks,
>>  reject_unlisted_recipient,
>>  check_policy_service inet:127.0.0.1:10031
>>  permit_sasl_authenticated,
>>  reject_unauth_destination
>>
>> should be it :-)
>
> But not.
> If I send a mail from external account (intergrid.cat) to one of my own
> server account (opengea.org) I look at maillog and I don't see policyd
> working as you can see:

is postfix running behind a router ?

your mynetworks have no wan ip, and you have no proxy_interface = <wan-ip>

postfix need to have sign of the wan ip in one of them, but not both

for the test

smtpd_recipient_restrictions =
 reject_unlisted_recipient,
 check_policy_service inet:127.0.0.1:10031
 permit_sasl_authenticated,
 reject_unauth_destination

postfix reload

now send mail :)

-- 
This message was sent using 100% recycled spam mails.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to