DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-05 19:02:35

nurunet
Member
From: Germany
Registered: 2008-08-31
Posts: 44

Sending smartd reports as emails

Hi there!

I just spent some hours trying to use the SmartMonTools' smartd with the -m switch to send error reports by email under ffp 0.5. (See http://smartmontools.sourceforge.net/man/smartd.8.html for information). Simply using -m and a mail address does not work as there does not seem to be the program required (mail). I then tried to install and configure mailx, but to no avail. I could not make it send any mails. Could anyone please help me and tell me how send mails on a CH3SNAS? And how I can get the smartd -m to work?

FYI:

I put the following lines in the smartd.conf (under /ffp/etc) and - except for the mail trouble - it seems to work as expected:

/dev/sda -d marvell -m ***@*********.de -M test
/dev/sdb -d marvell -m ***@*********.de -M test

I tried to edit nail.rc in the same directory too, adding the following lines at the end:

#SMTP Server
set smtp-use-starttls
set smpt=post.strato.de
set pop=post.strato.de
set from="Conceptronic CH3SNAS SmartMonTools"
set smtp-auth-user=***@*********.de
set smtp-auth-password=**********

I'm so wasted...

Regards
Ben


Conceptronic CH3SNAS FW 1.03, ffp from USB key.

Offline

 

#2 2008-10-05 21:18:04

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Sending smartd reports as emails

Have you tried with the esmtp packages?

Offline

 

#3 2008-10-06 00:00:04

nurunet
Member
From: Germany
Registered: 2008-08-31
Posts: 44

Re: Sending smartd reports as emails

I installed them. Couldn't figure out what they are good for, though. Do I need esmtp in addition to mailx or instead of mailx?


Conceptronic CH3SNAS FW 1.03, ffp from USB key.

Offline

 

#4 2008-10-06 09:50:14

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Sending smartd reports as emails

nurunet wrote:

I installed them. Couldn't figure out what they are good for, though. Do I need esmtp in addition to mailx or instead of mailx?

send mail with /ffp/bin/sendmail. Read the documentation at http://esmtp.sourceforge.net/doc.html

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB