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 BERTRAND Joël

On Tue, Mar 15, 2005 at 05:39:05PM +0100, Matthieu Herrb wrote:
> 
> manu@... wrote:
> > Matthieu Herrb <matthieu.herrb@...> wrote:
> > 
> > 
> >>May be there's some incompatiblity in the current code between using 
> >>STARTTLS with a client certificate and just using it to send SMTP AUTH
> >>over a secured channel. My code only handles the 1st case iirc.
> >>I've not looked at the code yet to verify this though.
> > 
> > 
> > You mean milter-greylist would be confused because  the client would use
> > both STARTTLS and SMTP AUTH afterwards?
> > 
> Yes. That's what I meant. But after looking at the code, it seems unlikely.
> Better start by double-checking that ${auth_authen} is passed to 
> milter-greylist. ie that:
> 
> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
> 
> is included somewhere in sendmail.mc.

	Matthieu,

	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}

	In my sendmail.mc (debian), I only have :

LOCAL_CONFIG
## Custom configurations below (will be preserved)
include(`/etc/mail/sasl/sasl.m4')dnl
include(`/etc/mail/tls/starttls.m4')dnl
TRUST_AUTH_MECH(`shadow')dnl
define(`confAUTH_MECHANISMS', `shadow')dnl
INPUT_MAIL_FILTER(`greylist', `S=local:/var/run/milter-greylist/greylist.sock')dnl
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.ctl, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `greylist,spamassassin,clamav')dnl

	I use a debian distribution.

	Regards,

	JKB

-- 
En plus c'est simple, je fais ce genre de trucs en g77 depuis des ann\ufffdes :
il suffit d'\ufffdcrire un wrapper en C. Et comme \ufffda, j'ai le meilleur des deux
mondes : la rigueur quasi-monacale du Fortran, et l'exub\ufffdrance p\ufffdtulante du C.

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.