On Fri, Sep 10, 2004 at 11:39:41AM +0100, Declan Grady wrote:
> Hi,
> I'm trying to have mutt send a mail from a different name.
> I have a cronjob (as root) which sends an email, but I dont want it to
> appear as from root.
>> I googlied and found i can use a .muttrc file to set the from email
> address, but it still appears as the name "root", but with the new email
> address.
>> Do i really have to run the cronjob as that user (its actually not a
> user, its an email alias in sendmail's aliases file)
>> I'm sure its an easy one, but cannot find it in man or in googlie... any
> ideas.
from a command line I just used:
mailx -s "Subject" -a 'From: Brian Brazil <xxxxxx at xxxxx.com>' to at addrss < email
Brian
--
Website: http://netsoc.tcd.ie/~bbrazil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20040910/8db5a67e/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!