Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] SMTP auth and greylisting

2005-03-16 by manu@netbsd.org

BERTRAND Joël <joel.bertrand@...> wrote:

>       I have in my sendmail.cf :
> 
> O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf},
> {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}

Seems you are going to do add a few printf inside milter-greylist to
discover what is going on.

in milter-greylist.c, search for "Is the user authenticated?", and add
this before the test:

printf("conf.c_noauth = %d, auth_authen = \"%s\"\n",
    conf.c_noauth, smfi_getsymval(ctx, "{auth_authen}"));
    
Do the same for STARTTLS just below. 

printf("conf.c_noauth = %d, verify = \"%s\", cert_subject = \"%s\"\n",
    conf.c_noauth, smfi_getsymval(ctx, "{verify}"), 
    smfi_getsymval(ctx, "{cert_subject}"));

Run milter-greylist in the foreground and check what happens.

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.