I would doublecheck that the macro appears in sendmail.cf.  Maybe the
apt-get update ignores your sendmail.mc and just replaces the
sendmail.cf directly?


On Sun, 2 Sep 2018, Michael Grant wrote:

I'm running spamassassin on several debian systems using sendmail and using
spamass-milter.
I'm seeing this error in my mail logs on one I updated yesterday:

Sep  1 08:21:01 debian spamass-milter[536]: Could not retrieve sendmail
macro "auth_type"!.  Please add it to confMILTER_MACROS_ENVRCPT for better
spamassassin results

I definitely have this macro in my sendmail.mc file:

define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, {auth_type}, {greylist},
{auth_ssf}')dnl

Furthermore on 2 other nearly identical systems I don't have this warning
message.  I only started seeing this warning message when I ran updates
yesterday.  I only get it on inbound mail.

The main packages are all the same version from one system to the other:

dpkg -l | g 'sendmail|spamass|milter'
ii  libmilter1.0.1:amd64                 8.15.2-11                   
 amd64        Sendmail Mail Filter API (Milter)
ii  sa-compile                           3.4.1-8                       all 
        Tools for compiling SpamAssassin rules into C
ii  sendmail                             8.15.2-11                     all 
        powerful, efficient, and scalable Mail Transport Agent (metapackage)
ii  sendmail-base                        8.15.2-11                     all 
        powerful, efficient, and scalable Mail Transport Agent (arch
independent files)
ii  sendmail-bin                         8.15.2-11                   
 amd64        powerful, efficient, and scalable Mail Transport Agent
ii  sendmail-cf                          8.15.2-11                     all 
        powerful, efficient, and scalable Mail Transport Agent (config
macros)
ii  spamass-milter                       0.4.0-1+b1                   
amd64        milter for filtering mail through spamassassin
ii  spamassassin                         3.4.1-8                       all 
        Perl-based spam filter using text analysis
ii  spamc                                3.4.1-8                     
 amd64        Client for SpamAssassin spam filtering daemon

The sendmail.mc is also the same (with differences being things like
hostnames).  

The only difference I know of is one system was updated via apt yesterday,
other a couple months old.

Anyone else seeing this?  What other change might have caused this?

Michael Grant




--
Public key #7BBC68D9 at            |                 Shane Williams
http://pgp.mit.edu/                |      System Admin - UT CompSci
=----------------------------------+-------------------------------
All syllogisms contain three lines |              sha...@shanew.net
Therefore this is not a syllogism  | www.ischool.utexas.edu/~shanew

Reply via email to