I defined something like this:

!%BLA,!%Null_Sender in Policy Members

 

In Policy Groups I defined:

Null_Sender Policy

 

In Policy Group Members:

Completely empty Member.

 

In order to be able to do this I had to add lines in policies.pm to come up:

[POLICIES] WARNING: [YOU GO: 10/Name: External to external] => (group:
Null_Sender): - Source ' ' is not to valid specification:

 

diff policies.pm.bkp policies.pm

 

331a332,337

>               # Match email NULL

>               } elsif ($item =~ //) {

>                       $res =
emailAddressMatches($sessionData->{'Sender'},$item);

>                       $server->log(LOG_DEBUG,"[POLICIES] $debugTxt: -
Resolved source '$item' to a email Null address specification, match =
$res") if ($log);

> 

> 

 

Greetings,

Santiago. -

 

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

Reply via email to