Control: reassign -1 sendmail
Control: severity -1 minor

On Mon, 29 Jun 2015, Nigel Horne wrote:
> On 6/29/15 10:30 AM, Don Armstrong wrote:
> >On Fri, 26 Jun 2015, Nigel Horne wrote:
> >>*** Reporter, please consider answering these questions, where appropriate 
> >>***
> >>
> >>    * What led up to the situation?
> >>    Started spamass-milter
> >>    * What exactly did you do (or not do) that was effective (or
> >>      ineffective)?
> >>    Started spamass-milter
> >>    * What was the outcome of this action?
> >>    Message in /var/log/error:
> >>    Jun 26 14:43:17 nigelhorne spamass-milter[5500]: Could not retrieve 
> >> sendmail macro "auth_type"!.  Please add it to confMILTER_MACROS_ENVRCPT 
> >> for better spamassassin results
> >>    * What outcome did you expect instead?
> >>    That it wouldn't say that.
> >>
> >>$ fgrep RCPT /etc/mail/sendmail.mc
> >>define(`confBAD_RCPT_THROTTLE',`3')dnl
> >>define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, {auth_type}')dnl
> >I think auth_type should actually be in confMILTER_MACROS_ENVFROM, not
> >ENVRCPT.
> >
> >Please add it there, and see if this message goes away.
> >
> >
> 
> I have added it there, typed make in /etc/mail, run service restart sendmail
> and spamass-milter, but the message still occurs:
> 
> Jun 29 15:48:34 nigelhorne spamass-milter[2628]: spamass-milter 0.3.2
> starting
> Jun 29 15:49:30 nigelhorne spamass-milter[2628]: Could not retrieve sendmail
> macro "auth_type"!.  Please add it to confMILTER_MACROS_ENVRCPT for better
> spamassassin results
> 
> ...
> 
> define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, {auth_type}')dnl
> define(`confMILTER_MACROS_ENVFROM',`{auth_type}, i')dnl

Hrm. This looks like a sendmail bug, then.

The code in question is just this:

    macro_auth_type = smfi_getsymval(ctx, "{auth_type}");
    if (!macro_auth_type)
    {
            macro_auth_type = "";
            warnmacro("auth_type", "ENVRCPT");
    }

and macro_auth_type should only be NULL if auth_type is not defined.
[But maybe sendmail doesn't always define that macro if there's not an
authenticated user? Not sure; postfix certainly does.]

I'm going to reassign this to sendmail, and make it affects
spamass-milter; hopefully someone there will know better.

I personally don't run spamass-milter with sendmail any more myself.

-- 
Don Armstrong                      http://www.donarmstrong.com

There is no more concentrated form of evil
than apathy.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to