LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] customising the From: field using a Linux mail application

[ILUG] customising the From: field using a Linux mail application

Greg McRandal mcrandal at maths.tcd.ie
Mon Sep 4 17:52:26 IST 2006


Mutt.

Create a muttrc with this line:
my_hdr From: someone at somewhere.com

Then call mutt:
mutt -F muttrc recipient at host.com

Your recipient should then get a mail from someone at somewhere.com.

Greg

On Mon, Sep 04, 2006 at 04:40:44PM +0100, Patrick Tuite wrote:
> Hi
> 
> I'm using the BSD mail application that's in a RHEL4 AS distribution to mail 
> me log extracts, as below:
> 
> Mail -s "$subject" "$adminEmail" < $mailLog
> 
> I get these mails as coming from root. I'd like to be able to modify the From: 
> field so it says what system it is being mailed from. i.e. From: 
> <system.ucd.ie>. 
> Does anyone know how I can do this with 'Mail', or what mail application I can 
> use instead?
> 
> Cheers
> -- 
> Patrick Tuite



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell