RE: [AMaViS-user] Problem with 2.3.3 -> 2.4.0 upgrade on Courier

This is a discussion on RE: [AMaViS-user] Problem with 2.3.3 -> 2.4.0 upgrade on Courier within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Bowie Bailey wrote: > Martin Orr wrote: > > On 14/04/06 21:45, Bowie Bailey wrote: > > &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2006
Bowie Bailey
 
Posts: n/a
Default RE: [AMaViS-user] Problem with 2.3.3 -> 2.4.0 upgrade on Courier

Bowie Bailey wrote:
> Martin Orr wrote:
> > On 14/04/06 21:45, Bowie Bailey wrote:
> > > 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' };
> > >
> > > What is the problem here? Is this something to do with the
> > > Courier integration, or is there something else going on?

> >
> > You need to set the protocol to 'COURIER'. You have probably
> > dropped or commented out a line from your old config file:
> > $protocol = 'COURIER';

>
> Good catch!
>
> I had the old and new configurations up in a side-by-side comparison
> with the differences highlighted. I can't believe I didn't notice
> this was missing.
>
> Thanks for the clue-by-four! :)


Ok... That was one problem, but there was one more. I added the
protocol line and tried again with this result:

-------------------------------------------
amavis[3518]: loaded base policy bank
amavis[3518]: loaded policy bank "AM.PDP-SOCK"
amavis[3518]: process_request: fileno sock=12, STDIN=0, STDOUT=1
amavis[3518]: prolong_timer new request - timer reset: timer set to = 480 s
amavis[3518]: process_request: suggested_protocol="AM.PDP" on UNIX
amavis[3518]: process_policy_request: 0, amavisd (ch1-P-idle), fileno=12
amavis[3518]: (!) policy protocol: INVALID ATTRIBUTE LINE:
/var/spool/courier/tmp/114528/D967099\n
amavis[3518]: (!) policy protocol: INVALID ATTRIBUTE LINE:
/var/spool/courier/tmp/114528/1145286389.3533.bnofmail2.buc.com\n
amavis[3518]: (!!) policy_server FAILED: Missing 'request' field at (eval
40) line 195, <GEN4> line 3.
amavis[3518]: 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(eva l%2040)%20line%20195,%20<G
EN4>%20line%203..
courieresmtpd: error,relay=::ffff:172.16.17.69,from=<testu@buc.co m>:
setreply=450 4.5.0
Failure:%20Missing%20'request'%20field%20at%20(eva l%2040)%20line%20195,%20<G
EN4>%20line%203..
amavis[3518]: exiting process_request
amavis[3518]: post_process_request_hook: timer was not running
amavis[3518]: idle_proc, bye: was busy, 41.0 ms, total idle 0.000 s, busy
0.041 s
amavis[3518]: load: 100 %, total idle 0.000 s, busy 0.041 s
-------------------------------------------

Once again, I attempted removing the policy bank entries and that
solved the problem. It now passes normal email and rejects eicar.

The amavisd.conf supplied with the 2.4.0 distribution has default
values for $interface_policy and $policy_bank that appear to be
incompatible with Courier. The README.courier does not mention these
settings. Should this be added to the readme?

The supplied amavisd.conf has these settings:

-------------------------------------------
$interface_policy{'SOCK'}='AM.PDP-SOCK';
$policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };
-------------------------------------------

--
Bowie Bailey
BUC International


-------------------------------------------------------
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=...720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0