Luigi, > I commented out the "original" AP.PDP lines on amavisd.conf and the > "$interface_policy{'SOCK'} = 'AM.PDP-SOCK';" line > > I put this: > $inet_socket_port = [10024,9998]; > $interface_policy{'9998'} = 'AM.PDP'; > $policy_bank{'AM.PDP'} = { > protocol => 'AM.PDP', > inet_acl => [qw( 127.0.0.1 [::1] )], > }; > > But I still get this error: > > Jul 27 17:00:01 mail amavis[6928]: (06928-04) loaded policy bank "AM.PDP" > Jul 27 17:00:01 mail amavis[6928]: (06928) (!!)policy_server FAILED: File > /var/amavis/tmp/email.txt does not exist at (eval 97) line 385, <GEN41> > line 2. Jul 27 17:00:01 mail amavis[6928]: (06928) TIMING [total 0 ms] - > got data: 0 (1%)1, rundown: 0 (99%)100 > Jul 27 17:00:01 mail amavis[6928]: (06928) (!!)policy_server FAILED: > Missing 'request' field at (eval 97) line 231, <GEN41> line 3.
The request that comes on the port 9998 does not seem to conform to the AM.PDP protocol. Are you really sure you want to use this protocol? It is mainly intended to interface with a MTA milter (see README.milter) through amavisd-milter helper program. A secondary usage for this protocol is to submit a quarantine release request to amavisd. For most other purposes the interfacing protocol of choice is SMTP or LMTP. You haven't told us what is your MTA and your setup. Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ 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