I've since added these lines to my .muttrc
set user_agent=no
my_hdr X-Operating-System: `uname -smr` `uptime | sed \
's/.*\(up.*\),\ \+[0-9]\+\ user.*/\1/'`
my_hdr X-Mailer: `mutt -v | head -1 | awk '{printf "%s %s", $1, $2}'`
thanks for the help!
tw
Wade A. Mosely ([EMAIL PROTECTED]) said something to this effect on 04/09/2001:
> Tim Whitehead wrote:
> my_hdr X-Mailer: `mutt -v | sed s/"[:space:]*(.*"//`
I think I'd do it like this:
my_hdr X-Mailer: `mutt -v | head -1 | awk '{printf "%s %s", $1, $2}'`
(darren)
--
Historically speaking, t
Tim Whitehead wrote:
> The resulting line from that was
> my_hdr X-Operating-System: `uname -rsm` `uptime | sed s/.*up/up/ | sed
>s/,[[:space:]0-9]*users.*$//`
>
> so I adopted it to
> my_hdr X-Mailer: `mutt -v| grep Mutt -n|grep 1:|sed s/.*Mutt/Mutt/`
>
> As you can see this is a round about
On (08/04/01 23:05), Luke Ravitch wrote:
> As an aside, what version of Mutt do you use? On 1.2.4, I don't see
>From his headers...
User-Agent: Mutt/1.2.5i
Ailbhe
--
Homepage: http://ailbhe.ossifrage.net/
On Mon, Apr 09, 2001 at 12:23:06AM -0500, Tim Whitehead wrote:
>
> I just recently got an email from my sister an noticed that Netscape puts an
> X-Mailer in the header. This started a mini-quest to get the equivalent into
> mine. I delved into the man pages of grep, sed and awk only to find that
I just recently got an email from my sister an noticed that Netscape puts an
X-Mailer in the header. This started a mini-quest to get the equivalent into
mine. I delved into the man pages of grep, sed and awk only to find that my best
solution came from you guys from my last question concerning t