Re: Having problems with POP3 setup

2022-08-27 Thread Gerard ROBIN
Le Sat, Aug 27, 2022 at 11:53:50AM -0500, X Tec a écrit :
> Date: Sat, 27 Aug 2022 11:53:50 -0500
> From: X Tec 
> To: mutt-users@mutt.org
> Subject: Having problems with POP3 setup
> User-Agent: Mutt/1.10.1 (2018-07-13)
> 
> Hello.
> 
> After exploring all possibilities I could with IMAP, I felt like it was time 
> to give POP3 a try.
> So tried the following:
> set pop_user="$user"; set pop_pass="$pass"; set pop_host="pop://$user@$url" 
> set pop_delete=no; set pop_last=yes; set mbox_type=Maildir; set 
> folder=~/mutt/mail; set spoolfile=+inbox; set record=+sent; set trash=+trash; 
> mailboxes +inbox +sent +trash; set ssl_force_tls=yes
> 
> But it's not working:
> 
> ---It creates $HOME/mail/, but just "$HOME/mail/inbox is not a mailbox". 
> Ctrl+O to this mailbox gives the same, until hitting 'G' key to fetch email.
> 
> ---Fetching email with 'G' key just ignores the "pop_last=yes" setting 
> because it always downloads all email regardless of locally read or not, even 
> though other clients such as Outlook or Thunderbird don't do this mistake. So 
> I don't think server doesn't support the LAST command...
> 
> ---When trying to open the other mailboxes I just get the "not a mailbox" 
> message, either with Ctrl+O or 'G', even if I manually create the 
> corresponding directories
> 
> ---A more general thing: what are Ctrl+O ("open mailbox") and '$' actually 
> for?
> On IMAP Ctrl+O is the only one updating the mailboxes; '$' just says "mailbox 
> is unchanged" even if there are being new messages at that instant (I have 
> tested it), and only does stuff only if there are messages marked for deletion
> On POP3 both Ctrl+O and '$' seem to do nothing at all, and only 'G' downloads 
> messages
> 
> ---Finally, on IMAP, different email providers seem to have totally different 
> ways to specify their subfolders for the variables $sent, $drafts...: 
> "INBOX.sent", "[Gmail]/Sent Mail", etc. Then how am I suppose to find out 
> which syntax each email service uses?
> 
> Thanks beforehand for your attention.

This link can help you: https://www.linux.com/news/fetching-email-mutt/

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


Re: [OT] fetchmail replacement supporting Oauth

