[milters] Archive

Lists Index Date Thread Search

Article: 1704
From: Kevin Kretz
Date: 2007-09-17 10:04:31 -0400
Subject: Re: (was) milter-cli rules not working?

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

No insight into this?   Or did I ask something that I should have seen 
by RTFM?


on 09/13/2007 03:03 PM Kevin Kretz said the following:
> Removal...........: milters-request@milter.info?subject=remove
> More information..: http://www.milter.info/#Support
> --------------------------------------------------------
>
> I got milter-cli working properly a month or so ago, and now that I've 
> got the other requirements for the system (relay for TLS auth'd senders 
> only) I see milter-cli working but the envelope and content filters 
> aren't running.
>
> My milter-cli-cf:
>
> +daemon
> verbose=debug
> access-db=/etc/mail/access.db
> content-filter=/usr/local/bin/content_filter.sh
> content-max-size=0
> envelope-filter=/usr/local/bin/envelope_filter.sh
>
>
> the filter.sh files are just placeholders that dump their input and 
> environment to log files (which they have permission to write).  They 
> worked previously and are unchanged.
>
> Here's the milter-cli log output from a (successfully) sent message:
>
> Sep 13 14:57:00 intmail-fw sendmail[4930]: l8DIv0Xa004930: Milter 
> (milter-cli): init success to negotiate
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: enter 
> smfAccessClient(80c3c08, milter-cli-connect:, xxxxx.xxxxx.com, 1.2.3.4, 
> 0, 0)
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: enter 
> smfAccessPattern(80c3c08, "xxxxx.xxxxx.com", "(NULL)...", 0)
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: exit  
> smfAccessPattern(80c3c08, "xxxxx.xxxxx.com", "(NULL)...", 0) rc=_
action=''
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: enter 
> smfAccessPattern(80c3c08, "1.2.3.4", "(NULL)...", 0)
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: exit  
> smfAccessPattern(80c3c08, "1.2.3.4", "(NULL)...", 0) rc=_
action=''
> Sep 13 14:57:00 intmail-fw milter-cli[4878]: 00004 NOQUEUE: exit  
> smfAccessClient(80c3c08, milter-cli-connect:, xxxxx.xxxxx.com, 1.2.3.4, 
> 0, 0) access=95
> Sep 13 14:57:00 intmail-fw sendmail[4930]: l8DIv0Xa004930: 
> milter=milter-cli, action=connect, continue
> Sep 13 14:57:00 intmail-fw sendmail[4930]: l8DIv0Xa004930: 
> milter=milter-cli, action=helo, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=helo, continue
> Sep 13 14:57:02 intmail-fw milter-cli[4878]: 00004 l8DIv0Xb004930: enter 
> smfAccessPattern(80c3c08, "kevin@xxxxx.com", "(NULL)...", 0)
> Sep 13 14:57:02 intmail-fw milter-cli[4878]: 00004 l8DIv0Xb004930: exit  
> smfAccessPattern(80c3c08, "kevin@xxxxxcom", "(NULL)...", 0) rc=_
action=''
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=mail, continue
> Sep 13 14:57:02 intmail-fw milter-cli[4878]: 00004 l8DIv0Xb004930: enter 
> smfAccessPattern(80c3c08, "kevin@xxxxx.com", "(NULL)...", 0)
> Sep 13 14:57:02 intmail-fw milter-cli[4878]: 00004 l8DIv0Xb004930: exit  
> smfAccessPattern(80c3c08, "kevin@xxxxx.com", "(NULL)...", 0) rc=_
action=''
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=rcpt, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=data, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=header, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=eoh, continue
> Sep 13 14:57:02 intmail-fw sendmail[4930]: l8DIv0Xb004930: 
> milter=milter-cli, action=body, continue
>
>
> The filters have 755 permissions and the log directory they're to write 
> to have 777 permissions.  Milter-cli.cf has 644 permissions and is owned 
> by root.
>
>
>
> My access file is
>
> CERTIssuer:(blahblhablahblahblah)   RELAY
>
>
> ... but if I use a null access table, the result isn't much different:
>
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMC005002: Milter 
> (milter-cli): init success to negotiate
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMC005002: 
> milter=milter-cli, action=connect, continue
> Sep 13 15:05:51 intmail-fw milter-cli[4989]: j8DJ5p049894ccf mail=<> ok
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMC005002: 
> milter=milter-cli, action=helo, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=helo, continue
> Sep 13 15:05:51 intmail-fw milter-cli[4989]: 00001 l8DJ5pMD005002: enter 
> smfAccessPattern(80c3bd0, "root@ixxxxx.xxxxx.com", "(NULL)...",
0)
> Sep 13 15:05:51 intmail-fw milter-cli[4989]: 00001 l8DJ5pMD005002: exit  
> smfAccessPattern(80c3bd0, "root@xxxxx.xxxxx.com", "(NULL)...", 0)
rc=_ 
> action=''
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=mail, continue
> Sep 13 15:05:51 intmail-fw milter-cli[4989]: 00001 l8DJ5pMD005002: enter 
> smfAccessPattern(80c3bd0, "kevin@kretz.net", "(NULL)...", 0)
> Sep 13 15:05:51 intmail-fw milter-cli[4989]: 00001 l8DJ5pMD005002: exit  
> smfAccessPattern(80c3bd0, "kevin@kretz.net", "(NULL)...", 0) rc=_
action=''
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=rcpt, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=data, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=header, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=eoh, continue
> Sep 13 15:05:51 intmail-fw sendmail[5002]: l8DJ5pMD005002: 
> milter=milter-cli, action=body, continue
>
>
>
> Any idea why the envelope & content filters aren't being run?
>
>
> Thanks
>
>
> Kevin
>
>
>
>
>
>
>   


Lists Index Date Thread Search