time zone conversion

2012-01-23 Thread Sebastian Tramp
Hi all,

I'm looking for a way to convert the date header to my local time zone
in the mail detail view. I'm aware of the index format %D option but
need this for the (internal) pager.

Any ideas?

Best regards

Sebastian Tramp

-- 
WebID: http://sebastian.tramp.name


Re: time zone conversion

2012-01-23 Thread P. Mazart
Hi,

Sebastian Tramp schrieb am 23.01.2012 09:21:17:
 I'm looking for a way to convert the date header to my local time zone
 in the mail detail view. I'm aware of the index format %D option but
 need this for the (internal) pager.

Just noticed myself having this problem, too.
Thanks! :-) 

The only thing I can think of yet is using display_filter with an own 
script that uses formail or similar …

P.M.


Re: font setting

2012-01-23 Thread Paul

On Sunday, 22 January, 2012 at 18:35:52 GMT, Ravi Uday wrote:

When I compose my view my editior is set as vim.
How can I automatically set the color and font type in my outgoing
mails when I use mutt
to send emails. Like i need all my msgs in blue, italisize and font=ariel.


There are a few ways (best ask on the vim mailing list if you want more), but 
the most direct way would be to pass vim the settings that you want, from your 
.muttrc:

set editor=vim -c 'set font=ariel etc'

or put the commands into ~/.vim/ftplugin/mail.vim and, in .muttrc:

set editor=vim -c 'set ft=mail'

--

.


Re: time zone conversion

2012-01-23 Thread Paul

On Monday, 23 January, 2012 at 08:21:17 GMT, Sebastian Tramp wrote:

I'm looking for a way to convert the date header to my local time zone
in the mail detail view. I'm aware of the index format %D option but
need this for the (internal) pager.

Any ideas?


This is not fantastic, but it's worked for me:

Create a new script, eg. mutt_date_filter.pl:

---

#!/usr/bin/env perl

use strict;
use warnings;

while () {
s/\b(..., \d{1,2} ... \d{4} \d\d:\d\d:\d\d [+-]?\d{4})\b/my $d;chomp($d=`date -d 
$1 +'%A, %d %B, %Y, %T %Z'`);$d/eg;
print $_;
}

---

It looks for a string format matching that regex, and passes it to the 'date' 
command, which outputs it in your local time zone. I also told it to reformat 
it according to my own taste.

In .muttrc:

set display_filter=mutt_date_filter.pl

Make sure it's in your path.

--

.


Re: font setting

2012-01-23 Thread Jostein Berntsen
On 23.01.12,13:27, Paul wrote:
 On Sunday, 22 January, 2012 at 18:35:52 GMT, Ravi Uday wrote:
 When I compose my view my editior is set as vim.
 How can I automatically set the color and font type in my outgoing
 mails when I use mutt
 to send emails. Like i need all my msgs in blue, italisize and font=ariel.
 
 There are a few ways (best ask on the vim mailing list if you want more), but 
 the most direct way would be to pass vim the settings that you want, from 
 your .muttrc:
 
 set editor=vim -c 'set font=ariel etc'
 
 or put the commands into ~/.vim/ftplugin/mail.vim and, in .muttrc:
 
 set editor=vim -c 'set ft=mail'

Have you an example on how this is set in mail.vim? Could not find this
information.

Jostein


Re: time zone conversion

2012-01-23 Thread Gary Johnson
On 2012-01-23, Sebastian Tramp wrote:
 Hi all,
 
 I'm looking for a way to convert the date header to my local time zone
 in the mail detail view. I'm aware of the index format %D option but
 need this for the (internal) pager.
 
 Any ideas?

Would displaying that in the 'pager_format' line work for you?

Regards,
Gary



Re: font setting

2012-01-23 Thread Michael Graham

On 22/01/2012 18:35, Ravi Uday wrote:


How can I automatically set the color and font type in my outgoing mails when I 
use mutt to send emails. Like i need all my msgs in blue, italisize and 
font=ariel.


Do you mean you want to set it so that the *recipient* sees the 
underlining, blue test, c.?  If that is what you mean, then it sounds 
like you want to send email in HTML format, which I’m pretty certain 
mutt doesn’t do.


--
  Mike__ __ __
 / /_  ___ _/ /__ _/ / _  __
/  '_/ _ \/ __/ _ `/ / _ `/ __/ _ \ |/ /  Raconteur, Mostly
   /_/\_\\___/_/  \_,_/_/\_,_/\__/\___/___/  http://koralatov.com/


How do I change ~/Mail to something else like for instance ~/mail ?