2022-05-01 Thread Gerard ROBIN
Le Sun, May 01, 2022 at 02:17:40PM -0400, Ed Blackman a écrit :
> Date: Sun, 1 May 2022 14:17:40 -0400
> From: Ed Blackman 
> To: mutt-users@mutt.org
> Subject: [OT] fetchmail replacement supporting Oauth
> User-Agent: Mutt/1.10.1 (2018-07-13)
> 
> Slightly off topic, but I am using this to download mail for mutt to read.
> 
> Google seems serious about disabling app passwords for good this time in 
> favor of Oauth.  I use fetchmail to download (not leaving on server) mails 
> from a handful of single use gmail accounts to read locally in mutt.  The 
> unreleased version of fetchmail support oauthbearer, but I don't feel like 
> building fetchmail from git when I only really use it out of inertia.
> 
> Does anyone use anything fetchmail-like that:
> - supports Oauth
> - allows download then delete (ie, I don't want a sync)
> - is in Debian bullseye (bonus if it's in buster)
> 
> -- 
> Ed Blackman

Maybe getmail6 will make you happy ?

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


Re: [Mutt] see attached html documents along with chromium

2021-12-21 Thread Gerard ROBIN
Le Tue, Dec 21, 2021 at 06:45:41PM +0100, Mihai Lazarescu a écrit :
> Date: Tue, 21 Dec 2021 18:45:41 +0100
> From: Mihai Lazarescu 
> To: mutt-users@mutt.org
> Subject: Re: [Mutt] see attached  html documents along with chromium
> User-Agent: Mutt/2.0.7 (2021-05-04)
> 
> On Tuesday, December 21, 2021 at 01:07:48 +0100, Gerard ROBIN wrote:
> 
> Gerard ROBIN  [12-20-21 14:35]:
> > Hello,
> > I have to go to a site, https://www.doctolib.fr/, which is not compatible
> > with firefox, so I installed chromium and I set chromium as default
> > browser but when I click on "m" it is firefox that starts. I tinkered with
> > the /etc/mailcap file but was unsuccessful.
> 
> Have you checked .mailcap in your home directory?
 
At first no, I did not know of its existence. But 15 minutes before your email
by searching on the web I was aware of its existence and I modify it and this
time the "m" key launches chromium and as I thought I was able to download the
pdf files of my results.
I didn't understand why the changes to the /etc/mailcap file had no effect.

Thank you very much to you and to Patrick.

PS
In my answer to Patrick I wrote "the l key" but it is "the L key" that I
wanted to write :( 

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


Re: see attached html documents along with chromium

2021-12-21 Thread Gerard ROBIN
 
> * Gerard ROBIN  [01-01-70 12:34]:
> > Le Mon, Dec 20, 2021 at 04:16:52PM -0500, Patrick Shanahan a écrit :
> > > Date: Mon, 20 Dec 2021 16:16:52 -0500
> > > From: Patrick Shanahan 
> > > To: mutt-users@mutt.org
> > > Subject: Re: see attached  html documents along with chromium
> > > User-Agent: mutt 1.10.1
> > > 
> 
> got BOTH of your emails, list and personal.  absolutly no need of
> duplicate mail, please consider.

Sorry i made a mistake i used r instead of l 

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


Re: see attached html documents along with chromium

2021-12-20 Thread Gerard ROBIN
Le Mon, Dec 20, 2021 at 04:16:52PM -0500, Patrick Shanahan a écrit :
> Date: Mon, 20 Dec 2021 16:16:52 -0500
> From: Patrick Shanahan 
> To: mutt-users@mutt.org
> Subject: Re: see attached  html documents along with chromium
> User-Agent: mutt 1.10.1
> 
> * Gerard ROBIN  [12-20-21 14:35]:
> > Hello,
> > I have to go to a site, https://www.doctolib.fr/, which is not compatible
> > with firefox, so I installed chromium and I set chromium as default 
> > browser but when I click on "m" it is firefox that starts. I tinkered with
> > the /etc/mailcap file but was unsuccessful.
> 
> works for me with firefox ???
> MozillaFirefox-95.0.1-1.1.x86_64
> openSUSE Tumbleweeds

works for me too up to a point. When I give my password, then I see two pdf
files to download. Ok I click on it and I get error:
-
Une erreur technique est survenue, nous
faisons tout pour la résoudre le plus
rapidement possible. Veuillez réessayer
ultérieurement. Si le problème persiste
contactez le support.

A technical error has occurred, we
do everything to solve it the most
quickly possible. Try Again
later. If the problem persists
contact support.
-
They are liars, no support.

I scanned the site back and forth and finally found a page that clearly
stated that their site was incompatible with firefox and that it worked
optimally with windows and chromium only.
I think that if the "m" key starts chromium I will be able to download
the pdf files without error under linux.

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


see attached html documents along with chromium

2021-12-20 Thread Gerard ROBIN
Hello,
I have to go to a site, https://www.doctolib.fr/, which is not compatible
with firefox, so I installed chromium and I set chromium as default 
browser but when I click on "m" it is firefox that starts. I tinkered with
the /etc/mailcap file but was unsuccessful.
Does anyone know what needs to be done to make cromium take over firefox?
This change is temporary just long enough to upload the medical exam results
I need. After that I will unsubscribe from this dirty site and forget about
the doctors who use it.

T.I.A

-- 
Gerard
_
*
 Created with Mutt  2.0.5 
 under Debian Linux BULLSEYE
*


Re: open an html attachment when an instance of firefox is already open

2021-02-02 Thread Gerard ROBIN
Le Mon, Feb 01, 2021 at 07:39:13PM -0500, José María Mateos a écrit :
> Date: Mon, 1 Feb 2021 19:39:13 -0500
> From: José María Mateos 
> To: mutt-users@mutt.org
> Subject: Re: open an html attachment when an instance of firefox is already
>  open
> 
> I use a modified version of this script:
> 
> https://github.com/RichiH/mutt_bgrun
> 
> My modification is that I add this after line 111:
> 
>"$viewer" $options "$tmpfile"
>sleep 20
> 
> ... so that there's more than enough time to launch whatever program.
> 
> I place it on my ~/bin (and make sure it's in the path). Then, on my
> .mailcap, I have:
> 
> text/html;  mutt_bgrun /usr/bin/firefox %s >/dev/null 2>&1; needsterminal
> text/html; elinks -dump ; copiousoutput
> 
> I think this should work as you expect.
> 
> Cheers,
> 
> -- 
> José María (Chema) Mateos || https://rinzewind.org

Thanks so much José Maria, it works !

-- 
Gerard
___
***
 Created with Mutt   2.0.2 
 under Debian Linux BUSTER
***


Re: Mutt 25 years? 25 years!

2020-08-16 Thread Gerard ROBIN
I have been using Mutt for about 20 years with fetchmail, procmail, muttprint,
notmuch-mutt ... That's what is best!
Mutt deserves this beautiful image.
A simple user.

-- 
Gerard
___
***
 Created with Mutt  1.10.1 
 under Debian Linux BUSTER
***


send a message to user@mybox

2016-01-23 Thread Gerard ROBIN
Hello,
under stretch, when I'll get my messages, those are not sorted go
in ~/Maildir/mbox.It's ok. But when I send a message to user@my-box 
it goes in /var/mail/user.
With the same files .muttrc and .procmailrc under jessie a message send
to user@my-box goes to ~/Maildir/mbox as expected.

What must be done for this works in the same way in stretch ? 

tia.

-- 
Gerard
___
***
*  Created with "mutt 1.5.24" *
*  under Debian Linux STRETCH *
*  Registered Linux User #388243  *
*  https://Linuxcounter.net   *
***



see the attached files pdf with atril

2014-11-18 Thread Gerard ROBIN
Hello,
when I install evince, the file /etc/mailcap is updated automatically
and I can see the pdf files attached to an email, but if I remove evince
and I install atril instead, the file /etc/mailcap is not updated.
Of course I configure it by hand. But I would like to know who is
concerned by the problem : atril, Debian, mutt ?

tia.

-- 
Gerard
___
***
*  Created with mutt 1.5.21-6.2+deb7u2  *
*  under Debian Linux WHEEZY version 7.7  *
*  Registered Linux User #388243  *
*  https://Linuxcounter.net   *
***



Re: address book?

2014-11-10 Thread Gerard ROBIN
On Mon, Nov 10, 2014 at 09:08:03AM -0500, DaleKelly wrote:
 Date: Mon, 10 Nov 2014 09:08:03 -0500
 From: DaleKelly d...@dalekelly.org
 To: John Niendorf j...@jfniendorf.org
 CC: mutt-users@mutt.org mutt-users@mutt.org
 Subject: Re: address book?
 
 already installed, how do I interface it with mutt?

in .muttrc:

macro index I !abook\n
macro pager I !abook\n

-- 
Gerard
___
***
*  Created with mutt 1.5.21-6.2+deb7u2  *
*  under Debian Linux WHEEZY version 7.6  *
*  Registered Linux User #388243  *
*  https://Linuxcounter.net   *
***



Re: mbox to maildir with mb2md and mutt

2012-09-23 Thread Gerard ROBIN
On Sun, Sep 23, 2012 at 08:32:16AM +0100, Jamie Paul Griffin wrote:
 Date: Sun, 23 Sep 2012 08:32:16 +0100
 From: Jamie Paul Griffin ja...@kode5.net
 To: mutt-users@mutt.org
 Subject: Re: mbox to maildir with mb2md and mutt
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 
 You should be ok from there on. Bear in mind this my own approach, there 
 may be better options and plenty of people on this list will no doubt have 
 better suggestions. Hopefully they'll have time to improve mine for you or
 come up with something totally different and more efficient.

Thank you very much Jamie, 
your method is exactly what I wanted to do and now, mutt works like I want with 
maildir format.

 This sort of thing is easily achieved in a shell script, if your shell 
 scripting knowledge is ok.

my system of mailboxes was covered by a script for the directories MUTT and 
OUTBOX for the mbox 
format and so I adapted this script to the maildir format. 

Thank you again for your patience.
If you are a teacher your students are lucky :)

-- 
Gérard


mbox to maildir with mb2md and mutt

2012-09-22 Thread Gerard ROBIN
Hello,
I migrated from mbox to maildir using mb2md. Part of my mailbox (mbox) is:
---
~/Mail/OUTBOX/2011/m01
---
~/Mail/OUTBOX/2011/m12
~/Mail/OUTBOX/2012/m01
--
~/Mail/OUTBOX/2012/m09

mb2md created :

~/Maildir/.OUTBOX/cur/
~/Maildir/.OUTBOX/new/
~/Maildir/.OUTBOX/temp/
# cur/, new/, temp/ are empty.

~/Maildir/.OUTBOX.2011/cur/
~/Maildir/.OUTBOX.2011/new/
~/Maildir/.OUTBOX.2011/temp/
# cur/, new/, temp/ are empty.

~/Maildir/.OUTBOX.2011.m01/cur/1348215311.00.mbox:2,S
-
~/Maildir/.OUTBOX.2011.m01/cur/1348215311.011.mbox:2,S
~/Maildir/.OUTBOX.2011.m01/new
~/Maildir/.OUTBOX.2011.m01/temp

1 - This tree structure is different from the initial one.

2 - Must we necessarily have a point, before the name of directories ?

3 - With mutt, I encounter a problem with the system maildir, which 
does not occur with the system mbox :
I my .muttrc there are :

set mbox_type=maildir
set folder=~/Maildir
set spoolfile=~/Maildir/.mbox/
set mask='!^\\.[^.]'

When I run mutt I can read the content of .mbox. If I press the keys c
and ? I see the content of ~/Maildir But if I go to the parent directory  
/home/user/ and I put the cursor on Maildir and press Enter, nothing appears 
on the screen. If I press Enter I get : There are no messages.
If I hit the keys c and ? I come back in /home/user/  and now, if I press
the key c I get : Chdir to: /home/user/ 
If I complete the path like : /home/user/Maildir/
I see the content of Maildir.

Why I can't see the content of ~Maildir when I am in the directory
/home/user and the cursor is on Maidir and I press the key Enter ?

This is the behavior of mutt with the mbox system.

Thanks for your help. 
-- 
Gérard


Re: mbox to maildir with mb2md and mutt

2012-09-22 Thread Gerard ROBIN
On Sat, Sep 22, 2012 at 07:14:41PM +0100, Jamie Paul Griffin wrote:
 Date: Sat, 22 Sep 2012 19:14:41 +0100
 From: Jamie Paul Griffin ja...@kode5.net
 To: mutt-users@mutt.org
 Subject: Re: mbox to maildir with mb2md and mutt
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 
 1 - Have you 'thoroughly' read the man page for mb2md
I read, but perhaps I didn't understand everything ...

 2 - what is the output of ls -a ~/Maildir

..DEB.X08.yFy_gz  .DEB.Y07.xMz_gz   .MUTT.2008.vMAIz
   .MUTT.2011.mutt-03-11  .OUTBOX.2011.outbox-01-11
..   .DEB.X08.yFz_gz  .DEB.Y07.yFz_gz   .MUTT.2008.wAVz 
   .MUTT.2011.mutt-04-11  .OUTBOX.2011.outbox-02-11
.abouvrages  .DEB.X08.zJy_gz  .DEB.Y07.zJy_gz   .MUTT.2008.xMRz 
   .MUTT.2011.mutt-05-11  .OUTBOX.2011.outbox-03-11
.ACHATnet.DEB.X08.zJz_gz  .DPN  .MUTT.2008.yFy  
   .MUTT.2011.mutt-06-11  .OUTBOX.2011.outbox-05-11
.ACHATnet.camera .DEB.Y07 .ecoatterre   .MUTT.2008.yFz  
   .MUTT.2011.mutt-07-11  .OUTBOX.2011.outbox-06-11
.ACHATnet.caravan.DEB.Y07.material.EDF  .MUTT.2008.zJAz 
   .MUTT.2011.mutt-08-11  .OUTBOX.2011.outbox-07-11
.ANGLAIS .DEB.Y07.oDECx   .emergency-inbox  .MUTT.2009  
   .MUTT.2011.mutt-09-11  .OUTBOX.2011.outbox-09-11
.ATUTU   .DEB.Y07.oDECy   .FGR  .MUTT.2009.rDECz
   .MUTT.2011.mutt-10-11  .OUTBOX.2011.outbox-10-11
.BUG .DEB.Y07.oDECz   .FREE .MUTT.2009.rNOVz
   .MUTT.2011.mutt-11-11  .OUTBOX.2011.outbox-12-11
.clisp   .DEB.Y07.pNOVy_gz.GNUTELLA .MUTT.2009.rOCTz
   .MUTT.2011.mutt-12-11  .OUTBOX.2012
.clubMGEN.DEB.Y07.pNOVz_gz.GPbonnueil   .MUTT.2009.rSEPTz   
   .MUTT.2012 .OUTBOX.2012.outbox-01-12
.COURRIER.DEB.Y07.prog.GROSFIHC .MUTT.2009.sAOUTz   
   .MUTT.2012.mutt-01-12  .OUTBOX.2012.outbox-02-12
.COURRIER.amisjp .DEB.Y07.prog.perl   .LACENTRALE   .MUTT.2009.tJUIz
   .MUTT.2012.mutt-02-12  .OUTBOX.2012.outbox-03-12
.COURRIER.felicite   .DEB.Y07.prog.shell  .LangC.MUTT.2009.uJUNz
   .MUTT.2012.mutt-03-12  .OUTBOX.2012.outbox-04-12
.COURRIER.gerard .DEB.Y07.qOCTx_gz.laptop   .MUTT.2009.vMAIz
   .MUTT.2012.mutt-04-12  .OUTBOX.2012.outbox-05-12
.COURRIER.kim.DEB.Y07.qOCTy_gz.LAPTOP   .MUTT.2009.wAVRz
   .MUTT.2012.mutt-05-12  .OUTBOX.2012.outbox-06-12
.COURRIER.nelson .DEB.Y07.qOCTz_gz.LAPTOP.zJ.MUTT.2009.xMARz
   .MUTT.2012.mutt-06-12  .OUTBOX.2012.outbox-07-12
cur  .DEB.Y07.rSEPz_gz.MAIF .MUTT.2009.yFz  
   .MUTT.2012.mutt-07-12  .OUTBOX.2012.outbox-08-12
.DEB .DEB.Y07.sAOw_gz .mbox .MUTT.2009.zJz  
   .MUTT.2012.mutt-08-12  .OUTBOX.2012.outbox-09-12
.DEB.X08 .DEB.Y07.sAOx_gz MUTT  .MUTT.2010  
   .MUTT.2012.mutt-09-12  .OUTBOX.outbox
.DEB.X08.prog.DEB.Y07.sAOy_gz .MUTT 
.MUTT.2010.mutt-01-10  new.OUTBOX.outbox4_bz2
.DEB.X08.prog.shell  .DEB.Y07.sAOz_gz .MUTT.2007
.MUTT.2010.mutt-02-10  .NNX   .OUTBOX.outbox_bz2
.DEB.X08.rSy .DEB.Y07.tJIy_gz .MUTT.2007.yDz
.MUTT.2010.mutt-03-10  .OUTBOX.postponed
.DEB.X08.rSz .DEB.Y07.tJIz_gz .MUTT.2007.zNz
.MUTT.2010.mutt-07-10  .OUTBOX.2007   .procmail.log
.DEB.X08.sAOy.DEB.Y07.uJNy_gz .MUTT.2008
.MUTT.2010.mutt-08-10  .OUTBOX.2007.outbox-01-07  .RACHIS
.DEB.X08.sAOz.DEB.Y07.uJNz.MUTT.2008.oNz
.MUTT.2010.mutt-09-10  .OUTBOX.2007.outbox-02-07  .sbcl
.DEB.X08.tJTz.DEB.Y07.vMIy_gz .MUTT.2008.pNz
.MUTT.2010.mutt-10-10  .OUTBOX.2010   .SNES
.DEB.X08.uJNz.DEB.Y07.vMIz_gz .MUTT.2008.qOz
.MUTT.2010.mutt-11-10  .OUTBOX.2010.outbox-09-10  tmp
.DEB.X08.vMAIz   .DEB.Y07.wAVy_gz .MUTT.2008.rSz
.MUTT.2010.mutt-12-10  .OUTBOX.2010.outbox-10-10
.DEB.X08.wAVy.DEB.Y07.wAVz_gz .MUTT.2008.sAOz   .MUTT.2011  
   .OUTBOX.2010.outbox-11-10
.DEB.X08.wAVz.DEB.Y07.xMx_gz  .MUTT.2008.tJTz   
.MUTT.2011.mutt-01-11  .OUTBOX.2010.outbox-12-10
.DEB.X08.xMz .DEB.Y07.xMy_gz  .MUTT.2008.uJNz   
.MUTT.2011.mutt-02-11  .OUTBOX.2011


 3 - what was the command you used to create the Maildirs with mb2md

 mb2md -s ~/Mail -R 

 mb2md -m creates the directory ~/Maildir and sub-directory's {cur,new,tmp} - 
 all messages in /var/[spool]/mail/$user
 are then seperated into files and placed in ~/Maildir/cur. This means that 
 ~/Maildir is now your spoolfile. 
I did not do mb2md -m because my /var/mail/$user is empty; my .procmailrc is 
like this:

PATH=$HOME/bin:/usr/bin:/bin:.

# For 

notmuch-mutt

2012-09-19 Thread Gerard ROBIN
Hello,
I installed notmuch-mutt, but after that the contents of my ~/Mail directory 
has been deleted ?
Luckily I backup my /home regularly with rsync. Phew!
Has anyone made a successful experience with notmuch-mutt?

-- 
Gérard


Re: notmuch-mutt

2012-09-19 Thread Gerard ROBIN
On Wed, Sep 19, 2012 at 11:02:03AM -0700, Lee wrote:
 Date: Wed, 19 Sep 2012 11:02:03 -0700
 From: Lee ny6...@gmail.com
 To: Gerard ROBIN g.rob...@free.fr
 Subject: Re: notmuch-mutt
 
 On Sep 19, 2012 12:26 AM, Gerard ROBIN g.rob...@free.fr wrote:
 
  Hello,
  I installed notmuch-mutt, but after that the contents of my ~/Mail
 directory has been deleted ?
  Luckily I backup my /home regularly with rsync. Phew!
  Has anyone made a successful experience with notmuch-mutt?
 
  --
  Gérard
 
 What the heck is notmuch-mutt?

Takes a look at:
http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt/

-- 
Gérard


Re: notmuch-mutt

2012-09-19 Thread Gerard ROBIN
On Wed, Sep 19, 2012 at 03:38:05PM +0200, Niels den Otter wrote:
 Date: Wed, 19 Sep 2012 15:38:05 +0200
 From: Niels den Otter niels.denot...@surfnet.nl
 To: Gerard ROBIN g.rob...@free.fr
 Cc: mutt-users@mutt.org
 Subject: Re: notmuch-mutt
 X-Mailer: Mutt on Ubuntu quantal (development branch)
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 Hello Gerard,
 
 On Wednesday, 19 September 2012, Gerard ROBIN wrote:
  I installed notmuch-mutt, but after that the contents of my ~/Mail 
  directory has been deleted ?
  Luckily I backup my /home regularly with rsync. Phew!  Has anyone
  made a successful experience with notmuch-mutt?
 
 Yes, I'm using it and like it. How do you use notmuch-mutt. Works fine for me
 with this in my mutt configuration;
 
   macro generic S  enter\-commandunset 
 wait_keyentershell\-escape~/bin/mutt\-notmuch \-\-prompt 
 searchenterchange\-folder\-readonly~/.cache/mutt_resultsenter  search 
 mail (using notmuch)
   macro index F6 enter\-commandunset 
 wait_keyenterpipe\-message~/bin/mutt\-notmuch 
 threadenterchange\-folder\-readonly~/.cache/mutt_resultsenterenter\-commandset
  wait_keyenter search and reconstruct owning thread (using notmuch)
 
 and using 'S' in mutt to search for e-mail. You do need to call 'notmuch new' 
 from cron or cli.
 
 
 -- Niels

Thank you for your help. 

I did not read the documentation carefully enough:

man notmuch 
---8-
Mail storage that uses mbox format, (where one mbox file contains many
   messages), will not work with notmuch.
---8-

Now, I'm trying to migrate from mbox to maildir before reinstalling
notmuch-mutt. 

-- 
Gérard


count the cc adresses

2012-09-11 Thread Gerard ROBIN
Hello,
I received a mail that was sent to about 200 people.
To count the addresses I copied-paste the to in a file and 
I counted the commas that separate the addresses. (with awk or perl)

Is there a way to count the addresses directly in mutt ?

tia
-- 
Gérard


Re: i am new to mutt

2012-09-10 Thread Gerard ROBIN
On Mon, Sep 10, 2012 at 10:21:24PM +0300, Klearchos-Angelos Gkountras wrote:
 Date: Mon, 10 Sep 2012 22:21:24 +0300
 From: Klearchos-Angelos Gkountras kleag...@gmail.com
 To: mutt-users@mutt.org
 Subject: i am new to mutt
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 hi , I am new user of mutt .
 is there somewhere a documnetantion of using 
 mutt ; I mean about the keys of a good pdf and etc ?
 Also I like the way of mutt cuz it *is* simple and I make 
 my job in very fast ! 
Welcome to the list mutt-user.
Here are two useful links:

http://www.mutt.org/doc/manual/manual.html#toc5
http://wiki.mutt.org/?MuttWiki

hope this helps.

-- 
Gérard


Re: mutt, SFR and attachment

2012-05-05 Thread Gerard ROBIN
On Fri, May 04, 2012 at 09:15:15AM +0200, Jean-Christophe Bach wrote:
 Date: Fri, 4 May 2012 09:15:15 +0200
 From: Jean-Christophe Bach jc.b...@gmail.com
 To: mutt-users@mutt.org
 Subject: Re: mutt, SFR and attachment
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 * Gerard ROBIN g.rob...@free.fr [04.05.2012. @00:18:07 +0200]:
 
  Hello,
  I encounter the following problem:
  I send a mail with an attached file pdf. The recipient of the mail uses
  the web mail SFR-mail and sees that there is an attached document pdf of
  231 kb without name, but he can't open it.
  If the recipient of the mail opens the mail with his account gmail he
  can see the attached file pdf.
  I wonder if the problem is caused by mutt or SFR ? (SFR french) 
  
  -- 
  Gérard
 
 Hello Gérard,
 
 I have just done a test with a friend: he had no problem to open and download 
 a
 pdf I had attached in an email. The SFR webmail does not seem to have any
 problem with that.
 
 Regards,
 
 JC

Thanks JC,
I tried again with another pdf file and this time, the recipient has
read the attached file. So the problem must come from the previous pdf
file. 
But it's weird that the problem does not occur with gmail.


-- 
Gérard


Re: can't read attached file docx

2012-04-26 Thread Gerard ROBIN
On Thu, Apr 26, 2012 at 08:26:33AM +0200, Jostein Berntsen wrote:
 Date: Thu, 26 Apr 2012 08:26:33 +0200
 From: Jostein Berntsen jber...@broadpark.no
 To: mutt-users@mutt.org
 Subject: Re: can't read attached file docx
 User-Agent: Mutt/1.5.21 (2010-09-15)

 
 I have these entries for docx files in my ~/.mailcap:
 
 application/vnd.msword; mutt_bgrun libreoffice3.5 %s; #test=RunningX
 application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
 mutt_bgrun libreoffice3.5 %s; #test=RunningX
 
 You might check out the mutt_bgrun script as well to make it work.
 
 Jostein

Thanks for your advice but the result is the same as before. 
But thanks to you I discovered mutt_bgrun, and the Gary Johnson's Mutt Page :)

-- 
Gérard


signature.asc
Description: Digital signature


Re: can't read attached file docx

2012-04-25 Thread Gerard ROBIN
On Wed, Apr 25, 2012 at 07:18:17AM +0100, Chris Burdess wrote:
 Date: Wed, 25 Apr 2012 07:18:17 +0100
 From: Chris Burdess d...@bluezoo.org
 To: Gerard ROBIN g.rob...@free.fr
 Cc: mutt-users@mutt.org
 Subject: Re: can't read attached file docx
 X-Mailer: Evolution 3.2.2-1 
 
 Gerard ROBIN wrote:
When I receive a message with a attached .docx file, sometime I can
read it with libreoffice and sometime I get: No matching mailcap
entry found.  Viewing as text.

For exemple this file is viewed with libreoffice:

A   Rapport.docx [applica/vnd.openxm, base64, 
1,3M]

but this one is viewed as text:

A   Sortie 1er mai 2012.docx [applica/vnd.openxm, 
base64,
17K]

   
   I think you're on the right track though; I'm betting that there is an
   entry but there are no quotes around the %s in that entry, causing the
   system command to fail.
  
  that's what is there in my mailcap file:
  
  application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
  soffice -no-oosplash --writer '%s'; 
  edit=soffice -no-oosplash --writer '%s'; test=test -n $DISPLAY; 
  description=Office Open XML Document; nametemplate=%s.docx
  
  but in fact the spaces in the name of my file does not matter because I 
  have 
  the same problem with the file attached:
  A   Cher.docx  [applica/vnd.openxm, base64, 16K]
  
   Gerard, it would be helpful if you posted the error that mutt displays
   when it fails.
  
  mutt doesn't fail, it simply can't use libreoffice to display the file 
  Cher.docx :
  
  No matching mailcap entry found.  Viewing as text.
  
  Perhaps this is due to the bad quality of some files  .docx ?
 
 mutt won't care about the contents of the file, it only looks at the
 mime type and encoding. In your example above the content-type is
 truncated. You need to look at the complete content-type string and
 ensure that it matches what you have in your mailcap.

Chris
=
I did this experiment:

1 I saved the attached file Cher.docx (that I see correctly with libreoffice.)

2 I sent to myself a message with the file Cher.docx as an attachment.

3 I downloaded this message, the I opened the attached file (in mutt)
and this time it is libreoffice that opens the file Cher.docx. (as expected)

Conclusion:
it is the one who sends me the message that causes the problem.

Is my reasoning correct ?

Macelo
==

I encounter the same problem as you:

If a file is already open with libreoffice I can not open the 
attachment Cher.docx (with mutt) I get the message of libreoffice:
/home/user/.tmp/Cher.docx doesn't exist.

But when I close libreoffice I can read the file Cher.docx with 
libreoffice (with mutt as an attachment)

-- 
Gérard


can't read attached file docx

2012-04-24 Thread Gerard ROBIN
Hello,
I use Mutt 1.5.21 (from squeeze-backports)

When I receive a message with a attached .docx file, sometime I can read
it with libreoffice and sometime I get: 
No matching mailcap entry found.  Viewing as text.

For exemple this file is viewed with libreoffice:

ARapport.docx [applica/vnd.openxm, base64, 1,3M]

but this one is viewed as text:

ASortie 1er mai 2012.docx [applica/vnd.openxm, base64, 17K]

however if I save it I can read it correctly with libreoffice.

I wonder if the problem is caused by the file name that contains spaces ?

Is there a way to open it with libreoffice from mutt ?

Thanks in advance for a clue.

-- 
Gérard


signature.asc
Description: Digital signature


Re: can't read attached file docx

2012-04-24 Thread Gerard ROBIN
On Tue, Apr 24, 2012 at 04:07:22PM -0500, Derek Martin wrote:
 Date: Tue, 24 Apr 2012 16:07:22 -0500
 From: Derek Martin inva...@pizzashack.org
 To: Chris Burdess d...@bluezoo.org
 Cc: Gerard ROBIN g.rob...@free.fr, mutt-users@mutt.org
 Subject: Re: can't read attached file docx
 User-Agent: Mutt/1.5.21 (2010-09-15)
 
 On Tue, Apr 24, 2012 at 09:54:42PM +0100, Chris Burdess wrote:
  When I receive a message with a attached .docx file, sometime I can
  read it with libreoffice and sometime I get: No matching mailcap
  entry found.  Viewing as text.
  
  For exemple this file is viewed with libreoffice:
  
  A   Rapport.docx [applica/vnd.openxm, base64, 1,3M]
  
  but this one is viewed as text:
  
  A   Sortie 1er mai 2012.docx [applica/vnd.openxm, base64,
  17K]
  
 
 I think you're on the right track though; I'm betting that there is an
 entry but there are no quotes around the %s in that entry, causing the
 system command to fail.

that's what is there in my mailcap file:

application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
soffice -no-oosplash --writer '%s'; 
edit=soffice -no-oosplash --writer '%s'; test=test -n $DISPLAY; 
description=Office Open XML Document; nametemplate=%s.docx

but in fact the spaces in the name of my file does not matter because I have 
the same problem with the file attached:
A   Cher.docx  [applica/vnd.openxm, base64, 16K]

 Gerard, it would be helpful if you posted the error that mutt displays
 when it fails.

mutt doesn't fail, it simply can't use libreoffice to display the file 
Cher.docx :

No matching mailcap entry found.  Viewing as text.

Perhaps this is due to the bad quality of some files  .docx ?

-- 
Gérard


signature.asc
Description: Digital signature


Re: abook

2010-02-27 Thread Gerard Robin

On Fri, Feb 26, 2010 at 08:55:19PM -0500, Patrick Shanahan wrote:

Date: Fri, 26 Feb 2010 20:55:19 -0500
From: Patrick Shanahan ptilopt...@gmail.com
To: mutt-users@mutt.org
Subject: Re: abook
User-Agent: Mutt/1.5.20 (2009-06-14)

* rog...@sdf.org rog...@sdf.org [02-26-10 20:31]:


Mutt is not mouse aware nor is aboot, iirc.

Thank for your explanation, I asked this question because clicking twice
inadvertently on the mouse, I sent a blank mail without subject to a friend ...

Eh. finger-erk reactions... they happen. :-/


like aboot  sb/abook   :^)


apt-cache search aboot:
aboot-base 
aboot-cross


aboot exist too :)

--
Gérard



signature.asc
Description: Digital signature


abook

2010-02-26 Thread Gerard Robin

Hello,
when I run abook, if I select an address and I hit the key m, mutt works
properly, but if use the mouse to send an email, mutt asks nothing and
send a blank mail to the address sélected.

Shoud I do something in the file .abookrc or in muttrc ?

Thank in advance.
--
Gérard



signature.asc
Description: Digital signature


Re: abook

2010-02-26 Thread Gerard Robin

On Fri, Feb 26, 2010 at 03:31:18PM -0500, Patrick Shanahan wrote:

Date: Fri, 26 Feb 2010 15:31:18 -0500
From: Patrick Shanahan ptilopt...@gmail.com
To: mutt-users@mutt.org
Subject: Re: abook
User-Agent: Mutt/1.5.20 (2009-06-14)

* Gerard Robin g.rob...@free.fr [02-26-10 13:58]:

when I run abook, if I select an address and I hit the key m, mutt works
properly, but if use the mouse to send an email, mutt asks nothing and
send a blank mail to the address sélected.


Mutt is not mouse aware nor is aboot, iirc.


Thank for your explanation, I asked this question because clicking twice
inadvertently on the mouse, I sent a blank mail without subject to a friend ...

--
Gérard



signature.asc
Description: Digital signature


mailto:x...@xxxx failed with iceape or iceveasel

2009-12-24 Thread Gerard Robin

Hello,
I use debian sid with:
mut: Mutt 1.5.20
iceape: Mozilla Iceape 2.0.1 

I just have upgraded my system and now, when I click on the link mailto:xxx...@xx; 
iceape ask me to choose an application. I choose mutt and nothing appears 
on the screen but mutt send an empty message to the link.

Mutt before the upgrade worked fine with iceape: mutt was launched in a
terminal with to : xx...@x

Excuse me if this doesn't come from mutt, but if anyone can help me to 
solve the problem, I thank him in advance.


--
Gérard



signature.asc
Description: Digital signature


Re: mailto:x...@xxxx failed with iceape or iceveasel

2009-12-24 Thread Gerard Robin

On Thu, Dec 24, 2009 at 10:14:49PM +0100, Michelle Konzack wrote:

Date: Thu, 24 Dec 2009 22:14:49 +0100
From: Michelle Konzack linux4miche...@tamay-dogan.net
To: mutt-users@mutt.org
Subject: Re: mailto:x...@  failed with iceape or iceveasel
User-Agent: Mutt/1.5.20 (2009-06-14)

Hello Gerard,

Am 2009-12-24 19:22:07, schrieb Gerard Robin:

Hello,
I use debian sid with:
mut: Mutt 1.5.20
iceape: Mozilla Iceape 2.0.1

I just have upgraded my system and now, when I click on the link
mailto:xxx...@xx; iceape ask me to choose an application. I
choose mutt and nothing appears on the screen but mutt send an empty
message to the link.
Mutt before the upgrade worked fine with iceape: mutt was launched in a
terminal with to : xx...@x

Excuse me if this doesn't come from mutt, but if anyone can help me
to solve the problem, I thank him in advance.


You need a wraper script like the one I use:

[ '~/bin/mutt_firefox' ]
#!/bin/sh

xterm -geometry 80x45+400+100 -u8 -e mutt -e set editor=mcedit $*
---

add it to the list of executabled to use with the mailto:  tag  and  now
it works perfectly...


Many many thanks that works fine :-)

