[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Reducing Syslog Messages
From: |
Robert Wagner |
Subject: |
RE: Reducing Syslog Messages |
Date: |
Thu, 1 May 2003 14:21:07 -0500 |
grep 'LogLevel' /etc/mail/sendmail.cf
O LogLevel=9
#O Milter.LogLevel
grep 'LogLevel' /etc/mail/sendmail.mc
<empty>
Hmm...
confMILTER_LOG_LEVEL Milter.LogLevel [9] Log level for input mail filter
actions, defaults to LogLevel.
I am guessing I can add something like:
define(`confMILTER_LOG_LEVEL', `#')dnl
Where # is the level of logging I wish
to sendmail.mc and remake sendmail.cf
Can you confirm this?
-----Original Message-----
From: Chuck Yerkes [mailto:address@hidden
Sent: Thursday, May 01, 2003 2:03 PM
To: 'address@hidden'
Subject: Re: Reducing Syslog Messages
This is sendmail, as far as I can see.
grep 'LogLevel' /etc/mail/sendmail.cf
It should be 9, by default.
If not, how are you starting spamass-milter? 'ps axw |grep spamass'
Quoting Robert Wagner (address@hidden):
> Is there an easy method for reducing the amount of syslog messages that
> spamass-milter creates (or is sendmail generating these)?
> I see the -d nn: option, but I am unsure what is the default level <0>?
> version 0.1.3
>
> May 1 13:21:13 myserver spamd[29901]: identified spam (6.3/5.0) for
root:99
> in 0.0 seconds, 1543 bytes.
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter add:
> header: X-Spam-Flag: YES
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter add:
> header: X-Spam-Status: Yes, hits=6.3
>
required=5.0\n\ttests=FORGED_MUA_OUTLOOK,HTML_60_70,HTML_IMAGE_AREA_04,\n\t
> HTML_IMAGE_ONLY_04,HTML_IMAGE_RATIO_02,HTML_MESSAGE,\n\t
> MIME_HTML_ONLY\n\tversion=2.53
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter add:
> header: X-Spam-Level: ******
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter add:
> header: X-Spam-Checker-Version: SpamAssassin 2.53
1.174.2.15-2003-03-30-exp
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter change:
> header Subject: from I think you will like this to *****SPAM***** I
think
> you will like this
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter change:
> header Content-Type: from text/html;\n charset="us-ascii" to
> multipart/mixed; boundary="----------=_3EB16599.542DC809"
> May 1 13:21:13 myserver sendmail[29889]: h41ILC0L029889: Milter message:
> body replaced