On 01/11/2011 09:35, V wrote:
> Yes, I added to check recipient and check data earlier. I see in logs,
> that I get queue id, but I get the same error.
>
> Then I checked code and found, that session data are updated only in RCPT
> state. In DATA state no data are updated, so, it is impossible to find
> session. a) You cannot get queueid in RCPT state, so you update is bad. b)
> You cannot update in DATA state, because policyd updates session data only
> in rcpt state.
>
> I changed to update data from RCPT to DATA in code (just for test), and I
> got error like this:
>
> Oct 28 22:37:40 server amavis[10523]: (10523-01) (!)custom process_policy
> error: Can't call method "get" on an undefined value at
> /usr/lib/policyd-2.1/awitpt/cache.pm line 256,<GEN8>  line 16.
>
> So, revision should be done in amavisd+policyd integration..
>
> I have chosen policyd from several policy softwares because of amavisd
> support...and it would be great to have it working.

We've fixed the DB init issue.

We also tested policyd with amavis and haven't been able to reproduce.

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

Reply via email to