--
Gérard



signature.asc
Description: Digital signature


Re: .mailcap and galeon

2009-10-13 Thread Gerard Robin

On Sun, Oct 11, 2009 at 09:53:18AM +0200, Gerard Robin wrote:

Date: Sun, 11 Oct 2009 09:53:18 +0200
From: Gerard Robin g.rob...@free.fr
To: mutt-users@mutt.org
Subject: .mailcap and galeon
User-Agent: Mutt/1.5.20 (2009-06-14)

8

when I want to see an attachement  with v, I get : [-- text/html is 
unsupported --]
mailcap entry for type text/html not found

8
Sorry the answer was given by Kyle (23 Sep 2009):

you can get the old behavior using the 'm' key
You can even restore the original behavior by adding the following to your 
muttrc:

bind attach Return view-mailcap

thousand apologies.
--
Gérard


.mailcap and galeon

2009-10-11 Thread Gerard Robin

Hello,
mutt -v : Mutt 1.5.20 (2009-06-14) (debian sid)

if I put the following line in my .mailcap : 


text/html; /usr/bin/galeon '%s'; description=HTML Text; test=test -n 
$DISPLAY;  nametemplate=%s.html
(or text/html; /usr/bin/galeon '%s'; description=HTML Text; test=test -n 
$DISPLAY )