2012-01-23 Thread
I have been using Mutt for several years. I recently had a major failure on my 
desktop machine, and purchased a new (to me) replacement. The hard drives from 
the old machine and the data on them survived the failure. I have put them into 
boxes that turn them into USB drives and have all my old configuration files 
for Mutt, fetchmail, and procmail. But things are not going well. I want to 
receive my mail into a different place while I debug, so the question in the 
Subject: line.

 How do I change ~/Mail to something else like for instance ~/mail ?

TIA

-- 
Paul E Condon pecon...@mesanetworks.net


Re: How do I change ~/Mail to something else like for instance ~/mail ?

2012-01-23 Thread Patrick Shanahan
* pecon...@mesanetworks.net pecon...@mesanetworks.net [01-23-12 11:21]:
 I have been using Mutt for several years.  I recently had a major
 failure on my desktop machine, and purchased a new (to me) replacement. 
 The hard drives from the old machine and the data on them survived the
 failure.  I have put them into boxes that turn them into USB drives and
 have all my old configuration files for Mutt, fetchmail, and procmail. 
 But things are not going well.  I want to receive my mail into a
 different place while I debug, so the question in the Subject: line.
 
  How do I change ~/Mail to something else like for instance ~/mail ?

please set your wordwrap on to ~ 78 chars

You need to configure fetchmail/procmail to deliver to ~/mail rather than
the newer default of ~/Mail


-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: How do I change ~/Mail to something else like for instance ~/mail ?

2012-01-23 Thread Jostein Berntsen
On 23.01.12,08:20, pecon...@mesanetworks.net wrote:
 I have been using Mutt for several years. I recently had a major failure on 
 my desktop machine, and purchased a new (to me) replacement. The hard drives 
 from the old machine and the data on them survived the failure. I have put 
 them into boxes that turn them into USB drives and have all my old 
 configuration files for Mutt, fetchmail, and procmail. But things are not 
 going well. I want to receive my mail into a different place while I debug, 
 so the question in the Subject: line.
 
  How do I change ~/Mail to something else like for instance ~/mail ?


You can set this value in your .muttrc:

set folder=~/mail


Jostein


Re: How do I change ~/Mail to something else like for instance ~/mail ? added info.

2012-01-23 Thread
forgot to mention all the players:

debian squeeze(stable) exim4 fetchmail procmail gnome-desktop Mutt

with an absolute minimum of special tweeking of what net-inst puts on disk.

The correct answer to my question could well involve doing something about some 
other player(s).

I have been using Mutt for several years. I recently had a major failure on my 
desktop machine, and purchased a new (to me) replacement. The hard drives from 
the old machine and the data on them survived the failure. I have put them into 
boxes that turn them into USB drives and have all my old configuration files 
for Mutt, fetchmail, and procmail. But things are not going well. I want to 
receive my mail into a different place while I debug, so the question in the 
Subject: line.

 How do I change ~/Mail to something else like for instance ~/mail ?

TIA

-- 
Paul E Condon pecon...@mesanetworks.net




Fwd: Re: How do I change ~/Mail to something else like for instance ~/mail ?

2012-01-23 Thread



You can set this value in your .muttrc:

set folder=~/mail

That works. 
Thanks. 
Now that I know 'folder', I can see it in the man page, 
plain as day.


Re: How do I change ~/Mail to something else like for instance ~/mail ?

2012-01-23 Thread

Sorry, but I'm using webmail provided by my ISP. I don't have much 
experience with it and haven't discover the word wrap option, if it 
has one. I'll attempt to manually wrap in future.

--- ptilopt...@gmail.com wrote:

From: Patrick Shanahan ptilopt...@gmail.com
To: mutt-users@mutt.org
Subject: Re: How do I change ~/Mail to something else like for instance ~/mail ?
Date: Mon, 23 Jan 2012 11:24:43 -0500

* pecon...@mesanetworks.net pecon...@mesanetworks.net [01-23-12 11:21]:
 I have been using Mutt for several years.  I recently had a major
 failure on my desktop machine, and purchased a new (to me) replacement. 
 The hard drives from the old machine and the data on them survived the
 failure.  I have put them into boxes that turn them into USB drives and
 have all my old configuration files for Mutt, fetchmail, and procmail. 
 But things are not going well.  I want to receive my mail into a
 different place while I debug, so the question in the Subject: line.
 
  How do I change ~/Mail to something else like for instance ~/mail ?

please set your wordwrap on to ~ 78 chars

You need to configure fetchmail/procmail to deliver to ~/mail rather than
the newer default of ~/Mail

