[milters] Archive

Lists Index Date Thread Search

Article: 682
From: Anthony Howe
Date: 2005-08-03 05:47:38 -0400
Subject: Re: Can't get report from milter-report

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

Victor A. Prylipko wrote:
>  have installed libsnert-1.49 & milter-report-0.2 on my FreeBSD 4.10 box.
> 
> And now trying to test it.
> 
> In sendmail mc-file added:
> define(`_FFR_MILTER', `1')dnl
> define(`confMILTER_LOG_LEVEL', 21)dnl
> 
> 
> INPUT_MAIL_FILTER(
>         `milter-report',
>         `S=unix:/var/run/milter-report.socket, T=C:10s;S:10s;R:60s;E:10s'
> )dnl
> 
> In /etc/mail/access
> FROM:victor@liniya.ru           REJECT
> milter-report-To:victor@vic-free.lini-a.ru      REJECT
> 
> In milter-report.sh added:
> 
> OPTIONS='-a 1110 1120 1130 -g 1 -v debug'

This should have caused an error in the log file and probably prevented 
the milter from starting.

The Snert milters all support now separator .cf files where you can put 
the options. So there is no need to put them in the start-up files any more.

	/etc/mail/milter-report.cf

Also the -a option is a comma separated list, as denoted in the syntax 
and default setting.

So you can put the following into /etc/mail/milter-report.cf.

	-a 1110,1120,1130 -g 1
	-v info,trace,debug

> And send test message from victor@liniya.ru to victor@vic-free.lini-a.ru
> 
> In maillog get records:
> 

> Aug  3 11:10:12 vic-free milter-report[71216]: report 1110 started
> Aug  3 11:10:43 vic-free last message repeated 44858 times
> Aug  3 11:11:00 vic-free last message repeated 25922 times

This doesn't look right. Looks like some infinite loop. Hmm. That might 
be a bug, ie. stating a single daily time -a 1110. Will look into this.

> Whats wrong ?

For the moment, specify at least two daily times, comma separated.

-- 
Anthony C Howe                                 +33 6 11 89 73 78
http://www.snert.com/       ICQ:
7116561         AIM: Sir Wumpus

Sendmail Anti-Spam Solutions           http://www.snertsoft.com/
                                             We Serve Your Server

Lists Index Date Thread Search