when I want to see an attachement  with v, I get : [-- text/html is 
unsupported --]
mailcap entry for type text/html not found

If I add the line (in .mailcap):

text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
(or text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text)

I can see the attachment in lynx. In this case I get :

[-- Autoview using /usr/bin/lynx -dump -force_html 
''/home/user1/.tmp/muttkB71ds'' --]

Why this doesn't work with galeon ? 


Thanks in advance for any help
--
Gérard


Re: Terminal for mutt (Poll)

2009-10-08 Thread Gerard Robin

On Wed, Oct 07, 2009 at 09:01:12PM -0500, Cooper T53 wrote:


- other?

roxterm

And why?

It has almost the same features that gnome-terminal but it is lighter.
With limited machine I use xterm.
--
Gérard


Re: local mail

2009-08-23 Thread Gerard Robin

On Sat, Aug 22, 2009 at 08:54:34AM -0400, Patrick Shanahan wrote:

Date: Sat, 22 Aug 2009 08:54:34 -0400
From: Patrick Shanahan ptilopt...@gmail.com
To: mutt-users@mutt.org
Subject: Re: local mail
User-Agent: Mutt/1.5.20 (2009-06-14)

* Gerard Robin g.rob...@free.fr [08-22-09 02:32]:

--8---

when user1 send a mail to user2 locally i.e. To: us...@nameofmybox, user2
receive the mail from g.rob...@free.fr.
Is it possible that I edit my .muttrc so that:
1 When I send a mail to the outside the From is g.rob...@free.fr.
2 When I send mail locally (to user2) the From is us...@nameofmybox.


