> I'm only really using policyd v2 for greylisting at the moment which
> seems to be processing correctly. I am however getting an error in my
> logs. I suspect it's a config problem either in policyd or in my
> amavis but I'm not sure where to look.
>
> Apr  6 16:12:47 gateway amavis[9822]: (09822-01)
> policyd/process_policy: Starting
> Apr  6 16:12:47 gateway amavis[9822]: (09822-01)
> policyd/process_policy: Getting session data from queue ID
> 'F265213008D'
> Apr  6 16:12:47 gateway amavis[9822]: (09822-01) [TRACKING] DEBUG:
> Retreiving session data for triplet:
> F265213008D/209.85.219.163/[email protected]
> Apr  6 16:12:47 gateway amavis[9822]: (09822-01) [POLICIES] INFO:
> [ID:1/Name:Default]: Source matching result: matched=1
> Apr  6 16:12:47 gateway amavis[9822]: (09822-01) (!)custom
> process_policy error: Can't use string ("209.85.219.163") as a HASH
> ref while "strict refs" in use at /usr/lib/policyd-2.0/cbp/policies.pm
> line 314, <GEN31> line 31.
>
> I'm also getting this error on my test servers. I've set policyd
> pretty much back to the defaults. The only non-default setting in
> policyd I've got greylisting on the "Default Inbound" policy. The
> error only occurs if the incoming message is sent to an alias rather
> than a full email address. Any idea where I can start looking for the
> cause of this?
>   
The first thing ... 

policyd/process_policy: Getting session data from queue ID
'F265213008D'

Means that the message was not seen by policyd BEFORE end-of-data,
meaning it could of been just as you started up policyd and mail had
already passed through the RCPT restrictions. Or it could mean you are
allowing it, for instance in permit_my_networks before your policy check.

The error on line 314, thats an odd one .... are you using latest stable
or trunk?  can you try snapshotting the svn stable branch and trying that?

Regards
Nigel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to