CLI Mail as another user.(Bash script)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx instead of
root@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 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux