send-hook ovrrides reply-hook

2016-03-03 Thread Louis-David Mitterrand
Hi, In my ~/.muttrc I have catch-all send-hook to reset the sig between messages: send-hook . "set signature=''" then: reply-hook '~h(X-Original-)?To:.+@example.com' \ "set signature='echo \"http://www.example.com\";|'; \ my_hdr From: m...@example

dealing with "smart quotes" and other troublesome chars in mutt

2016-02-16 Thread Louis-David Mitterrand
Hi, How do you guys deal with characters that appear as ??? in mutt messages, often sent by Apple Mail users? For instance one of these chars is apparently the "smart quote" appearing as =E2=80=9D or =E2=80=99 when (e)diting the message. FWIW my locale is en_IE@euro Thanks,

my_hdr text (between parens) not used

2015-09-05 Thread Louis-David Mitterrand
Hi, When this reply-hook is applied the text between parens doesn't appear in replies: reply-hook '~h((X-Original-)?To\|From):.+(contact\|info)@example.net' \ "set hostname=example.net; \ my_hdr From: Flavius (Example Support) " If I remove the parens then "Example Support" appea

[SOVLED] Re: strange chars with mutt, xterm, vim and gnome

2014-03-21 Thread Louis-David Mitterrand
On Thu, Mar 20, 2014 at 12:27:41PM -0500, Derek Martin wrote: > On Thu, Mar 20, 2014 at 11:01:23AM +0100, Louis-David Mitterrand wrote: > > In gnome when I reply some french emails with accented chars I > > sometimes get weird wide chars in place of the accented characters in > &

Re: strange chars with mutt, xterm, vim and gnome

2014-03-20 Thread Louis-David Mitterrand
On Thu, Mar 20, 2014 at 02:30:47PM +0100, alarig wrote: > On Thu, Mar 20, 2014 at 01:10:33PM +0100, Louis-David Mitterrand wrote: > > Also I tried adding "set encoding=utf-8" to my .vimrc without change. > > > > Attached are two screenshots that illustrate the prob

Re: strange chars with mutt, xterm, vim and gnome

2014-03-20 Thread Louis-David Mitterrand
On Thu, Mar 20, 2014 at 11:24:57AM +0100, Alexander Huemer wrote: > Hi, > > On Thu, Mar 20, 2014 at 11:01:23AM +0100, Louis-David Mitterrand wrote: > > Lately I've been trying out gnome 3 in debian. I usually work without > > a desktop environment with just ope

strange chars with mutt, xterm, vim and gnome

2014-03-20 Thread Louis-David Mitterrand
Hi, Lately I've been trying out gnome 3 in debian. I usually work without a desktop environment with just openbox and a bunch of xterms. Gnome, it seems, is a utf-8 environment, whereas I usually work in iso-8859-1 (latin1). In gnome when I reply some french emails with accented chars I sometime

Re: font to get thread line-drawing characters?

2014-02-03 Thread Louis-David Mitterrand
On Sun, Feb 02, 2014 at 02:18:15PM -0800, Will Yardley wrote: > On Sun, Feb 02, 2014 at 03:27:51PM -0500, Patrick Shanahan wrote: > > * Louis-David Mitterrand [02-02-14 > > 15:19]: > > > What font should I use in xterm to get proper line-drawing chars to > > > di

Re: font to get thread line-drawing characters?

2014-02-03 Thread Louis-David Mitterrand
On Sun, Feb 02, 2014 at 02:18:15PM -0800, Will Yardley wrote: > On Sun, Feb 02, 2014 at 03:27:51PM -0500, Patrick Shanahan wrote: > > * Louis-David Mitterrand [02-02-14 > > 15:19]: > > > What font should I use in xterm to get proper line-drawing chars to > > > di

font to get thread line-drawing characters?

2014-02-02 Thread Louis-David Mitterrand
Hi, What font should I use in xterm to get proper line-drawing chars to display threads in mutt? Thanks,

Re: detecting if fails in a macro?

2013-03-21 Thread Louis-David Mitterrand
On Thu, Mar 21, 2013 at 10:33:53AM -0500, David Champion wrote: > * On 21 Mar 2013, Louis-David Mitterrand wrote: > > Hi, > > > > I have this macro to archive messages: > > > > macro pager,index Sl "~h'Return-Path: > > '=Archive" &

