public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Changing subject and from lines of cron emails
Date: Mon, 21 Dec 2009 22:41:13 +0000	[thread overview]
Message-ID: <200912212241.13255.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <D860741D-827D-4933-9E93-C7A0C8A7E66D@stellar.eclipse.co.uk>

On Monday 21 December 2009, Stroller wrote:

> A bit of Googling [1] shows me that:
> 
> 0 8 * * *	/usr/local/bin/get_iplayer -z "Daily Summary" 2>&1 | grep -v
> ^Added | mailx -s "iPlayer Daily Summary" stroller
> 
> which gives a neater subject line.
> 
> However the "from: " address is stroller@host.long.domain, which I
> feel is a little untidy.
> 
> It's probably OCD of me to care, but I would prefer the mails to
> appear in my mail client as from "iPlayer".

Some (don't know about gentoo's) versions of the "mail" command have a "-r" 
switch that lets you specify the "from" address.

In any case, if, instead of mail/mailx, you use a sendmail-compatible agent 
like ssmtp, there you'll definitely have a -r option.



      parent reply	other threads:[~2009-12-21 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 11:35 [gentoo-user] Changing subject and from lines of cron emails Stroller
2009-12-21 16:19 ` [gentoo-user] " reader
2009-12-21 22:23 ` walt
2009-12-22 11:07   ` [gentoo-user] Re: get_iplayer rocks! Stroller
2009-12-21 22:41 ` Etaoin Shrdlu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912212241.13255.shrdlu@unlimitedmail.org \
    --to=shrdlu@unlimitedmail.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox