> I'm trying to set up policydV2 to control outbound email from my mail
> gateway system based on Postfix, on 'per domain' basis.
> 
> To test the effectiveness of policyd, I have set in
> '/etc/cluebringer.conf':
> 
> # Protocols to load
> protocols=<<EOT
> Postfix
> EOT
> #Bizanga
> 
> # Modules to load
> modules=<<EOT
> Core
> Quotas
> EOT
> #AccessControl
> #CheckHelo
> #CheckSPF
> #Greylisting
> #Amavis
> 
> That I think is the minimal protocol/module to load for my purpouse
> (right?).

Right.


> (Indeed, in debugging messages I saw some warning about the following
> lines:
> 
> # User to run this daemon as
> #user=
> #group=
> 
> [2008/10/27-14:00:46 - 31492] [CORE] WARNING: Group Not Defined.
> Defaulting to EGID '0 0'
> [2008/10/27-14:00:46 - 31492] [CORE] WARNING: User Not Defined.
> Defaulting to EUID '0'
> How I have to set this entry?)

erm .... user= and group= above , its a harmless error if you intend to 
run policyd as root (which you shouldn't).


> 
>>From GUI I have defined a group:
> 
> Group_test --> [EMAIL PROTECTED]
> 
> And two policies:
> 
> Test Outbound --> (src: Group_test, dst: any, priority:50)
> Test Inbound --> (src: any, dst: Group_test, priority:50)
> 
> Finally I have defined a 'quota':
> 
> Test Inbound Quota --> (Track: SenderIP:xxx.yyy.www.zzz/32; Verdict:
> REJECT; Data: Troppi messaggi!; Link to policy: Test Inbound; Limits:
> MessageCount - 1)
> 
> I think that this settings have to reject the second messages that
> xxx.yyy.www.zzz try to deliver to '[EMAIL PROTECTED]'.

Yep.


> But it doesn't seem to me that this really happens..
> 
> I saw, from "/usr/local/bin/cbpolicyd --fg" output:
> 
> [2008/10/27-14:04:43 - 31494] [POLICIES] WARNING: [ID:6/Name:Test
> Inbound]: - Destination 'Group_test' is not a valid specification
> 
> And I can figure out why..
> 
> Any help would be appreciated..

Groups must be prefixed with %, it doesn't look like your is?

Regards
Nigel
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to