CLI Mail as another user.(Bash script)

Ow Mun Heng Ow.Mun.Heng at wdc.com
Fri Aug 6 00:47:12 UTC 2004


Hi all,

	I'm writing a bash script in which I would like to send emails out. 

This would be using the root account, however, I would like for the
email to _appear_ to come from another user. (so that when users reply
to the email, they will get say account_creator at real-host.com instead of
root at localhost) which will bounce.

I noticed evolution uses sendmail -f. I can seem to get this to work
(since it needs "trusted users" right?)

Any other method??

-- 
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive 
Neuromancer 17:44:41 up 3:31, 8 users, load average: 1.44, 0.78, 0.66 





More information about the fedora-list mailing list