From LWapnitsky at ph.wrtdesign.com Thu Apr 26 15:14:59 2012 From: LWapnitsky at ph.wrtdesign.com (Larry G. Wapnitsky) Date: Thu, 26 Apr 2012 15:14:59 -0400 Subject: [Pymilter] Milter.unknown - howto? Message-ID: I'm receiving unknown commands in my milters. I have postfix checking for bogus commands, but I'd like an end-all-be-all solution in the milter. How exactly does Milter.unknown work? Larry G. Wapnitsky, MCSE, MCP+I IT Support & Administration Coordinator WRT / Wallace Roberts & Todd, LLC 1700 Market Street, 28th Floor, Philadelphia, PA 19103 T (215) 430-5068 F (215) 732-2551 C (215) 713-8635 E LWapnitsky at ph.wrtdesign.com www.wrtdesign.com ----wrtmail--%3423wrt%---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From tlyons at ivenue.com Thu Apr 26 15:34:25 2012 From: tlyons at ivenue.com (Todd Lyons) Date: Thu, 26 Apr 2012 12:34:25 -0700 Subject: [Pymilter] Milter.unknown - howto? In-Reply-To: References: Message-ID: On Thu, Apr 26, 2012 at 12:14 PM, Larry G. Wapnitsky wrote: > I'm receiving unknown commands in my milters.? I have postfix checking for > bogus commands, but I'd like an end-all-be-all solution in the milter.? How > exactly does Milter.unknown work? In just about every instance of postfix milter issues I've ever watched others deal with, the symptoms always seemed to be cured by specifying which milter version to use in the postfix config. Do you have any such setting? What's it set to? Google the opendkim mailing list archives for occasional discussion about this very thing. ...Todd -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Martin Golding From LWapnitsky at ph.wrtdesign.com Fri Apr 27 11:00:28 2012 From: LWapnitsky at ph.wrtdesign.com (Larry G. Wapnitsky) Date: Fri, 27 Apr 2012 11:00:28 -0400 Subject: [Pymilter] Milter.unknown - howto? In-Reply-To: References: Message-ID: Here is a copy of my postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix mailbox_size_limit = 0 message_size_limit = 0 milter_default_action = accept milter_protocol = 6 mydestination = mailproc.wrtdesign.com, localhost.wrtdesign.com, localhost myhostname = mailproc.wrtdesign.com mynetworks = 10.102.0.0/16, 192.168.0.0/24 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = ph-svr-exch1.wrtdesign.com smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_command_filter = pcre:/etc/postfix/bogus_commands smtpd_milters = unix:/var/spool/RBL/RBLmilter.sock, unix:/var/spool/EARS/EARSmilter.sock smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes Larry G. Wapnitsky MBA, MCSE, MCP+I IT SUPPORT & ADMINISTRATION COORDINATOR WRT | Wallace Roberts & Todd, LLC 1700 Market Street, 28th Fl Philadelphia, PA 19103 T 215.430.5068 C 215.713.8635 E lwapnitsky at WRTdesign.com -----Original Message----- From: tlyons at sitehelp.org [mailto:tlyons at sitehelp.org] On Behalf Of Todd Lyons Sent: Thursday, April 26, 2012 3:34 PM To: Larry G. Wapnitsky Cc: pymilter at bmsi.com Subject: Re: [Pymilter] Milter.unknown - howto? On Thu, Apr 26, 2012 at 12:14 PM, Larry G. Wapnitsky wrote: > I'm receiving unknown commands in my milters.? I have postfix checking > for bogus commands, but I'd like an end-all-be-all solution in the > milter.? How exactly does Milter.unknown work? In just about every instance of postfix milter issues I've ever watched others deal with, the symptoms always seemed to be cured by specifying which milter version to use in the postfix config. Do you have any such setting? What's it set to? Google the opendkim mailing list archives for occasional discussion about this very thing. ...Todd -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Martin Golding ----wrtmail--%3423wrt%---- From stuart at bmsi.com Fri Apr 27 13:08:52 2012 From: stuart at bmsi.com (Stuart D Gathman) Date: Fri, 27 Apr 2012 13:08:52 -0400 Subject: [Pymilter] Milter.unknown - howto? In-Reply-To: References: Message-ID: <4F9AD2A4.6060609@bmsi.com> Long ago, Nostradamus foresaw that on 04/26/2012 03:34 PM, Todd Lyons would write: > On Thu, Apr 26, 2012 at 12:14 PM, Larry G. Wapnitsky > wrote: >> I'm receiving unknown commands in my milters. I have postfix checking for >> bogus commands, but I'd like an end-all-be-all solution in the milter. How >> exactly does Milter.unknown work? > In just about every instance of postfix milter issues I've ever > watched others deal with, the symptoms always seemed to be cured by > specifying which milter version to use in the postfix config. Do you > have any such setting? What's it set to? Google the opendkim mailing > list archives for occasional discussion about this very thing. I might have misunderstood, but this is about the xxfi_unknown callback in the milter API. This is invoked when the SMTP client invokes an unrecognized (by the MTA) command, e.g. 'FOO'. It is not one of those problems caused by mismatch between libmilter and postfix.