On Fri, 1 May 2009, mark wrote:

Just posting this for others who may encounter this:-

This turned out to be an interaction between milter-greylist and spamass-milter. In sendmail.mc the following grey list config was included as part of the greylist setup:-

define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl

however for the spamass-milter to work properly the following needs to be set:

define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, _')dnl

and I commented out: dnl define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl
[snip..]

Mark,
When configuring multiple milters in a sendmail instance, make that "confMILTER_MACROS_ENVRCPT" macro contain the union of all the attributes that the various milters want. That sets the list of variables that are offered to each milter instance. A given milter does not have to look at all the variables offered but it cannot 'see' any that are not offered.
So when in doubt give it more than it needs.

EG for your instance, set that confMILTER_MACROS_ENVRCPT to be:

 define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, _, {greylist}')dnl


--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to