[Mimedefang] Adding filter_helo support

Jan-Pieter Cornet johnpc at xs4all.nl
Tue Jan 31 07:54:49 EST 2006


On Tue, Jan 31, 2006 at 01:23:08AM -0700, Philip Prindeville wrote:
> I was just thinking...  We don't export any of the Sendmail variables into
> the filter_helo() code:
> 
> O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
> 
> What to do about that?

Nothing. Those that want to inspect those macro's, will already use 
the mimedefang -a option to add more macro's, and retrieve those at the
appropriate moment... which is likely the MAIL From phase, not the HELO
phase (it's not even guaranteed those are set when you get to the HELO
stage, most mailers say HELO first and then use STARTTLS).

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list