[Mimedefang] Issues w/ authenticated submission

John Rudd john at rudd.cc
Tue Apr 18 19:54:33 EDT 2006


On Apr 18, 2006, at 4:05 PM, Philip Prindeville wrote:

> Matthew.van.Eerde at hbinc.com wrote:
>> Philip Prindeville wrote:
>>
>>> Or else should I add logic to skip this test in mimedefang-filter
>>> (for filter_helo()) when authentication is set?
>>>
>>
>> That sounds like a good idea.  Sendmail sets a macro for 
>> authenticated sessions, you have to export it to the milter.
>> http://www.mimedefang.com/kwiki/index.cgi?SMTPAuth
>>
>>
>
>
> Except that read_commands_file isn't working.  I'm seeing:
>
> Apr 18 16:26:28 mail mimedefang[11357]: Error from multiplexor: error: 
> Cannot open COMMANDS file from mimedefang: No such file or directory
>
> Looks like filter_helo() gets run before envfrom() will have
> been called???  envfrom() is where all the write_macro_value's
> happen...
>

You don't have to do your helo checks in filter_helo.  The same 
information is sent to filter_sender (or used to be ... I hope that 
hasn't changed), so you could do the helo/ehlo based rejections in 
filter_sender instead.






More information about the MIMEDefang mailing list