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

[EMAIL PROTECTED] 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.



_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to