detecting if fails in a macro?

2013-03-21 Thread Louis-David Mitterrand
Hi, I have this macro to archive messages: macro pager,index Sl "~h'Return-Path: '=Archive" "archive messages" But if no messages have been tagged then fails and the currently hightlighted message gets archived. What is the correct way to do it? Thanks,

filtering mail attachement

2011-10-12 Thread Louis-David Mitterrand
Hi, How can I filter (with, say, /bin/sed) an email before mime_forward'ing it? I have this macro: macro pager,index St "set noautoedit mime_fwd editor=/bin/truevin...@apartia.orgtest reportset autoedit nomime_fwd editor=\"vim +'/^$'\"" "Test forward" And I'd like to adapt it to filter the f

Re: trouble with 'hostname' in reply-hook

2010-09-02 Thread Louis-David Mitterrand
On Thu, Sep 02, 2010 at 09:22:11AM -0700, Michael Elkins wrote: > On Thu, Sep 02, 2010 at 04:02:01PM +0200, Louis-David Mitterrand wrote: > >reply-hook '~h(X-Original-)?To:@example.net' "set hostname='example.net'" > > try this: > > repl

trouble with 'hostname' in reply-hook

2010-09-02 Thread Louis-David Mitterrand
Hi, Using mutt 1.5.20 I have this reply-hook: reply-hook '~h(X-Original-)?To:@example.net' "set hostname='example.net'" But the message-id always has the default 'hostname' (defined earlier in the ~/.muttrc) not 'example.net'. Am I missing something?

folder-hook for simple_search problem

2009-11-02 Thread Louis-David Mitterrand
Hi, I have (among others) the following hooks in my .muttrc: folder-hook . set sort=threads strict_threads simple_search=\"~f %s | ~s %s\" folder-hook < set sort=date-received simple_search=\"~C %s | ~s %s\" When I access the Sent (<) folder directly with "mutt -f '<'" the folde

Re: no way to view html part in browser

2009-09-23 Thread Louis-David Mitterrand
On Wed, Sep 23, 2009 at 08:28:00AM -0500, Kyle Wheeler wrote: > On Wednesday, September 23 at 03:08 PM, quoth Louis-David Mitterrand: > >Using debian's mutt 1.5.20-4 I can no longer view the html part of a > >message in a graphical browser (firefox). > > This has been d

no way to view html part in browser

2009-09-23 Thread Louis-David Mitterrand
Hi, Using debian's mutt 1.5.20-4 I can no longer view the html part of a message in a graphical browser (firefox). In my ~/.mailcap I have: text/html; /usr/bin/iceweasel '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html Yet, when I type 'v' to view the message

correct usage of my_ vars

2009-02-05 Thread Louis-David Mitterrand
Hi, I have several spam reporting macros like this one: macro index,pager Se "set nocopy noautoedit nomime_fwd editor=/bin/truesp...@ebay.comphishing attempt reportset copy autoedit nomime_fwd editor=\"vim +'/^$'\"" "SPAM REPORT" To avoid repeating the same 'set' and 'unset' commands

Re: Delivering system mail

2009-01-30 Thread Louis-David Mitterrand
On Fri, Jan 30, 2009 at 08:57:47AM +0200, Tolga wrote: >>> >> Thanks for the response, Patrick. I get line two, but wouldn't line three >> of the >> recipe have to read $HOME/Mail/system/? >> >> Rem >> > Add MAILDIR=$HOME/Mail at the beginning of your .procmailrc and amend > the recipe

Re: mutt and plaintext passwords : muttrc encryption ?

2008-07-31 Thread Louis-David Mitterrand
On Mon, Jul 28, 2008 at 05:12:50PM +0100, Michele Martone wrote: > Hello. > I was wondering about some way to protect the passwords potentially > stored in the mutt rc files (i have multiple acccounts, and I feel > unconfortable remembering and typing all of them each time using > mutt) on my Linu

Re: Reliable/safe way of removing empty maildirs?

