I had a working server with Courier-0.53.1 and Amavisd-new-2.3.3 which
I decided to upgrade to Amavisd-new-2.4.0.

I downloaded the new tarball, applied the Courier patch, and migrated
my changes from the old amavisd.conf to the new one.  I also switched
to the new $notify_method recommended for Courier.  After I made these
changes, I put the new amavisd and amavisd.conf files in place.  I
started everything up and tried to send a test message.

It failed and produced this in the logs:

-------------------------------------------------
amavis[4772]: loaded base policy bank
amavis[4772]: loaded policy bank "AM.PDP-SOCK"
amavis[4772]: process_request: fileno sock=12, STDIN=0, STDOUT=1
amavis[4772]: prolong_timer new request - timer reset: timer set to = 480 s
amavis[4772]: process_request: suggested_protocol="AM.PDP" on UNIX
amavis[4772]: process_policy_request: 0, amavisd (ch1-P-idle), fileno=12
amavis[4772]: (!) policy protocol: INVALID ATTRIBUTE LINE:
/var/spool/courier/tmp/114504/D966977\n
amavis[4772]: (!) policy protocol: INVALID ATTRIBUTE LINE:
/var/spool/courier/tmp/114504/1145046752.4846.bnofmail2.buc.com\n
amavis[4772]: (!!) policy_server FAILED: Missing 'request' field at (eval
40) line 195, <GEN4> line 3.
amavis[4772]: TIMING [total 3 ms] - got data: 0 (2%)2, rundown: 3 (98%)100
courieresmtpd: submitclient: bad response from submit: setreply=450 4.5.0
Failure:%20Missing%20'request'%20field%20at%20(eval%2040)%20line%20195,%20<G
EN4>%20line%203..
courieresmtpd: error,relay=::ffff:172.16.17.69,from=<[EMAIL PROTECTED]>:
setreply=450 4.5.0
Failure:%20Missing%20'request'%20field%20at%20(eval%2040)%20line%20195,%20<G
EN4>%20line%203..
amavis[4772]: exiting process_request
amavis[4772]: post_process_request_hook: timer was not running
amavis[4772]: idle_proc, bye: was busy, 39.4 ms, total idle 0.000 s, busy
0.039 s
amavis[4772]: load: 100 %, total idle 0.000 s, busy 0.039 s
-------------------------------------------------

Errors with policy protocol...  Since those settings didn't exist in
the old config, I tried simply removing these two lines from the
config:

    $interface_policy{'SOCK'}='AM.PDP-SOCK';  # only relevant with
$unix_socketname
    $policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };

Restarted and tried again.  No luck.

-------------------------------------------------
amavis[4605]: loaded base policy bank
amavis[4605]: process_request: fileno sock=12, STDIN=0, STDOUT=1
amavis[4605]: prolong_timer new request - timer reset: timer set to = 480 s
amavis[4605]: process_request: suggested_protocol="" on UNIX
amavis[4605]: process_policy_request: 1, amavisd (ch1-P-idle), fileno=12
-------------------------------------------------

No policy protocol errors, but there was nothing in the logs after
this point and my MUA gave up eventually.

What is the problem here?  Is this something to do with the Courier
integration, or is there something else going on?

--
Bowie


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to