amavis-user June 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] (!!)policy_server FAILED

Re: [AMaViS-user] (!!)policy_server FAILED

From: Mark Martinec <Mark.Martinec+amavis_at_nospam>
Date: Mon Jun 21 2010 - 15:14:49 GMT
To: amavis-user@lists.sourceforge.net

Luigi,

> I am getting this error on amavis installation. It is running amavisd-new
> 2.6.4 and uses MySQL for policy and storage.
>
> Any hint about it?
>
> 08:15:08 amavis[14641]: (14641-01) policy protocol: request=AM.PDP
> 08:15:08 amavis[14641]: (14641) (!!)policy_server FAILED: File
> /var/amavis/tmp/email.txt does not exist at (eval 93) line 385, <GEN16>
> line 2. 08:15:08 amavis[14641]: (14641) TIMING [total 2 ms] - got data: 0
> (1%)1, rundown: 2 (99%)100
> 08:15:08 amavis[14641]: (14641) (!!)policy_server FAILED: Missing 'request'
> field at (eval 93) line 231, <GEN16> line 3.

> 08:15:08 amavis[14641]: (14641) smtp session rundown stale sessions, idle
> 39.7 s, smtp:[127.0.0.1]:10025, state ehlo
> 08:15:08 amavis[14641]: (14641) smtp session rundown, sending QUIT
> 08:15:08 amavis[14641]: (14641) smtp cmd> QUIT
> 08:15:08 amavis[14641]: (14641) smtp resp to QUIT: 221 2.0.0 Bye
>
> 08:15:08 amavis[14643]: (14643-01) loaded policy bank "AM.PDP-SOCK"

Looks like you are loading a policy bank AM.PDP-SOCK (which sets 'protocol'
to 'AM.PDP') even on a SMTP session, which causes SMTP commands to be
interpreted as AM.PDP commands and failing. Check your %interface_policy
settings.

  Mark

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org