Dear All,
i got sendmail(8.13.4-3sarge3) installed on Debian.
the problem is- my sendmail partly logs to daemon.log with the process
name "nss_wins"
# cat daemon.log | grep 20151
Dec 15 06:26:51 koe nss_wins[20151]: lBF3QcvU020151: from=<[EMAIL PROTECTED]>,
size=4556, class=0, nrcpts=1, sgid=<[EMAIL PROTECTED]>, proto=SMTP,
daemon=MTA-v4, relay=136.232.203-77.rev.gaoland.net [77.203.232.136] (may be forged)
Dec 15 06:27:00 koe nss_wins[20154]: lBF3QcvU020151: to=<[EMAIL PROTECTED]>,
delay=00:00:11, xdelay=00:00:09,
mailer=esmtp, pri=124556, relay=mail.nf.lan. [192.168.1.100], dsn=2.0.0,
stat=Sent (lBF3Qw915449 Message accepted for delivery)
surfing the Inet i discovered mention of the sendmail dependance on
service.switch file
which is
cat /etc/mail/service.switch
# /etc/mail/nsswitch.conf
#
# This is the format that sendmail expects (no colon after the service)
#
passwd files
hosts files dns
aliases files
as you can see - no option "wins" set
part of logs goes to mail.log but not all of them
Dec 15 06:25:46 koe sendmail[20145]: lBF3PilF020145: from=root, size=515,
class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Dec 15 06:25:47 koe sm-mta[20146]: lBF3PlV0020146: from=<[EMAIL PROTECTED]>,
size=807,
class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>,
proto=ESMTP, daemon=MSP-v4, relay=koe.mydomain.ru [127.0.0.1]
As to syslog.conf it configured as
daemon.*;mail.none -/var/log/daemon.log
mail.* -/var/log/mail.log
How can I make sendmail log all it's activities to mail.log?
with regards,
Anna
--
Anna Skorokhodova
IT Specialist
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]