Look in the fine manual for send-hook

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Change settings based upon message recipient
#
#   send-hook [!]pattern command
#
# command is executed when sending mail to an address matching pattern



ie: send-hook @name_of_my_box user1@name_of_my_box



The problem arises when I send mails to users (locally)with the crontab.


A perhaps simpler solution would be to create a second version of your
~/.muttrc, maybe ~/.muttrc.cron, and call it when mailing from cron.  Set
the desired From address in .muttrc.cron.

Thanks, with this method it works fine. 
(with send-hook it does not work ... )


There is *much* very good explanatin in the fine manual :^).

I do not agree with you regarding send-hook ...


Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Thanks again
--
Gérard


Re: local mail

2009-08-23 Thread Gerard Robin

On Sun, Aug 23, 2009 at 09:05:07AM -0400, Patrick Shanahan wrote:

Date: Sun, 23 Aug 2009 09:05:07 -0400
From: Patrick Shanahan ptilopt...@gmail.com
To: mutt-users@mutt.org
Subject: Re: local mail
User-Agent: Mutt/1.5.20 (2009-06-14)

* Gerard Robin g.rob...@free.fr [08-23-09 02:27]:

A perhaps simpler solution would be to create a second version of your
~/.muttrc, maybe ~/.muttrc.cron, and call it when mailing from cron.  Set
the desired From address in .muttrc.cron.
Thanks, with this method it works fine. 
(with send-hook it does not work ... )


