Mate Wierdl <[EMAIL PROTECTED]> writes: > use mailsubj as > mailsubj foo bar < file.you.want.to.mail > See man page for mailsubj. I'd recommend also reading mailsubj, since it's just a shell script. You can then keep using it, knowing that you know what it's doing and you could do it yourself if you want. FWIW, the most portable solution across a variety of MTAs is probably to open a pipe to "/usr/lib/sendmail -t -oi -oem" and feed it the entire mail message including headers, putting the recipient addresses in the header. There are more efficient ways using the native programs with most MTAs, including qmail, but pretty much everyone has to be sendmail-compatible so that works most everywhere. (With the caveat that you may need to change /usr/lib to /usr/sbin on some platforms.) -- Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>
- off-topic, MUA to mail system files Eric Dahnke
- Re: off-topic, MUA to mail system files Russell Nelson
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files Scott Schwartz
- spam on this list Mate Wierdl
- Re: spam on this list Bruno Wolff III
- Re: spam on this list Vince Vielhaber
- Re: off-topic, MUA to mail system files Mate Wierdl
- Re: off-topic, MUA to mail system files Russ Allbery
- Re: off-topic, MUA to mail system files Mate Wierdl
- Re: off-topic, MUA to mail system files Russ Allbery
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files Scott Schwartz
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn
- Re: off-topic, MUA to mail system files ppiamdn