2004-07-30 by Jack L. Stone
At 01:07 PM 7.30.2004 +0000, Emmanuel Dreyfus wrote:
>On Fri, Jul 30, 2004 at 07:59:57AM -0500, Jack L. Stone wrote:
>> I have the filter loading okay in the sendmail.cf and use the following to
>> start it:
>> /usr/local/sbin/milter-rcptfilter -c /usr/local/etc/rcptfilter.conf \
>> -p /var/run/milter-rcptfilter/rcptfilter.sock
>>
>> Anyone else having better luck??
>
>Of course I have :)
>
...of course
>What do you have in sendmail's log? Does milter-rcptfilter go to error state?
>If you run the rcptfilter in the foreground (using -d), what do you have?
>
No error state -- looks normal (to me)
I did run it with the -D but not -d yet
>If you can't get what"s wrong, try adding a printf in mlfi_connect() to see
>if the milter is invoked at all when a new connection gets in.
>
I'll try that too....
Here's the maillog on one incoming showing milter connections & continues:
=======================================================
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967: Milter
(rcptfilter): init success to negotiate
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967: Milter
(greylist): init success to negotiate
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967: Milter
(milter-regex): init success to negotiate
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967: Milter
(spamassassin): init success to negotiate
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967: Milter:
connect to filters
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=rcptfilter, action=connect, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=greylist, action=connect, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=connect, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=spamassassin, action=connect, accepted
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=helo, continue
Jul 30 09:22:01 sage-american milter-greylist: i6UEM1cl051967: address
65.68.247.73 is in exception list
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=greylist, action=mail, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=mail, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=rcptfilter, action=rcpt, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=greylist, action=rcpt, continue
Jul 30 09:22:01 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=rcpt, continue
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967:
from=<jack@...>, size=2291, class=0, nrcpts=1,
msgid=<GJENLKEBMBFGINPDCHJKEEPEDLAA.jack@...>, proto=SMTP,
daemon=MTA, relay=adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967: Milter add:
header: X-Greylist: Sender IP whitelisted, not delayed by
milter-greylist-1.5.3 (sage-american.com [192.168.0.5]); Fri, 30 Jul 2004
09:22:02 -0500 (CDT)
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=header, continue
Jul 30 09:22:02 sage-american last message repeated 14 times
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=eoh, continue
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967:
milter=milter-regex, action=body, continue
Jul 30 09:22:02 sage-american sm-mta[51967]: i6UEM1cl051967: Milter accept:
message
=======================================================
>--
>Emmanuel Dreyfus
>manu@...
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
Best regards,
Jack L. Stone,
Administrator
Sage American
http://www.sage-american.com
jacks@...