Then, perhaps you have failed to execute it properly?


I put the following lines in my .muttrc:
# my_hdr From: g.rob...@free.fr 
---8--

send-hook . my_hdr From:g.rob...@free.fr
send-hook @name_of_my_box  my_hdr From: us...@name_of_my_box
---8--
If I send a mail to us...@name_of_my_box it work as expected
If I send a mail to f...@hotmail.com it work as expected
but my command in my crontab is:
echo perform full charge of the battery | /usr/bin/mutt -s battery 
us...@name_of_my_box
When I run this command, the From of the mail is us...@free.fr instead of 
us...@name_of_my_box
I can't figure out what I am missing ? ...


There is *much* very good explanatin in the fine manual :^).
I do not agree with you regarding send-hook ...


What do you find lacking?

I do not quite understand the purpose of send-hook . 'unmy_hdr'
However, if I do not write the line send-hook . my_hdr From:g.rob...@free.fr
this does not work well when I send a mail to  f...@hotmail.com.

Finally I think I am wrong, nothing is lacking if we take the time to
follow all the links ($from, $realname in chap 4) but after following all 
the links I'm still not solve the problem of the command in crontab ?

Though it would be nice if there was a little more examples ...


--
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


--
Gérard


local mail

2009-08-22 Thread Gerard Robin

