Hi Nigel,

On Fri, Jan 28, 2011 at 3:28 PM, Nigel Kukard <[email protected]> wrote:
>
>
> from INSTALL file ...
> 7. Setup Postfix to use cbpolicyd...
> Add the following Postfix config...
>        check_policy_service inet:127.0.0.1:10031
> in BOTH  smtpd_recipient_restrictions and smtpd_end_of_data_restrictions.
>

Thank you very much. It seems policyd working nice now.

/*
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Got request, running modules...
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Running module: Access
Control Plugin
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Running module:
HELO/EHLO Check Plugin
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Running module:
Greylisting Plugin
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Running module: Quotas Plugin
[2011/01/28-18:22:04 - 1248] [CORE] INFO: module=Quotas, action=defer,
host=xxx.xxx.29.136, helo=vavai.vavai.com, [email protected],
[email protected], reason=quota_match, policy=6, quota=3, limit=4,
track=Sender:[email protected], counter=MessageCount, quota=2/1
(226.6%)
[2011/01/28-18:22:04 - 1248] [CBPOLICYD] DEBUG: Done with modules
[2011/01/28-18:22:34 - 1230] [CORE] INFO: Killing "1" children
[2011/01/28-18:22:34 - 1249] [CBPOLICYD] DEBUG: Shutting down caching
engine (1249)
*/

It seems that the order of smtpd_recipient_restrictions entry related
to my previous problem. Below is the working in mine :

smtpd_recipient_restrictions = check_policy_service
inet:127.0.0.1:10031, reject_non_fqdn_recipient,
permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination, reject_unlisted_recipient,
reject_invalid_hostname, reject_non_fqdn_sender, permit

smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031

Thank you for great response.

-- 
Best Regards,

Masim "Vavai" Sugianto
/************************************************************/
Blog (ID)                                  : http://www.vavai.com
Excellent Infotama Kreasindo    : http://www.vavai.biz
/************************************************************/
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to