From: Christian F. <Chr...@t-...> - 2005-08-25 17:56:07
|
Hi, >Does smartd send also alerting emails under Windows XP when run as a windows >service and the option "-m ADDR" is used? > > Yes. The blat mailer (http://blat.sourceforge.net/) is used by default. Install Blat.exe in smartd.exe dir or PATH. Prior to first use, it must be configured for your outbound mailserver by e.g.: blat -install mailserver.mydomain sender.name@mydomain As an extension, Windows smartd displays an error message box if the first ADDR is "msgbox" or "sysmsgbox". >I do see a lot of messages in the event log of my WXP machine, but wonder >whether emails can be send by smartd. > > BTW: By using "-l local0", a smartd.log file is written instead of event log entries. >If so, how can I test whether the daemon is really able to send emails? > > Add "-M test" to smartd.conf and reload service ("net pause smartd & net continue smartd") Reading configuration from stdin is useful for simple tests, e.g: echo /dev/hda -m user@somewhere -M test | smartd -c - -q onecheck Hope this helps, Christian |