Re: [newbie] OT - specifying From in mail

2003-10-01 Thread Derek Jennings
On Wednesday 01 Oct 2003 5:30 am, Todd Slater wrote:
 I have a script that sends mail to a list, but I need to specify the
 from in the mail. I can't figure out how to do this with the mail
 command. Possible?

 Todd

Try using the sendmail command (even if you use Postfix) There is the -F and 
-f options to force the from field

If you do not run a mail server on that machine the ssmtp command has the same 
option.

derek


-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] OT - specifying From in mail

2003-10-01 Thread Todd Slater
On Wed, Oct 01, 2003 at 10:41:51AM +0100, Derek Jennings wrote:
 On Wednesday 01 Oct 2003 5:30 am, Todd Slater wrote:
  I have a script that sends mail to a list, but I need to specify the
  from in the mail. I can't figure out how to do this with the mail
  command. Possible?
 
  Todd
 
 Try using the sendmail command (even if you use Postfix) There is the -F and 
 -f options to force the from field

Thanks, Derek. I fogot to google groups before posting, and I found
mhmail does the job nicely, too.

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com