Debug for Sendmail with MailScanner - huh?

shrek-m at gmx.de shrek-m at gmx.de
Wed May 3 17:16:47 IST 2006


On 03.05.2006 17:52, Brett Charbeneau wrote:

> SPECIFICS: Debian Sarge, Sendmail  8.13.4-3, MailScanner 4.51.5-1 with 
> SpamAssassin 3.03.
>
>
>     I'm missing something really easy I suspect - I'd be grateful for 
> any pointers or hints!
>     I am trying to configure sendmail to record the more details in 
> the mail log for each message (this is to try and ferret out a spambot 
> I think I have on my network).
>     I've placed this in my /etc/syslog.conf file:
>
> *.info;daemon.none;authpriv.none;cron.none              /var/log/messages
> mail.*                                      /var/log/mail.log
>
>     in an attempt to get ALL mail log into to go into the mail.log file.
>     In Debian, the init script for Sendmail references the 
> /etc/mail/sendmail.conf file so a lot of options go in there. There is a
>
> DEBUG=1;
>
>     line in the init script, but setting it to "1" doesn't change the 
> log output in either messages OR mail.log.


i do not know debians sendmail.mc
do you mean  `confLOG_LEVEL'  ?

eg.  /etc/mail/sendmail.mc
--------
dnl # default logging level is 9, you might want to set it higher to
dnl # debug the configuration
dnl #
dnl define(`confLOG_LEVEL', `9')dnl
define(`confLOG_LEVEL', `15')dnl
--------

-- 
shrek-m


More information about the MailScanner mailing list