Willie Wong wrote:
On Sat, Dec 03, 2005 at 11:59:27AM +0100, Tamas Sarga wrote:

Hi,

I'm using Postfix on my PC. Some of my programs send mails to me. For example Cron and Smartd. Cron mails have subject, but smartd try to use sendmail -s but sendmail says it is invalid argument. How can I send mails with subject on CLI?


mail, from mail-client/mailx

From my smartd.conf

/dev/hda -a -m root,wwong -s (S/../../5/02|L/../(02|17)/./06) -M exec /bin/mail
/dev/hdb -a -m root,wwong -s (S/../../5/04|L/../(05|22)/./06) -M exec /bin/mail


W


Thanks a lot for all the response. I choosed Willie's solution, it works like a charm.

Cheers,
--
Tamas Sarga                             Sárga Tamás
--
Make the world confused!                Zavard össze a világot!
Smile on monday morning!                Mosolyogj hétfő reggel!
--
gentoo-user@gentoo.org mailing list

Reply via email to