Hi, with the tool logsurfer comes a script called start-mail, which takes as parameters the address and the subject... so echo "Hello, this is the body" |start-mail users@host.tld "This is the Subject" works like a charm... karl -----Ursprüngliche Nachricht----- Von: JW [mailto:jw@centraltexasit.com] Gesendet: Mittwoch, 30. Januar 2002 18:53 An: suse-linux-e@suse.com Betreff: [SLE] Postfix sendmail wrapper? Hey, I need to test the postfix /usr/sbin/sendmail. Currently the following works: echo "Hello, this is the body" |sendmail users@host.tld I can't figure out how to get a subject in there. When I search for "sub" in "man sendmail" nothing turns up. Can one of you gurus help me out here? Also, by default it's in /usr/sbin and therefore not in normal users $PATH. Which in interesting considering that it's executable anyway by default. What's the reason it's not in /usr/bin/ ? ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (1)
-
Klingler, Karl