Hello,
sorry if it's dummy question ...
when user1 send a mail to user2 locally i.e. To: us...@nameofmybox, user2
receive the mail from g.rob...@free.fr.
Is it possible that I edit my .muttrc so that:
1 When I send a mail to the outside the From is g.rob...@free.fr.
2 When I send mail locally (to user2) the From is us...@nameofmybox.

The problem arises when I send mails to users (locally)with the crontab.

Tia

--
Gérard


Re: [ANNOUNCE] 1.5.20 released

2009-06-15 Thread Gerard Robin

On Mon, Jun 15, 2009 at 10:25:38AM +0800, bill lam wrote:

Date: Mon, 15 Jun 2009 10:25:38 +0800
From: bill lam cbill@gmail.com
To: mutt-users@mutt.org
Subject: Re: [ANNOUNCE] 1.5.20 released

Many thanks for detail steps and explanation. I compiled and am now
using the new mutt.


Did you make a debian package ?
If yes, can you show your file control ?

Thanks.
--
Gérard


Re: How to let mutt always mark mbox as new if it contains new

2009-05-11 Thread Gerard Robin

On Mon, May 11, 2009 at 01:37:16PM +0800, Wu, Yue wrote:

From: Wu, Yue vano...@gmail.com
To: mutt-users@mutt.org
Subject: Re: How to let mutt always mark mbox as new if it contains new

