Selcuk Yazar wrote:

>Ok, i solved, my previous problems.
>
>first
>i've added
>
>smtpd_recipient_restrictions =
>check_policy_service inet:<http://127.0.0.1:10031>127.0.0.1:10031,
>smtpd_sender_restrictions =
>check_policy_service inet:<http://127.0.0.1:10031>127.0.0.1:10031,
>smtpd_end_of_data_restrictions=
>check_policy_service inet:<http://127.0.0.1:10031>127.0.0.1:10031,
>
>lines to <http://main.cf>main.cf
>
>but when i started policyd our mail delivery stopped
>
>when i looked up in cbpolicyd.log file
>
>[2011/06/02-14:54:01 - 20829] [CBPOLICYD] DEBUG: Starting up caching engine
>[2011/06/02-14:54:02 - 20504] [CORE] INFO: 2011/06/02-14:54:02 
>CONNECT TCP Peer: "<http://127.0.0.1:34159>127.0.0.1:34159" Local: 
>"<http://127.0.0.1:10031>127.0.0.1:10031"
>[2011/06/02-14:54:03 - 20503] [CORE] INFO: 2011/06/02-14:54:03 
>CONNECT TCP Peer: "<http://127.0.0.1:34160>127.0.0.1:34160" Local: 
>"<http://127.0.0.1:10031>127.0.0.1:10031"
>[2011/06/02-14:54:04 - 20508] [CORE] INFO: 2011/06/02-14:54:04 
>CONNECT TCP Peer: "<http://127.0.0.1:34161>127.0.0.1:34161" Local:
>...
>[2011/06/02-14:54:20 - 20506] [CORE] INFO: 2011/06/02-14:54:20 
>CONNECT TCP Peer: "<http://127.0.0.1:43185>127.0.0.1:43185" Local: 
>"<http://127.0.0.1:10031>127.0.0.1:10031"
>[2011/06/02-14:54:23 - 20505] [CORE] INFO: 2011/06/02-14:54:23 
>CONNECT TCP Peer: "<http://127.0.0.1:43189>127.0.0.1:43189" Local: 
>"<http://127.0.0.1:10031>127.0.0.1:10031"
>......
>
>
>but no mail delivery

"no mail delivery" is not a problem report !
What does Postfix log ?

Also, if you need mail to still flow while you are testing, then you 
can add "warn_if_reject" before each check_policy_service statement 
so that Postfix will put a warning in the logs but still deliver the 
mail. See http://www.postfix.org/postconf.5.html

>also do i change default policies from web interface ???

Yes, you configure your policies via the web interface.


Also, please learn how to drive your mail client. Specifically, find 
how to create plain text mails so it doesn't convert stuff to bogus 
links and add a load of hard to read cruft to your message (see 
quoted bit above).

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to