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:

Aug 28 12:11:37 mail policyd: connecting to mysql database: 127.0.0.1
Aug 28 12:11:37 mail policyd: connected..
Aug 28 12:12:08 mail postfix/smtpd[28039]: connect from 
ns5.mamutserver.com[82.194.70.92]
Aug 28 12:12:08 mail postfix/smtpd[28039]: A371FD50035: 
client=ns5.mamutserver.com[82.194.70.92]
Aug 28 12:12:08 mail postfix/cleanup[28046]: A371FD50035: 
message-id=<[EMAIL PROTECTED]>
Aug 28 12:12:08 mail postfix/qmgr[28017]: A371FD50035: 
from=<[EMAIL PROTECTED]>, size=851, nrcpt=1 (queue active
)
Aug 28 12:12:08 mail postfix/smtpd[28039]: disconnect from 
ns5.mamutserver.com[82.194.70.92]
Aug 28 12:12:16 mail postfix/smtpd[28052]: connect from tartarus[127.0.0.1]
Aug 28 12:12:16 mail postfix/smtpd[28052]: AF6B6D5003B: 
client=tartarus[127.0.0.1]
Aug 28 12:12:16 mail postfix/cleanup[28046]: AF6B6D5003B: 
message-id=<[EMAIL PROTECTED]>
Aug 28 12:12:16 mail postfix/qmgr[28017]: AF6B6D5003B: 
from=<[EMAIL PROTECTED]>, size=1314, nrcpt=1 (queue activ
e)
Aug 28 12:12:16 mail postfix/smtpd[28052]: disconnect from 
tartarus[127.0.0.1]
Aug 28 12:12:16 mail postfix/smtp[28049]: A371FD50035: 
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay
=8.2, delays=0.27/0.01/0.01/7.9, dsn=2.0.0, status=sent (250 2.0.0 Ok: 
queued as AF6B6D5003B)
Aug 28 12:12:16 mail postfix/qmgr[28017]: A371FD50035: removed
Aug 28 12:12:16 mail postfix/virtual[28054]: AF6B6D5003B: 
to=<[EMAIL PROTECTED]>, relay=virtual, delay=0.07, delays=0.
02/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
Aug 28 12:12:16 mail postfix/qmgr[28017]: AF6B6D5003B: removed


-- 
Thanks,
Jordi Espasa Clofent

-------------------------------------------------------------------------
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