Hi,
you wrote:
> 1) smartd dumps core with signal 11 when it encounters a blank line in
> /etc/smartd.conf
>
Could not reproduce. Have you first tried the sample smartd.conf, which
contains DEVICESCAN surrounded by blank lines and comments?
> 2) smartd does not recognize “\” – the line continuation. It exits
> with error message.
>
> 3) Smartd does not recognize “-M test” directive. It exits with error
> message.
>
Could not reproduce either. Which error messages are printed?
Be sure to have a plain ASCII configuration file in Unix or DOS text
file format (so do not use Word for editing such files ;-)
Have you built smartmontools 5.33 from CVS or from source tarball?
Which Cygwin1.dll and GCC releases do you use?
> 4) smartd tries to use /bin/mail, but Cygwin does not have /bin/mail.
>
That's correct, /bin/mail is not a reasonable default for Cygwin. Will
change this for future releases.
> ... Cygwin does have tmail, dmail, procmail, mailutil etc.
>
> Which of these mail clients should be used with smartd on Cygwin?
>
I have successfully used Cygwin's "email", which is a replacement for
mail/mailx:
smartd.conf:
/dev/hda -a -m some.admin@... -M exec /usr/bin/email -M test
Unlike mail, email produces verbose messages on success. This results in
"unexpected output" messages from smartd, which can be ignored. To avoid
these messages, add -q option by some wrapper script:
smartd.conf:
/dev/hda -a -m some.admin@... -M exec /somepath/emailq -M test
/somepath/emailq:
#!/bin/bash
/usr/bin/email -q "$@"
As an alternative, the native Windows "blat" mailer
(http://blat.sourceforge.net/) can be used for Cygwin smartd with the
following wrapper script:
#!/bin/bash
/somepath/blat - -q -subject "$2" -to "$3"
(Note: This does not work if more than one address is specified by -m)
> Does it require SMTP server to be run on the same Machine?
>
Both "email" and "blat" support remote SMTP relays.
> If not, how to tell the mail client which mail server to use?
>
email: Edit /etc/email/email.conf
blat: Run "blat -install mailserver.your.domain sender.name@..."
Hope this helps, thanks for any feedback.
Cheers,
Christian

Hi
I am using the new smart suite module 5.32 for webmin and my primary drive
under RH 7.2 (60GB) has 1456 errors detected. The 120GB second drive shows
no errors.
is the drive on its way out?
Mark
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.302 / Virus Database: 265.8.2 - Release Date: 28/01/2005

Hello -
From the mailing list archives, I see that you were working on adding
3Ware 9000 support for smartmontools under FreeBSD. Looking in CVS, I
see that there is 9000 support in os_linux.c but not in os_freebsd.c.
If you need a system to test on, I have an "interesting" system here -
FreeBSD 5.3-RELEASE with 2 9500S-8MI controllers and 16 400GB Seagate
ST3400832AS drives.
Terry Kennedy http://www.tmk.com
terry@... New York, NY USA