On 2013-08-11 06:32, manu@... wrote:
> Jim Klimov <jimklimov@... <mailto:jimklimov%40cos.ru>> wrote:
>
> > Now I've added a toggle "nolog_missing_if_addr" that can be set
> > in the config file to simply disable the logging of the string
> > "smfi_getsymval failed for {if_addr}" if debug logging is on.
> > In my case, this line carries no informative meaning and just
> > pollutes the logs.
>
> Your config option is ugly! :-)
The name? Probably so, but it won the role in a casting competition ;)
First names were even uglier and less to the point, for example,
"nomacro_if_addr" - does it handle not-logging or not-handling at all?
And it's not like we're gonna see it every day on each installation...
> We could just report the error once, and remain silent for later
> messages. After all the thing is configured,(or not configured) in
> sendmail, and will produce the same result for all messages. Having more
> than one alert is probably not useful.
That was another option I considered (first, comparing the efforts),
but I was not sure if absence or emptiness of {if_addr} could be a
transient error - i.e. that something could be passed with some
milter API streams, and not passed with others... So I decided to
make a config toggle, to be certain :)
//JimMessage
Re: [milter-greylist] Toggle to not log failure to fetch {if_addr}
2013-08-11 by Jim Klimov
Attachments
- No local attachments were found for this message.