spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTP AUTH


From: Dan Nelson
Subject: Re: SMTP AUTH
Date: Sat, 13 Mar 2004 21:11:48 -0600
User-agent: Mutt/1.5.6i

In the last episode (Mar 08), Adam Kujawski said:
> Quoting "Russell J. Lahti" <address@hidden>:
> > When you get this worked out, please post how you did it back to
> > the mailing list.  I'm quite sure that this is functionality that
> > most everyone would be interested in.
> 
> The solution was actually quite simple. I had inserted my if()
> statement in the wrong function. I realized my mistake right after I
> posted my question to the list. It needs to be done in the
> mlfi_envfrom() function of spamass-milter.cpp. At the begining of the
> mlfi_envfrom function, insert the following and recompile:
> 
>         if (smfi_getsymval (ctx, "{auth_type}") != NULL)
>         {
>                 return SMFIS_ACCEPT;
>         }
> 
> That's all their is to it. No changes need to be made to the sendmail
> configuration at all.
> 
> If the author(s) are reading this list, perhaps they could roll this
> functionality into the next release.

I can probably add that as an option (-i smtpauth, or something).

-- 
        Dan Nelson
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]