prevent syslog to wirte sendmail errors to /var/log/syslog in Solaris 9

Dear Experts,

please i need your help.

I have sendmail filling up a lot of space in /var/log/syslog with such messages:

Nov 2 03:19:43 server1 sendmail[4879]: [ID 801593 mail.info] kA22nhfo001366: to=postmaster, delay=00:27:21, xdelay=00:00:00, ma

iler=relay, pri=218718, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

How can avoid syslogd to log them?

I'm not interested to have mailing system functional, i cannot uninstall sendmail and I'm afraid to stop sendamail service since i know i.e. the cron daemon is used to write mails and they will stay in the queue for ever.

Thanks in advance

F.

[687 byte] By [fafra999] at [2007-11-26 11:16:27]
# 1
edit /etc/syslog.conf and remove the line:mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)then run (on Solaris 9):/etc/init.d/syslog stop/etc/init.d/syslog startor (on Solaris 10)svcadm restart system-log .7/M.
mAbrante at 2007-7-7 3:31:35 > top of Java-index,General,Sys Admin Best Practices...