Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Milter Logging

8 views
Skip to first unread message

Matanya Elchanani

unread,
Oct 19, 2003, 12:36:21 PM10/19/03
to
Hello,

We are using some milters for sendmail fitering and it looks like the
default milter logging level is a bit too verbose. I was looking at
the code and noticed that the milter code logs according to the value
of MilterLogLevel which is set internaly to the global sendmail
LogLevel option. Unfortunately, I couldn't find any way of setting
MilterLogLevel to something different (without changing the LogLevel
option) other then re-compiling sendmail.

Is there a chance of getting MilterLogLevel into the configuration
options at a future sendmail release?

Claus Aßmann

unread,
Oct 19, 2003, 1:10:07 PM10/19/03
to
Matanya Elchanani wrote:

doc/op/op.*:

Milter [no short name] This option has several
sub(sub)options. The names of the subop-
tions are separated by dots. At the first
level the following options are available:

LogLevel Log level for input mail filter actions,
defaults to LogLevel.


--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Alexander Dalloz

unread,
Oct 19, 2003, 1:26:20 PM10/19/03
to
Matanya Elchanani <melch...@hotmail.com> wrote:

It already is! See cf/README for confMILTER_LOG_LEVEL and/or:

dnl -------------------------------------------------------------------
dnl Enable this to see even more debug output.
dnl Defaults to confLOG_LEVEL.
dnl
dnl If Milter.LogLevel is greater-than:
dnl
dnl 0 Communication errors
dnl 8 Header & RCPT modification messages
dnl 9 Connect to info
dnl 10 Milter error return codes, abort messages
dnl 12 More return code info, connection/open errors
dnl 14 Sender & rcpts info
dnl 17 Show headers & body sent to a milter.
dnl 18 Quit
dnl 21 Time a milter

dnl define(`confMILTER_LOG_LEVEL', 14)dnl

which is from http://www.snert.com/Software/milter-sender/

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Matanya Elchanani

unread,
Oct 19, 2003, 6:11:50 PM10/19/03
to
Claus Aßmann <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de> wrote in message news:<bmughf$7kb$1...@zardoc.esmtp.org>...

> Matanya Elchanani wrote:
>
> > We are using some milters for sendmail fitering and it looks like the
> > default milter logging level is a bit too verbose. I was looking at
> > the code and noticed that the milter code logs according to the value
> > of MilterLogLevel which is set internaly to the global sendmail
> > LogLevel option. Unfortunately, I couldn't find any way of setting
> > MilterLogLevel to something different (without changing the LogLevel
> > option) other then re-compiling sendmail.
>
> > Is there a chance of getting MilterLogLevel into the configuration
> > options at a future sendmail release?
>
> doc/op/op.*:
>
> Milter [no short name] This option has several
> sub(sub)options. The names of the subop-
> tions are separated by dots. At the first
> level the following options are available:
>
> LogLevel Log level for input mail filter actions,
> defaults to LogLevel.

Thank you Claus and Alexander!

I'm always trying to RTFM, but from time to time it catches up with me.
I appreciate your patience.

0 new messages