I make some improvements and bugfixes in amavis-milter.c from amavisd-new 20020517 and backport it into amavisd 20020531 ( not tested ). Amavisd patch is against patched version ( with patch from amavis-user mailing list http://marc.theaimsgroup.com/?l=amavis-user&m=102364605104887&w=2).

Download patches

for amavisd-new

for amavisd

 

Changelog:

 

Both AMaViSd and AMaViSd-new

test return code from send

}

if (r>0){

receive reply

}

 

New version - send one parameter

set variable

sendamavisd(parameters...

optional test return code

 

AMaViSd-new specific