On Sat, May 09, 2009 at 12:13:54AM -0400, Chris Jones wrote:



Say, I have many mailboxes that have many new messages, but now I have no so
much time to see all of them, so I quickly enter mailboxes one by one, then
just pick the message I'm got most of interested, leave the remaining messges
for viewing them when I have time.  Serveral hours later, I have time, I want
to see the new messages that I haven't seen last time, but now, all mailboxes
haven't any flags, so I have to go through all of them to see if there are new
message in them or not.

If you use debian, the package mutt-patched can do that.

--
Gérard


mutt freeze my machine with kern 2.6.25 amd64

2008-05-13 Thread Gerard Robin

Hello,
mutt works perfectly with Kernel 2.6.22 amd64 in CM
but with kernel 2.6.25-1-amd64 (package debian) it freezes definitively
my box (in CM) the problem doesn't occur with xwindow.

Is it a bug of mutt or a bug of the kernel 2.6.25-1-amd64 ?

--
Gérard


Re: alternate editor ?

2007-11-24 Thread Gerard Robin

On Sat, Nov 17, 2007 at 04:56:13PM +0100, Michelle Konzack wrote:

From: Michelle Konzack [EMAIL PROTECTED]
To: mutt-users@mutt.org
Subject: Re: alternate editor ?
Organisation: Michelle's Selbstgebrautes

Am 2007-11-11 20:29:01, schrieb Gerard Robin:

Hello,
is it possible to do write this in the file .muttrc (in muttrc language) :

if $DISPLAY=:0.0 then editor=gedit else edtor=vim


set editor=`if [ ${DISPLAY} = :0.0 ] ; then echo gedit ; else echo vim ; fi`


Thanks, it works fine too with gedit, but not with gvim -f, I get the
message: -f  unknown variable.

--
Gérard


Re: alternate editor ?

2007-11-11 Thread Gerard Robin

On Sun, Nov 11, 2007 at 01:23:45PM -0800, Michael Elkins wrote:

From: Michael Elkins [EMAIL PROTECTED]
To: mutt-users@mutt.org
Subject: Re: alternate editor ?

See http://wiki.mutt.org/?ConfigTricks and look for
Generating a dynamic muttrc file


Many thanks its works fine :-) (but all the quotes are simple quote no 
back-quote ...)

--
Gérard