2007-12-09 Thread Louis-David Mitterrand
On Sun, Dec 09, 2007 at 08:41:07PM +, Chris G wrote: > On Sun, Dec 09, 2007 at 05:59:40PM +0100, Louis-David Mitterrand wrote: > > On Thu, Dec 06, 2007 at 01:03:13PM +, Chris G wrote: > > > What's a reliable way of removing empty maildirs? > > > > my /e

Re: Reliable/safe way of removing empty maildirs?

2007-12-09 Thread Louis-David Mitterrand
On Thu, Dec 06, 2007 at 01:03:13PM +, Chris G wrote: > What's a reliable way of removing empty maildirs? my /etc/crontab entry: for i in ~/Maildir/.*; do if [ -d "$i" ] && [ ! "$(find "$i" -mindepth 2 -type f)" ]; then rm -rf "$i" ; fi ; done

how not to auto-load attachments?

2007-08-24 Thread Louis-David Mitterrand
Hi, When using imap with mutt-1.5.16 is there a way to not automatically load attachements when viewing the message body? Ideally when on a low-bandwidth connection I'd like to have access to the message text and select which attachments to download. I tried running mutt with auto_view turned

Re: How to organize mail in folders?

2007-08-15 Thread Louis-David Mitterrand
On Wed, Aug 15, 2007 at 10:39:09AM +0200, M. Fioretti wrote: > On Tue, Jul 31, 2007 12:25:04 PM +0200, Louis-David Mitterrand > ([EMAIL PROTECTED]) wrote: > > > Here is a mail strategy I refined over 10 years and that serves me well: > > > > - mail BCC'd to me i

Re: Automatically Deleting old Messages

2007-07-31 Thread Louis-David Mitterrand
On Fri, Jun 15, 2007 at 11:56:41PM +0300, [EMAIL PROTECTED] wrote: > Hi, >Is there any way I can make mutt (or another application) >automatically delete messages in _certain_ folders (such as mailing >lists) that are over a certain number of days old? If you have a unix account on you

Re: How to organize mail in folders?

2007-07-31 Thread Louis-David Mitterrand
On Wed, Jul 11, 2007 at 12:57:10AM +0200, Kai Grossjohann wrote: > I used to use Gnus which is a newsreader at heart. Therefore the method > to organize mail in folders ("groups" in Gnus-speak) was different from > what I think I need with Mutt. > > I'd like to get some ideas from you how you org

inconsistent problems with tunnel and ssh

2002-10-06 Thread Louis-David Mitterrand
Hi, I'm trying to use 'set tunnel="ssh myhost /usr/bin/imapd"' to access mail and I'm having mixed succes. It works from some hosts and not from others (mostly all debian unstable machines), it also works from localhost. Additionaly the the shell command "ssh myhost /usr/bin/imapd" always work

Re: displaying all imap folders in one command line?

2002-05-17 Thread Louis-David Mitterrand
On Mon, May 13, 2002 at 09:09:11AM -0500, David T-G wrote: > % > % I tried "mutt -f imap://localhost" but it goes into my INBOX. I am using > > Yeah, that makes sense; you're telling mutt to open that particular > folder. > > % courier-imap. The mailboxes variable in the .muttrc dosen't seem to

Re: bug: message flags are lost when moved from spoolfile to mbox

2002-05-17 Thread Louis-David Mitterrand
On Mon, May 13, 2002 at 11:12:57AM -0500, David T-G wrote: > ...and then Louis-David Mitterrand said... > % > % When a replied messages is moved to an IMAP mailbox its (r)replied flag > % is lost and it acquires a (N)ew flag in the mbox. > ... > % The strange thing is that w

bug: message flags are lost when moved from spoolfile to mbox

2002-05-13 Thread Louis-David Mitterrand
When a replied messages is moved to an IMAP mailbox its (r)replied flag is lost and it acquires a (N)ew flag in the mbox. Here are my settings: mutt-1.3.28 set folder=imap://10.0.2.1/INBOX set spoolfile=imap://10.0.2.1/INBOX set mbox=+In record=+Out The strange thing is that when (C)opying a

displaying all imap folders in one command line?

2002-05-13 Thread Louis-David Mitterrand
Hi, How can I go directly into the IMAP browser displaying all subscribed folders with one mutt command line? I tried "mutt -f imap://localhost" but it goes into my INBOX. I am using courier-imap. The mailboxes variable in the .muttrc dosen't seem to work either for subscribed imap folders. Th