I know how to make procmail put the incoming mail in ~/mail , but mutt
needs to know that in should LOOK in ~/mail and not in ~/Mail ,
I think. At least it doesn't seem to work with just putting the mail
in the new and different place. Notice also I'm not getting quoting with
this mailer. I really am sorry about violations of well establish rules.
but ...



-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net




Re: How to handle mailing list

2012-01-23 Thread Grant Edwards
On 2012-01-20, Frank Steinmetzger war...@gmx.de wrote:

 In light of the recent thread about MLs and my constant encounter with the
 following problem, I'd like to ask:

 How do _you_ start a new thread to a mailing list?

This is probably not the answer you're looking for...

I hit the 'p' key in slrn.  I read all mailing lists (including this
one) via the NNTP server at gmane.org

I find slrn+gmane to be far more efficient than having all that stuff
actually sent to me and then having to sort it into mailboxes and read
it with mutt.

-- 
Grant Edwards   grant.b.edwardsYow! I'm receiving a coded
  at   message from EUBIE BLAKE!!
  gmail.com



Re: font setting

2012-01-23 Thread Ravi Uday
Yes thats what the default intention was :(
Is there any plans for mutt to release this kind of font/html support ?
Anyother way to do this or any other mail client which I could use

- Ravi

On Mon, Jan 23, 2012 at 9:08 PM, Michael Graham mich...@skky.org wrote:
 On 22/01/2012 18:35, Ravi Uday wrote:

 How can I automatically set the color and font type in my outgoing mails
 when I use mutt to send emails. Like i need all my msgs in blue, italisize
 and font=ariel.


 Do you mean you want to set it so that the *recipient* sees the underlining,
 blue test, c.?  If that is what you mean, then it sounds like you want to
 send email in HTML format, which I’m pretty certain mutt doesn’t do.

 --
  Mike    __                 __     __
         / /_  ___ _/ /__ _/ / _  __
        /  '_/ _ \/ __/ _ `/ / _ `/ __/ _ \ |/ /  Raconteur, Mostly
       /_/\_\\___/_/  \_,_/_/\_,_/\__/\___/___/  http://koralatov.com/


Re: font setting

2012-01-23 Thread Paul

On Monday, 23 January, 2012 at 14:16:21 GMT, Jostein Berntsen wrote:

or put the commands into ~/.vim/ftplugin/mail.vim and, in .muttrc:

set editor=vim -c 'set ft=mail'


Have you an example on how this is set in mail.vim? Could not find this
information.


mail.vim would be something like:

---

set guifont=ariel
set something_else
etc

---

Just like with ~/.vimrc.

--

.


Re: font setting

2012-01-23 Thread Patrick Shanahan
* Ravi Uday raviu...@gmail.com [01-23-12 13:31]:
 Yes thats what the default intention was :(
 Is there any plans for mutt to release this kind of font/html support ?
 Anyother way to do this or any other mail client which I could use
 
 - Ravi
 
 On Mon, Jan 23, 2012 at 9:08 PM, Michael Graham mich...@skky.org wrote:
  On 22/01/2012 18:35, Ravi Uday wrote:
 
  How can I automatically set the color and font type in my outgoing mails
  when I use mutt to send emails. Like i need all my msgs in blue, italisize
  and font=ariel.
 
 
  Do you mean you want to set it so that the *recipient* sees the underlining,
  blue test, c.?  If that is what you mean, then it sounds like you want to
  send email in HTML format, which I’m pretty certain mutt doesn’t do.
 
  --
   Mike    __                 __     __
          / /_  ___ _/ /__ _/ / _  __
         /  '_/ _ \/ __/ _ `/ / _ `/ __/ _ \ |/ /  Raconteur, Mostly
        /_/\_\\___/_/  \_,_/_/\_,_/\__/\___/___/  http://koralatov.com/


*Most* gui mail clients support prettified-text/html/, but email is
**text*, not advertisements.

yeah, I'm old.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread Paul E Condon
I think I once know how to set up .muttrc to save email to a filename
that is not the complete From: address but only the part before '@'
sign. Is this really possible? Or is it a false memory? Where is it
described?

TIA
-- 
Paul E Condon   
pecon...@mesanetworks.net



Re: font setting

2012-01-23 Thread Michael Graham

On Mon, Jan 23, 2012 at 18:29, Ravi Uday wrote:


Is there any plans for mutt to release this kind of font/html support ?


Whilst I don’t speak for the mutt devs, I would doubt it.


Anyother way to do this or any other mail client which I could use


Thunderbird (http://getthunderbird.com/) would be a good choice if you’re 
determined to send HTML email: it’s free, and cross-platform.

--
 Mike__ __ __
/ /_  ___ _/ /__ _/ / _  __
   /  '_/ _ \/ __/ _ `/ / _ `/ __/ _ \ |/ /  Raconteur, Mostly
  /_/\_\\___/_/  \_,_/_/\_,_/\__/\___/___/  http://koralatov.com/



Re: time zone conversion

2012-01-23 Thread Sebastian Tramp
On Mon, Jan 23, 2012 at 01:32:33PM +, Paul wrote:

 I'm looking for a way to convert the date header to my local time
 zone in the mail detail view. I'm aware of the index format %D option
 but need this for the (internal) pager.
 
 Any ideas?

 This is not fantastic, but it's worked for me:

Indeed, this works great. Now I only need to combine that with t-prot
but thats not a problem.

ST

-- 
WebID: http://sebastian.tramp.name


Re: need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread Pavel Borzenkov
On 23/01/12 12:34, Paul E Condon wrote:
 I think I once know how to set up .muttrc to save email to a filename
 that is not the complete From: address but only the part before '@'
 sign. Is this really possible? Or is it a false memory? Where is it
 described?

mutt 1.5.21 on MacOS X installed from Homebrew does this by default.
It will save your message to a mbox named '=pecondon'.
IIRC there is an option 'save_address' that controls the behaviour.

-- 
p

 
 TIA
 -- 
 Paul E Condon   
 pecon...@mesanetworks.net


Re: need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread nb
Le 2012-01-24 01:04, Pavel Borzenkov a écrit :
 On 23/01/12 12:34, Paul E Condon wrote:
  I think I once know how to set up .muttrc to save email to a filename
  that is not the complete From: address but only the part before '@'
  sign. Is this really possible? Or is it a false memory? Where is it
  described?
 
 mutt 1.5.21 on MacOS X installed from Homebrew does this by default.
 It will save your message to a mbox named '=pecondon'.

It's a default unless there is a save-hook command that overrides it


Fwd: Re: need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread

Le 2012-01-24 01:04, Pavel Borzenkov a écrit :
 On 23/01/12 12:34, Paul E Condon wrote:
  I think I once know how to set up .muttrc to save email to a filename
  that is not the complete From: address but only the part before '@'
  sign. Is this really possible? Or is it a false memory? Where is it
  described?
 
 mutt 1.5.21 on MacOS X installed from Homebrew does this by default.
 It will save your message to a mbox named '=pecondon'.

It's a default unless there is a save-hook command that overrides it


I've search for 'save-hook' in my .mutt/muttrc file and in the three files
that are sourced from it. There is no mention of save-hook anywhere there.

I need another answer, but thanks.

Re: Fwd: Re: need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread Cameron Simpson
On 23Jan2012 14:17, pecon...@mesanetworks.net pecon...@mesanetworks.net wrote:
| Le 2012-01-24 01:04, Pavel Borzenkov a écrit :
|  On 23/01/12 12:34, Paul E Condon wrote:
|   I think I once know how to set up .muttrc to save email to a filename
|   that is not the complete From: address but only the part before '@'
|   sign. Is this really possible? Or is it a false memory? Where is it
|   described?
|  
|  mutt 1.5.21 on MacOS X installed from Homebrew does this by default.
|  It will save your message to a mbox named '=pecondon'.
| 
| It's a default unless there is a save-hook command that overrides it
| 
| 
| I've search for 'save-hook' in my .mutt/muttrc file and in the three files
| that are sourced from it. There is no mention of save-hook anywhere there.
| 
| I need another answer, but thanks.

Hmm. The system muttrc (/etc/muttrc or /opt/local/etc/muttrc or
something like that, depending on the install location)?

Save-hook itself is documented here:
  http://www.mutt.org/doc/manual/manual-3.html#save-hook

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

The worst tyrannies were the ones where a governance required its own logic on
every embedded node. - Vernor Vinge


Re: Fwd: Re: need a reminder of something I once knew but now can't find in the docs

2012-01-23 Thread Derek Martin
On Mon, Jan 23, 2012 at 02:17:13PM -0800, pecon...@mesanetworks.net wrote:
 
 Le 2012-01-24 01:04, Pavel Borzenkov a écrit :
  mutt 1.5.21 on MacOS X installed from Homebrew does this by default.
  It will save your message to a mbox named '=pecondon'.
 
 It's a default unless there is a save-hook command that overrides it
 
 I've search for 'save-hook' in my .mutt/muttrc file and in the three files
 that are sourced from it. There is no mention of save-hook anywhere there.
 
 I need another answer, but thanks.

Pavel already gave the most likely answer: save_address.  nb chopped
off that bit when he replied to Pavel's message, for some reason.


-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpBEwTwQrdir.pgp
Description: PGP signature