[Mimedefang] Another Greylist Question

Jeff Grossman jeff at stikman.com
Tue Jun 22 14:29:49 EDT 2004


on 6/22/04 8:44 AM, David F. Skoll at dfs at roaringpenguin.com wrote:

> On Tue, 22 Jun 2004, Jeff Grossman wrote:
> 
>> It seems that when I am connecting remotely to my Sendmail machine using
>> SMTP Auth, it still temp fails my mail.  How do I make it so that my mail
>> sent using SMTP Auth is not tempfailed, but sent immediately?
> 
> You have to check the auth_authen Sendmail macro (in
> $SendmailMacros{'auth_authen'} and skip the greylisting code
> if it is defined and exists.  Something like:
> 
> if (exists($SendmailMacros{'auth_authen'}) and
>     defined($SendmailMacros{'auth_authen'})) {
>     # Don't do greylisting
> } else {
>     # Do greylisting
> }
> 
> --
> David.

Okay, I cannot figure this out.  Here is what I have done so far.  I put the
following code in my mimedefang-filter:

        if (exists($SendmailMacros{'auth_authen'}) and
            defined($SendmailMacros{'auth_authen'})) {
                return ('CONTINUE', "Ok, go ahead.");
        } else {
        #Check greylist


And, I have put the following in my sendmail.mc file:

define(`confMILTER_MACROS_ENVFROM',`{auth_authen}')

But, for some reason the macro is still not making it to MIMEDefang.

Jeff
-- 
Jeff Grossman (jeff at stikman.com)




More information about the MIMEDefang mailing list