Re: decoding quoted-printable attachement names?

2002-03-11 Thread Louis-David Mitterrand
On Mon, Mar 11, 2002 at 02:15:45PM +0100, Michael Tatge wrote: > Louis-David Mitterrand muttered: > > Hi, > > > > Often I receive attachements that carry quoted-printable names > > > > When trying to save them Mutt doesn't try to decode their name and &

decoding quoted-printable attachement names?

2002-03-11 Thread Louis-David Mitterrand
Hi, Often I receive attachements that carry quoted-printable names like (screenshot follows): -- Mutt: Attachments I 1 [text/plain, 8bit, iso-8859-1, 2.9K] A 2 =?iso-8859-1?Q?Pr=E9vision_tr=E9so.xls?=[appl

blind elitism (was Re: Is mutt really "handicapped"?)

2002-03-01 Thread Louis-David Mitterrand
On Fri, Mar 01, 2002 at 02:23:35AM -0600, John Buttery wrote: > This may sound a little more harsh than I mean it. This isn't a > flame, just a statement of opinion; please take it as such... > >One of the worst things that is happening to Linux (and when I say > "Linux" I'm including the

Re: regexp problem with parentheses

2002-02-28 Thread Louis-David Mitterrand
On Thu, Feb 28, 2002 at 02:33:35PM +0100, Volker Moell wrote: > Scott wrote: > > trying to color entries in the index matching on the from field, I use > > the following: > > > > color index blue black '~f (Person1|Person2)' > > > > However, I get a 'parentheses not matched error' > > Try: > co

Re: SMTP Authorization

2002-02-26 Thread Louis-David Mitterrand
On Mon, Feb 25, 2002 at 07:43:58PM +0100, Erika Pacholleck wrote: > [25.02.02 15:39 +0100] Louis-David Mitterrand <-- : > > This small-specialized-tools-are-better-than-monolithic-apps argument > > keeps coming back like a mantra. It's so tired now as to seem almost >

Re: SMTP Authorization

2002-02-25 Thread Louis-David Mitterrand
On Sat, Feb 23, 2002 at 08:36:49PM -0500, Michael P. Soulier wrote: > On 23/02/02 Jerry Van Brimmer did speaketh: > > > Well, I thought Mutt was a terminal based email client that could as > > much or more than other email clients. So, I was hoping that I could > > just download all messages into

sort order in IMAP browser

2002-02-08 Thread Louis-David Mitterrand
Hello, I coudln't find a way to modifiy the sort order in the IMAP folder browser. Ideally I'd like to have the folders listed in most-recently-modified order if at all possible. TIA -- HIPPOLYTE: Je venais en tremblant vous le dire à vous-même. Hé quoi ! de votre erreur rien ne

Re: send-hook for NNTP folders

2002-02-07 Thread Louis-David Mitterrand
On Thu, Feb 07, 2002 at 05:29:03PM +0100, Volker Moell wrote: > Hi, there! > > I'm doing my first steps on VV's NNTP patch. Great one! :-) > > But I didn't found out to build a send-hook (for $attribution et al) > recognizing when a posting is sent to a newsgroup (via "F"). > > I tried > sen

Re: Random Sigs? (the shortest of all!)

2001-07-18 Thread Louis-David Mitterrand
* On Thu, Jul 12, 2001 at 11:31:26AM -0700, Chris Fuchs wrote: > On Thu, Jul 12, 2001 at 11:35:59AM -0400, darren chamberlain wrote: > > Chris Fuchs <[EMAIL PROTECTED]> said something to this effect on >07/11/2001: > > > #!/usr/local/bin/perl > > > #randsig.pl, by Don Blaheta. Released into publ

strange sort order with sort=threads and sort_aux=reverse-score

2001-07-16 Thread Louis-David Mitterrand
In the .muttrc I have: set sort=threads sort_aux=reverse-score in order to get the highest rated messages at the end while still seeing threads. However this has the unfortunate side effect that identically-scored messages are more or less sorted from newest to oldest (not the default date-sent)

insane amount of escaping in regex patterns

