BERTRAND Jo\ufffdl a \ufffdcrit :
> Hello,
>
> manu@... a \ufffdcrit :
>
>>BERTRAND Jo\ufffdl <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}"));
>
>
> I have added :
>
> syslog(LOG_INFO, "conf.c_noauth = %d, auth_authen = \"%s\"\n",
> conf.c_noauth, smfi_getsymval(ctx, "{auth_authen}"));
>
> and milter-greylist returns :
>
> Nov 23 10:45:44 kant milter-greylist: conf.c_noauth = 0, auth_authen =
> "(null)"
> Nov 23 10:45:44 kant milter-greylist: jAN9jfL3003686: addr
> 213.41.173.141 from <joel.bertrand@...> to <bertrand@...>
> delayed for 00:10:00
>
> Why "(null)" ?
I have found... I have made a mistake in /etc/pam.d/smtp...
Nov 23 20:23:52 kant milter-greylist: conf.c_noauth = 0, auth_authen =
"bertrand"
Nov 23 20:23:52 kant milter-greylist: User bertrand authenticated,
bypassing greylisting
Regards,
JKBMessage
Re: [milter-greylist] SMTP auth and greylisting
2005-11-23 by BERTRAND Joël
Attachments
- No local attachments were found for this message.