2001-04-22 Thread Louis-David Mitterrand
While adjusting some scoring rules in my .muttrc I noticed the incredible amount of escaping one has to do for simple regex patterns: folder-hook =[a-z] score ~s'([OT]\\|newbie\\|(un)?subscribe\\|your\\\ mail\\|unidentified\\\ suject)' -10 Notice the three (3) backticks to escap

moving only messages that have been replied to

2001-04-21 Thread Louis-David Mitterrand
When reading mail from the spool in /var/mail/ I'd like to move to =Inbox only the messages I have replied to and leave the others in place (even if read) so that I either: - have to reply to them, - have to move the manually to ~/Mail/Inbox I tried: message-hook . "set move=no" message-hook ~Q

Re: OT: imap filtering suggestions

2001-04-21 Thread Louis-David Mitterrand
On Fri, Apr 20, 2001 at 03:40:17PM -0700, Hanif Ladha wrote: > On Fri, Apr 20, 2001 at 06:00:55PM +0200, Louis-David Mitterrand wrote: > > > > procmail is what you are looking for, if you don't mind the three-year > > learning period. > > > > I u

Re: OT: imap filtering suggestions

2001-04-20 Thread Louis-David Mitterrand
On Fri, Apr 20, 2001 at 08:40:04AM -0700, Michael O'Brien wrote: > > I've been using mutt for mail for quite some time now. We use imap, and I use > mutt on Linux and Irix. I also need to read mail from an Win2k box, where I > use Outlook. > > Anyway, I'd like to find a server side imap filterin

Re: %l broken in pager_format for maildir folders?

2001-04-08 Thread Louis-David Mitterrand
On Thu, Apr 05, 2001 at 07:39:56AM -0700, David Ellement wrote: > On 010405, at 15:28:33, Micha Berdichevsky wrote > > I'm using mutt 1.3.17i on a linux machine. > > I just converted all my mailboxes to maildir format, and the pager > > reports 0 lines for all messages (%l field). > > Any ideas? >

[OT] merged messages mystery

2001-04-05 Thread Louis-David Mitterrand
4 Apr 2001 15:47:37 +0200 (CEST) Date: Wed, 4 Apr 2001 15:47:37 +0200 From: Louis-David Mitterrand <[EMAIL PROTECTED]> To: Liste de diffusion LNC <[EMAIL PROTECTED]> Subject: [LISTE LNC] connexion =?iso-8859-1?Q?r=E9sea?= =?iso-8859-1?Q?u?= sous Windows 2000 Message-ID: <[EM

Re: Mutt with vvv-nntp-patch

2001-04-05 Thread Louis-David Mitterrand
On Wed, Apr 04, 2001 at 05:03:31PM +0200, Jan-Hendrik Palic wrote: > On Mon, Apr 02, 2001 at 11:02:27AM +0300, Andrej N. Gritsenko wrote: > Hi Andrej > > >news articles are posted by inews not MTA. Check "inews" variable in > >your muttrc and whether inews or program like one exists on your m

Re: procmail mailing list strategy (was Re: vim procmail recipe)

2001-04-03 Thread Louis-David Mitterrand
On Tue, Apr 03, 2001 at 11:50:57AM +0100, Lars Hecking wrote: > > > Here is how I deal with mailing lists in my .procmailrc: > > > # eliminate duplicate messages > > :0Wh: msgid.lock > > | formail -D 16384 archive/msgid.cache > > This is *bad*. If procmail fails somewhere after d

procmail mailing list strategy (was Re: vim procmail recipe)

2001-04-03 Thread Louis-David Mitterrand
# if to|cc me OR from me OR contains references to a previous mail of # mine OR body contains my name then drop directly mail spool :0 *$! ^TO_$ALTERNATES *$! ^From:.*$ALTERNATES * ! ^References:.*(ldm|cunctator|mito|vindex)@styx\>

score syntax and escaping in .muttrc

2001-04-02 Thread Louis-David Mitterrand
Hello, After five years of intensive mutt use I finally started using scoring (especially since applying that wonderful nntp patch ;). I only have a small problem with the escaping rules and syntax of the "score" commands in my .muttc: folder-hook . unscore ## assign a positive