Re: How do I see the text/html version of an email?

2023-04-23 Thread Jude DaShiell
If the mail is going to be illegible thanks to html, maybe it's
appropriate to automate an illegible email rejected filter that adds a
short message and bounces it back to the sender.  If enough of these
senders keep getting rejected messages maybe they'll clean up their acts
but count on any start toward this taking at least 10 years from the time
rejected email starts hitting their inboxes.


-- Jude  "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.

On Sun, 23 Apr 2023, ckeader via Mutt-users wrote:

> José María Mateos writes:
> > On Sun, Apr 23, 2023 at 02:56:35PM +, Alan Mackenzie wrote:
> > >Some considerate organisation has been sending me MIME mails with
> > >content in a text/html section and a wholly blank text/plain version.
> > >What I see in mutt is the blank text/plain.  Who on Earth thought a
> > >blank text/plain section was somehow a good idea?
> >
> > I've seen a worse version of this: the text version and the html version
> > are completely different.
>
> I can better that, regularly spotted in the corporate environment: the
> text/plain part is also in html.
>
>


Re: sample muttrc file for AOL email...

2023-04-12 Thread Jude DaShiell
When linux or unix software will produce errors in this case a command
like:
mutt 2>&1|tee mutt.log
will produce mutt.log where all output from the command including errors
will be captured.
If more than a single run is needed:
mutt 2>&1|tee -a mutt.log
will append output to mutt.log.
The 2>&1 redirects stderr to stdout so tee can catch it for you.
Cleaner than running script since ansi codes don't get included.
For graphics software where ansi is both desired and important your best
bet is to use script rather than tee to catch output input and errors.


-- Jude  "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.

On Wed, 12 Apr 2023, D.J.J. Ring, Jr. wrote:

> On Wed, Apr 12, 2023 at 2:11 PM Lester Rees  wrote:
>
> > Well, I need to take a little nap right now b4 I go to work this
> > afternoon.  Talk atcha later.
> >
> Hello Lester,
>
> Making mutt work isn't just a matter of a configuration file, there are
> other things like making directories which must be done.  You will either
> have to do this manually, or use a script.
> Otherwise, mutt will fail. As mentioned, mutt has imap support but it needs
> to be manually configured by you, it's not as simple as just a muttrc file,
> there are a few steps to getting it to work.
>
> If you don't want to use fleacollar.sh script, here are some good
> instructions on how to set up mutt.https://wiki.archlinux.org/title/Mutt
>
> Just ignore that it's for Arch Linux - the instructions are generic, but
> you have to follow all the steps and instructions or mutt just will not
> work.  It would have helped greatly if you had supplied the errors instead
> of saying simply "it doesn't work" - usually the errors will point to the
> misconfiguration and the misconfiguration can be fixed.
>
> You might look into offlineimap or isync to download your imap mail from
> aol.  They are both python programs.
>
> isync https://isync.sourceforge.io/
> offlineimap https://www.offlineimap.org/doc/installation.html
>
> If you're running Linux, your distro will have these to be installed.
>
> David
>


setting up subscribed groups

2022-08-05 Thread Jude DaShiell
Very basic question ahead.  In man muttrc subscribe [group-name] [regexp]
[regexp] has two regexp entries beside it.  how are those used correctly
to subscribe mutt-users and other groups?



Re: Using Gmail IMAP with Mutt

2021-09-07 Thread Jude DaShiell
I think google is doing this in order to mess with the heads of those
using anything other than gmail to read their accounts.
For now, the best way around that likely will be to have all gmail
forwarded to an account off of google and use that account to reply to any
gmail that arrives.  When google makes forwarding email from gmail
impossible, it will be time to disable gmail accounts and no longer use
google for email.


On Wed, 8 Sep 2021, D.J.J. Ring, Jr. wrote:

> So is Gmail using GMail again?
>
> How confusing, and whenever I use one or the other and it seems to make a
> new folder of the spelling I use even if it's not what gmail wants. That
> means that I now have several "sent mail" folders and I can move some of
> them and combine them using the web interface.
>
> Anyone?
>
> David
>
> On Tue, Sep 7, 2021, 13:36 Jens John  wrote:
>
> > On Fri, Sep 03, 2021 at 06:59:23PM +0100, Steve Karmeinsky wrote:
> > > On Thu, Sep 02, 2021 at 07:21:30PM +0200 or thereabouts, Jens John wrote:
> > > > On Thu, 2 Sep 2021, at 19:12, David J. J. Ring, Jr. wrote:
> > > > > What does gmail really want?  Gmail or GMail or something different?
> > > > > Thanks in advance for your replies and help.  I'm sorry I'm confused
> > but
> > > > > it is confusing.
> > > > Accidentally, I think they changed something because by mbsync config
> > broke
> > > > some time in August or July. I am now using "[Gmail]/All mail" &
> > "[Gmail]
> > > > /Sent Mail" (sic: yes, mail lowercased and Mail uppercased for the
> > other
> > > > folder. Previously, I had been using "[Gmail]/All Mail" (sic) (did no
> > longer
> > > > work). If in doubt, I would recommend using Thunderbird or another
> > IMAP tool
> > > > to check which folders a vanilla gmail account presents. Gmail is only
> > a
> > > > legacy account for me so I'm not exactly keeping up to date with the
> > > > service.
> >
> > Now this is very funny.
> >
> > Today's IMAP pull with mbsync indicates that Gmail has changed its reported
> > folder names'/labels' capitalization. Again. After everything was fine for
> > one
> > or two weeks.
> >
> >   Error: channel gmail: slave [Gmail]/All Mail cannot be opened.
> >   Error: channel gmail: master [Gmail]/All mail cannot be opened.
> >
> > As I don't really need my Gmail anymore I'll just remove Gmail from my sync
> > altogether. Personally, I find this inconsistency on Gmail's side highly
> > annoying. Their IMAP implementation is garbage. What a waste of time.
> >
>


Re: Wordwrap of long lines

2021-08-12 Thread Jude DaShiell
It'll be worth going outside of mutt and actually checking out the
directory mentioned since there's more in that directory than the manual
which may be of interest.


On Thu, 12 Aug 2021, D.J.J. Ring, Jr. wrote:

> I've been doing things the hard way.
>
> DR
>
> On Thu, Aug 12, 2021, 01:17 Chuck Martin  wrote:
>
> > On Wed, Aug 11, 2021 at 05:40:05PM -0400, D.J.J. Ring, Jr. wrote:
> > > I found that "man mutt" is not the whole manual.
> > >
> > > Note:  This  manual  page gives a brief overview of the mutt executable
> > >command line options.   A  copy  of  the  full  manual  is
> > located
> > >  in
> > >/usr/share/doc/mutt, in text, HTML, and/or PDF format.  Please
> > refer
> > > to
> > >the manual to learn how to use and configure Mutt.
> > >
> > > I never knew that.
> >
> > You can usually get to that manual from within mutt by pressing F1.
> >
> > Chuck
> >
>


Re: Viewing multiple images (was Re: Console HTML view with picture)

2021-08-02 Thread Jude DaShiell
Sorry about that, memory was not all there at the time I joined this
thread.  Try searching for an app called aview.


On Mon, 2 Aug 2021, Patrick Shanahan wrote:

> * Akkana Peck  [08-02-21 12:11]:
> > Tavis Ormandy writes:
> > > Not exactly what was asked, but I use this mailcap to view image
> > > attachments:
> > >
> > > image/png; img2sixel -- %s | less -r; nametemplate=%s.png; needsterminal
> >
> > Related question: is there a way to view several attachments at once?
> >
> > For example, someone sends five photos of a bird they saw, or
> > twelve funny pictures. In the attachment view, I can tag
> > attachments, but it doesn't seem like more than one attachment
> > is ever passed to a viewer.
> >
> > If they're all multipart/related, then I have a script that will
> > show the HTML page in a browser window. But recently a Mac user sent
> > me an email with a bunch of image/heif attachments which the browser
> > didn't handle. They worked fine in an image viewer, but it's
> > tedious to show lots of image attachments one after another, because
> > you have to wait for each image window to come up, then move focus
> > back to the mutt window to arrow down and open the next image. It
> > would be great to have a way to tag all the image attachmentss and
> > pass them all together as arguments to an image viewer.
>
> why not just set w3m to automagically display them
>
>   set "auto_image=TRUE"
>   w3m -o auto_image=TRUE
>
>
>


Re: Console HTML view with picture using W3M or other

2021-07-31 Thread Jude DaShiell
If memory serves, w3m can use av package if installed to allow it to view
pictures.  I've only read about this never having been able to look at
pictures.


On Sat, 31 Jul 2021, D.J.J. Ring, Jr. wrote:

> Has anyone succesfully configured mutt to give a roughly equivalent
> view of html emails using w3m or other
> browser in text console with direct-fb or other?
>
> If so, is there a ~/.config/mailcap or muttrc file or both that anyone
> would care to share or point me to?
>
> Regards,
>
> David Ring
>


re: almost got Maildir working

2021-03-04 Thread Jude DaShiell
I was confusing directory structures.  /home/jude/Maildir without the . 
ahead of the uppercase M actually does work with .getmail's configuration 
directory.




Re: almost got Maildir working

2021-03-04 Thread Jude DaShiell

Now I get /home/jude/.Maildir/ is not a mailbox.


On Thu, 4 Mar 2021, Chris Green wrote:


On Thu, Mar 04, 2021 at 09:55:38AM +0100, Herbert J. Skuhra wrote:

On Thu, Mar 04, 2021 at 03:13:01AM -0500, Jude DaShiell wrote:

Yes, and that had no effect.


Try to add:

set spoolfile="~/.Maildir/"
set mbox_type=Maildir


You also, of course, need to exit and restart mutt.  Obvious, but I
often forget to do this after making changes to .muttrc.




Re: almost got Maildir working

2021-03-04 Thread Jude DaShiell

Yes, and that had no effect.


On Wed, 3 Mar 2021, Jason White wrote:


Have you tried 'set folder=~/.Maildir' in your .muttrc (or whatever your config 
file is called)?


On Mar 3, 2021, at 10:16 PM, Jude DaShiell  wrote:

mutt insists in opening /var/spool/mail/jude and there's no mail there. There 
is in /home/jude/.Maildir/ though.
I can do mutt -f /home/jude/.Maildir/ and have mutt find my mail now.






almost got Maildir working

2021-03-03 Thread Jude DaShiell
mutt insists in opening /var/spool/mail/jude and there's no mail there. 
There is in /home/jude/.Maildir/ though.

I can do mutt -f /home/jude/.Maildir/ and have mutt find my mail now.



Re: mutt and gmail

2020-12-20 Thread Jude DaShiell
google itself uses strange enough rss that snownews can't parse it. I read
a message a little earlier today that a contact could not get gmail with
mutt. I'll try that url using news-ticker since it may have better luck.
On Sun, 20 Dec 2020, John Hawkinson wrote:

> Date: Sun, 20 Dec 2020 17:20:33
> From: John Hawkinson 
> To: Jude DaShiell 
> Cc: mutt-users@mutt.org
> Subject: Re: mutt and gmail
>
> Jude, I find your email puzzling. I don't believe there've been any recent 
> outages of Gmail's IMAP service, i.e. nothing that would prevent mutt from 
> connecting to Gmail and retrieving mail. Can you be more clear about what 
> problem are trying to address, and how you might solve it?
>
> There was a recent outage Gmail outage that prevented Gmail's SMTP inbound 
> servers from receiving email to Gmail users, and cause that mail to bounce. 
> See, variously:
>   Hacker News https://news.ycombinator.com/item?id=25436062
>   Google's app dashboard 
> https://www.google.com/appsstatus#hl=en&v=issue&sid=1&iid=a8b67908fadee664c68c240ff9f529ab
>   Google's alleged "incident report" 
> http://www.google.com/appsstatus/ir/4et50yp2ckm8otv.pdf (linked from the 
> dashboard).
>
> You can also monitor Google's appstatus dashboard via RSS at 
> https://www.google.com/appsstatus/rss/en
>
> --
> jh...@alum.mit.edu
> John Hawkinson
>
> Jude DaShiell  wrote on Sun, 20 Dec 2020
> at 16:49:57 EST in :
>
> > Given gmail isn't always available these days for whatever reason(s) I'm
> > wondering how best to regularly monitor gmail servers so users would know
> > if the servers are alive when they use mutt to connect and do mail
> > transactions.  Probably putting something into mutt would not be feasible.
> > I don't know if any other light-weight command line solutions for this
> > type of monitoring are already available since I've had no occasion to do
> > it yet.
> >
> > When people state they cannot recieve email with a stable version of mutt
> > and it not being all that long ago gmail was down and that got on the news
> > an ability to monitor services would seem to be useful.  The gmail
> > monitoring should only be attempted once it's established a network
> > connection exists since if you haven't got a network certainly no service
> > on the network will work.
>

-- 


mutt and gmail

2020-12-20 Thread Jude DaShiell
Given gmail isn't always available these days for whatever reason(s) I'm
wondering how best to regularly monitor gmail servers so users would know
if the servers are alive when they use mutt to connect and do mail
transactions.  Probably putting something into mutt would not be feasible.
I don't know if any other light-weight command line solutions for this
type of monitoring are already available since I've had no occasion to do
it yet.

When people state they cannot recieve email with a stable version of mutt
and it not being all that long ago gmail was down and that got on the news
an ability to monitor services would seem to be useful.  The gmail
monitoring should only be attempted once it's established a network
connection exists since if you haven't got a network certainly no service
on the network will work.



--


Re: Syntax for creating Muttrc.

2020-10-01 Thread Jude DaShiell
is fleacollar.sh part of the distribution yet?  That bash script can do a
pretty good job configuring a .muttrc file and creating necessary
directory structure for mutt to use.


--



Re: Simple muttrc file for accessing Gmail imap

2019-09-22 Thread Jude DaShiell
In order to create an app password, google will need your cell phone
number for verification and later security contacts should those become
necessary.

On Sun, 22 Sep 2019, Hokan wrote:

> Date: Sun, 22 Sep 2019 20:46:58
> From: Hokan 
> To: mutt-users@mutt.org
> Subject: Re: Simple muttrc file for accessing Gmail imap
>
> You'll also need to set "less secure password" or create an "app password".
>
> Or set up Oauth, but that'll take a bit of work.
>
>
> On Sun, Sep 22, 2019 at 07:11:10PM -0400, D.J.J. Ring, Jr. wrote:
> > I've been trying to help someone set up mutt for gmail imap using
> > mutt's internal support for IMAP.
> >
> > I have been going nuts.  Something's wrong but I cannot figure out why it 
> > fails.
> >
> > I just remembered that gmail has to have IMAP switched ON by using the
> > gmail settings online.:
> >
> > For the Gmail IMAP settings to work in your email client, IMAP access
> > must be enabled in Gmail online.
> >
> > https://www.lifewire.com/how-to-enable-gmail-via-imap-1170856
> >
> > HOW TO Activate IMAP in Gmail
> >
> > To access a Gmail account in your email program or mobile device via
> > the IMAP protocol, activate IMAP in Gmail.
> >
> > Open Gmail in a web browser.
> >
> > Choose Settings (the gear icon).
> >
> > Select Settings.
> >
> > Select the Forwarding and POP/IMAP tab.
> >
> > In the IMAP access section, select Enable IMAP.
> >
> > Leave the other settings on the default selections.
> >
> > Select Save Changes.
> >
> > That's it.
> >
> > Duh!  It's been so long since I enabled that setting, I forgot it had
> > to be done.
> >
> > Regards,
> >
> > David
> >
> > On Sat, Aug 24, 2019 at 4:06 PM Jude DaShiell  wrote:
> > >
> > > Yes, those macros work and do so silently.  Thanks for the macros and
> > > the idea to bind stuff to the comma key.  I hadn't thought of that one
> > > before.
> > >
> > > On Sat, 24 Aug 2019, Mark Frank wrote:
> > >
> > > > Date: Sat, 24 Aug 2019 14:00:27
> > > > From: Mark Frank 
> > > > To: mutt-users@mutt.org
> > > > Subject: Re: Simple muttrc file for accessing Gmail imap
> > > >
> > > > On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell  
> > > > wrote:
> > > >
> > > > > mutt is set up to download pop3 but has no keyboard shortcut to 
> > > > > download
> > > > > imap or didn't the last time I went through its documentation.
> > > > >
> > > > >
> > > > I've had this in my muttrc for years.  Don't  if if any of these values 
> > > > are
> > > > optimum as I don't use mutt much anymore but it does work.
> > > >
> > > >
> > > > $ grep imap ./.mutt/muttrc | egrep -v ^#
> > > > set spoolfile=imaps://imap.gmail.com/INBOX
> > > > set folder=imaps://imap.gmail.com/
> > > > set imap_keepalive = 900
> > > > set imap_user='m...@markanderika.com'
> > > > set imap_pass=x
> > > > set imap_keepalive=300
> > > > unset imap_passive
> > > > set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed
> > > > macro index ,g  "force retrieval of mail from IMAP 
> > > > server"
> > > > macro pager ,g  "force retrieval of mail from IMAP 
> > > > server"
> > > >
> > >
> > > --
> > >
>
>

-- 



Re: Simple muttrc file for accessing Gmail imap

2019-08-24 Thread Jude DaShiell
Yes, those macros work and do so silently.  Thanks for the macros and
the idea to bind stuff to the comma key.  I hadn't thought of that one
before.

On Sat, 24 Aug 2019, Mark Frank wrote:

> Date: Sat, 24 Aug 2019 14:00:27
> From: Mark Frank 
> To: mutt-users@mutt.org
> Subject: Re: Simple muttrc file for accessing Gmail imap
>
> On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell  wrote:
>
> > mutt is set up to download pop3 but has no keyboard shortcut to download
> > imap or didn't the last time I went through its documentation.
> >
> >
> I've had this in my muttrc for years.  Don't  if if any of these values are
> optimum as I don't use mutt much anymore but it does work.
>
>
> $ grep imap ./.mutt/muttrc | egrep -v ^#
> set spoolfile=imaps://imap.gmail.com/INBOX
> set folder=imaps://imap.gmail.com/
> set imap_keepalive = 900
> set imap_user='m...@markanderika.com'
> set imap_pass=x
> set imap_keepalive=300
> unset imap_passive
> set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed
> macro index ,g  "force retrieval of mail from IMAP server"
> macro pager ,g  "force retrieval of mail from IMAP server"
>

-- 



Re: Simple muttrc file for accessing Gmail imap

2019-08-24 Thread Jude DaShiell
Interesting, so you would hit ,g to download imap email?

On Sat, 24 Aug 2019, Mark Frank wrote:

> Date: Sat, 24 Aug 2019 14:00:27
> From: Mark Frank 
> To: mutt-users@mutt.org
> Subject: Re: Simple muttrc file for accessing Gmail imap
>
> On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell  wrote:
>
> > mutt is set up to download pop3 but has no keyboard shortcut to download
> > imap or didn't the last time I went through its documentation.
> >
> >
> I've had this in my muttrc for years.  Don't  if if any of these values are
> optimum as I don't use mutt much anymore but it does work.
>
>
> $ grep imap ./.mutt/muttrc | egrep -v ^#
> set spoolfile=imaps://imap.gmail.com/INBOX
> set folder=imaps://imap.gmail.com/
> set imap_keepalive = 900
> set imap_user='m...@markanderika.com'
> set imap_pass=x
> set imap_keepalive=300
> unset imap_passive
> set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed
> macro index ,g  "force retrieval of mail from IMAP server"
> macro pager ,g  "force retrieval of mail from IMAP server"
>

-- 



Re: Simple muttrc file for accessing Gmail imap

2019-08-24 Thread Jude DaShiell
mutt is set up to download pop3 but has no keyboard shortcut to download
imap or didn't the last time I went through its documentation.

On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote:

> Date: Sat, 24 Aug 2019 11:41:42
> From: "D.J.J. Ring, Jr." 
> To: Jude DaShiell 
> Cc: mutt-users@mutt.org
> Subject: Re: Simple muttrc file for accessing Gmail imap
>
> Hello Jude,
>
> It's possible to access gmail and download messages by adding imap
> locations and NOT use a mail transport program.  Everything is set up
> within the muttrc file.
>
> Burt Henry of the Vinux Wiki.
>
> Mutt vs. Alpine.
> http://wiki.vinuxproject.org/alpine_mutt
>
> Mutt Configuration and Basic Use.
> http://wiki.vinuxproject.org/mutt_configuration_and_basic_use
>
> He manages to do this just in muttrc.
>
> Here's the section of muttrc,
>
> ##Account Specific Settings
> # Change the following six lines to match your Gmail account details
> #And Uncomment and edit if YOU DO NOT WANT to USE ENCRYPTED PASSWD.
> #And comment out the top section that does the PW encryption.
> set imap_user = "gmail_han...@gmail.com"
> #set imap_pass = "my_PW"
> set smtp_url = "smtp://gmail_han...@smtp.gmail.com:587/"
> #set smtp_pass = "my_PW"
> set from = "gmail_han...@gmail.com"
> set realname = "My Name"
>
> # Change the following line to a different editor you prefer.
> set editor = "nano"
>
> ## GMail Config
> #(most of this should work with other IMAP accounts)
> ## Basic config, you can leave this as is in most cases
> # Not sure if timeout and keepalive value tweaking will help
> intermittent connection issues
> # (time values are in seconds)
> set wait_key = no
> set folder = "imaps://imap.gmail.com:993"
> set spoolfile = "+INBOX"
> set imap_check_subscribed
> set hostname = gmail.com
> set mail_check = 180
> set timeout = 300
> # Allow Mutt to open new imap connection automatically.
> unset imap_passive
> # Keep IMAP connection alive by polling intermittently
> set imap_keepalive = 210
> set postponed = "+[GMail]/Drafts"
> set record = "+[GMail]/Sent Mail"
> set header_cache=~/.mutt/cache/headers
> set message_cachedir=~/.mutt/cache/bodies
> set certificate_file=~/.mutt/certificates
> set alias_file=~/.mutt/aliases
> set move = no
> set include
> set sort = 'threads'
> set sort_aux = 'reverse-last-date-received'
> set auto_tag = yes
> ## Reminds you of missing subject&unmodified or empty body with msg
> sent as default
> set abort_nosubject = ask-no
> set abort_unmodified = ask-no
> ignore "Authentication-Results:"
> ignore "DomainKey-Signature:"
> ignore "DKIM-Signature:"
> hdr_order Date From To Cc
> alternative_order text/plain text/html *
> auto_view text/html
>
> This is from page:  http://wiki.vinuxproject.org/muttrc
>
> Unfortunately, there are errors in his delightfully easy gpg configuration,
> and sometimes he has googlemail instead of gmail and googlemail no longer
> works for me in this muttrc.
>
> There is also a more elaborate muttrc file with more features, but maybe
> the same errors, I'm going through it step by step and writing down the
> errors.
>
> Since I have access to the Vinux Wiki I will upload the corrections as soon
> as I make sure they are correct.
>
> Best wishes,
>
> David Ring
>
> On Sat, Aug 24, 2019, 10:14 Jude DaShiell  wrote:
>
> > I think I can help there, only thing is mine has the mutt blind-friendly
> > options in it.
> >
> > On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote:
> >
> >
>

-- 



Re: Simple muttrc file for accessing Gmail imap

2019-08-24 Thread Jude DaShiell
I think I can help there, only thing is mine has the mutt blind-friendly
options in it.

On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote:

> Date: Sat, 24 Aug 2019 10:09:48
> From: "D.J.J. Ring, Jr." 
> To: mutt-users@mutt.org
> Subject: Simple muttrc file for accessing Gmail imap
>
> For some blind and visually impaired users graphical user interfaces are as
> frustrating as a game of blindfolded archery.
>
> Does anyone have a simple good example of a muttrc file that can access
> gmail imap email by just changing "username" to your real user name and
> "password" to your real password?
>
> Thanks,
>
> David
>

-- 



Re: Preferred way to get imap emails

2019-07-27 Thread Jude DaShiell
I have getmail working pulling email from my gmail account using imap
and it only grabs the new mail for me each time I run it and I open up
mutt and go through the email then mutt purges what I deleted as it
exits.

On Sat, 27 Jul 2019, Grant Edwards wrote:

> Date: Sat, 27 Jul 2019 12:24:53
> From: Grant Edwards 
> To: mutt-users@mutt.org
> Subject: Re: Preferred way to get imap emails
>
> On 2019-07-27, Pankaj Jangid  wrote:
>
> > I have very recently switched back to mutt. My 1st question is - is
> > the preferred way to get imap emails in the mutt inbox.
>
> I've been using mutt with Gmail for 10-15 years, and I just point mutt
> at Gmail's IMAP server and leave all of the email on that server.
> [That sounds like what you have now.]
>
> > [...]
>
> > I tried to configure mutt with imap settings. It is functionally
> > working fine but each email is separately downloaded when I open it.
>
> Yep, that's how IMAP works.  I guess I'm lucky that my network
> connection is fast enough that it doesn't bother me.
>
> > I have configured cache so it doesn't happen everytime with the same
> > email. My 2nd question is - is there a way to pre-fetch all the
> > emails in inbox.
>
> I don't think so -- not without using something like offline-imap.
>
> --
> Grant
>
>
>
>
>

-- 



unbound functions

2019-06-26 Thread Jude DaShiell
I got me an answer.

The extra line in my .muttrc file is:
bind index,pager,attach f2 imap-fetch-mail


-- 



unbound function

2019-06-26 Thread Jude DaShiell
imap-fetch-mail when I ran a colon followed by imap-fetch-mail mutt
responded with unknown command.  If I assign that function to f2, is it
likely to work once assigned?



--



re: mutt inside of emacspeak

2019-06-21 Thread Jude DaShiell
This may not be the neatest way to smash a mouse, but inside of mutt I
suggested typing:
:exec quit , works here.  The q key inside emacspeak has other
functions.


--



mutt used inside emacspeak

2019-06-21 Thread Jude DaShiell
I got email from someone who is doing this.  He has only one problem, the
q key doesn't work inside mutt in emacspeak.  I wrote him and told him
he'd have to find a free key and make a macro for it to run the quit
function.



--



Re: providing imap_pass but not from ~/.muttrc

2019-06-14 Thread Jude DaShiell
Can mutt read gnome-key-ring?  If so, you maybe could use secret-tool
with the right parameters once.

On Thu, 13 Jun 2019, Matthias Apitz wrote:

> Date: Thu, 13 Jun 2019 14:56:33
> From: Matthias Apitz 
> To: mutt-users@mutt.org
> Subject: providing imap_pass but not from ~/.muttrc
>
>
> I often use SSH to connect to my rented VM space of my ISP (which gets me to a
> Linux server) and I do use mutt from there to check my mails or even to
> answer, esp. when I do not have my FreeBSD netbook with full Internet and all
> mails up.
>
> I do not want to set 'imap_pass=...' and such values in the ~/.muttrc on
> this VM. Is there any other way to provide such credentials without to
> key them in on start of mutt, for example based on an environment
> variable which I could route to the VM through the SSH session like:
>
> $ ssh -At www.unixarea.de imap_pass=abc bash --login
> Thu Jun 13 20:44:51 CEST 2019
> ...
> sh4-5:~$ env | grep imap
> imap_pass=abc
>
> Any other ideas? The SSH access is RSA based, i.e. without any password,
> and the private key comes from my OpenPGP card. Best solution would be to
> use this key as well for the IMAP authentication somehow.
>
> Thanks
>
>   matthias
>
>

-- 



delete-thread key combination?

2019-05-22 Thread Jude DaShiell
that's listed as ^D.  Does that convention translate to shift-6 then type
upper-case D?


--



Re: Can I do this (should I do this) with Mutt?

2019-05-22 Thread Jude DaShiell
There's account hooks for that, but I don't know if they incur any
latency.

On Wed, 22 May 2019, John Long wrote:

> Date: Wed, 22 May 2019 11:03:42
> From: John Long 
> To: mutt-users@mutt.org
> Subject: Can I do this (should I do this) with Mutt?
>
> Hi,
>
> I've been a casual mutter for around 10 years. I have it working with
> PGP, S/MIME, all that I need...for one account. The only thing is, I am
> increasingly dissatisfied with the direction GUI clients are going. I
> had one I have been using for years and it just keeps getting more and
> more features, incompatible changes, and bugs. Several of them
> encrypted my account credentials so I couldn't retrieve them. At one
> point I downloaded the source for it and put printf statements so I
> could recover my credentials to use with another client. I like mutt's
> text config.
>
> I have around 10 email accounts I use actively for various mailing
> lists, work, personal etc.
>
> 1. Is it reasonable to use Mutt with many email accounts? I know you
> probably can, but is it reasonable as in, is it manageable, is the
> performance good enough on a midrange box. Usability stuff, like will
> mutt automagically respond using the correct account (the account the
> email I'm replying to was received by), is it clear when you compose
> which account you're using. Etc.
>
> 2. I have around 100,000 emails right now between all my accounts. I
> have one pop account because my ISP mail server doesn't support IMAP.
> I use IMAP with all the rest. I like having the email on my box(es)
> rather than leaving it on servers. Of the mailbox flavors, which is
> appropriate for this volume of email?...and also for the let's say 200
> a day I get between the various mailing lists I'm on.
>
> 3. I seem to remember that mutt didn't poll automagically for pop3 or
> IMAP or both. Is that still true? Is there a way to get mutt to check
> mail every 10 minutes, 15, etc. without middleware? I don't want to get
> into fetchmail, getmail etc. I want the client to do it all.
>
> 4. For the idiots who persist in sending HTML email, even my current
> GUI client borks, sometimes badly, and the email is unreadable. Is
> there any tolerable HTML support in Mutt?
>
> Thanks,
>
> /jl
>

-- 



use mutt with mh

2019-05-22 Thread Jude DaShiell
I got nmh set up and running on my system and in my
/home/jude/.mutt/muttrc file have set mbox-format=mh.  When I start mutt I
get /home/jude/Mail/inbox not found and if I create an inbox directory
under ~/Mail/ and move all received messages into that inbox directory
mutt claims /home/jude/Mail/inbox/ is not an inbox.  I had a set
folder=/home/jude/Mail line in muttrc but it had no effect so I removed
it.
I'd like to get mutt and mh working together happily, but think I'm
missing some details here and this was after more than a few duckduckgo
searches.



--



Re: How do I set up a gmail account?

2019-05-08 Thread Jude DaShiell
Please check your .fetchmailrc file, you need a separate poll line for
gmail in that file and you need to specify imaps on it and you also need
to state name there is name here if your gmail username and your user
account on your local machine differ.  I hope this helps.

On Tue, 7 May 2019, Luciano ES wrote:

> Date: Tue, 7 May 2019 22:56:56
> From: Luciano ES 
> To: mutt-users@mutt.org
> Subject: How do I set up a gmail account?
>
> Hello. Coming back to mutt after a very long time.
>
> I've never been able to make it work with Gmail accounts. I still can't.
>
> I'm trying this:
>
> folder-hook gmail 'set realname="Just Me"'
> folder-hook gmail 'set from="usern...@gmail.com"'
> folder-hook gmail 'set use_from=yes'
> folder-hook gmail 'set envelope_from=yes'
> folder-hook gmail 'set smtp_url = 
> "smtps://usern...@gmail.com@smtp.gmail.com:465/"'
> folder-hook gmail 'set smtp_pass = "mypassword"'
> folder-hook gmail 'set imap_user = "usern...@gmail.com"'
> folder-hook gmail 'set imap_pass = "mypassword"'
> folder-hook gmail 'set folder = "imaps://imap.gmail.com:993"'
> folder-hook gmail 'set spoolfile = "$HOME/Mail/gmail"'
> folder-hook gmail 'set ssl_force_tls = yes'
>
> macro index "3"   
> "/root/Mail/gmail"
>
> This exact procedure works fine with two other accounts except they're
> POP3, not IMAP.
>
> I press 3 and mutt opens the gmail folder, but then nothing happens.
>
> So I tried a command:
>
> :imap-fetch-mail
>
> and mutt tells me:
>
> imap-fetch-mail: unknown command
>
>
> Then I try
>
> :fetch-mail
>
> and mutt tells me:
>
> fetch-mail: unknown command
>
> What am I doing wrong?
>
>

-- 



mutt and icloud

2019-03-28 Thread Jude DaShiell
Have we got any mutt users now able to get full access to their icloud
accounts and are also able to send with mutt through their icloud
accounts?  I'm interested in this and so is another contact who got shot
down on another list for having sent an off topic post concerning mutt.



--



Re: Hide a message?

2018-12-14 Thread Jude DaShiell
I got cured of mbox when I had malware infect my spool file.  There were
a few thousand messages I wanted to go through in that mbox but clamav
quarrantined the whole mbox file and I couldn't read the messages that
weren't infected and never learned which of the messages actually got
infected either.  Now, with MAILDIR, each message gets stored in its own
file and for that reason had I run clamav in that environment clamav
would have only quarrantined the individual infected messages and not
all of them.

On Fri, 14 Dec 2018, Tim Chase wrote:

> Date: Fri, 14 Dec 2018 08:37:28
> From: Tim Chase 
> To: mutt-users@mutt.org
> Subject: Re: Hide a message?
>
> On 2018-12-13 22:05, Patrick Shanahan wrote:
> > mbox still serves my needs and has never failed me.  why would I
> > want to invest time and effort to change to something (anything)
> > else?  maildir does not "work better" as I can see.
>
> Perhaps you're not putting strains on mbox that others have.  I've
> found that mbox works well in certain conditions:
>
> 1) only one reader/writer (no other scripts/tools touching your mail
> store) on local file-systems
>
> 2) particularly well if your mboxes are mostly append-only (it tends
> to perform worse and have more risk of data-loss if you're modifying
> messages in the middle).  The one-big-file-of-mail also compresses
> nicely if stored on a ZFS volume.
>
> I have had mbox files break when on NFS shares and when multiple
> programs are writing to them (especially when removing messages from
> the middle of the file).  Sometimes I'm lucky and it's not grievous
> and I only lose a message or two or things get sheared removing the
> intra-message markers, putting one message at the end of a previous
> message.
>
> -tkc
>
>
>
>
>
>
>

-- 



Re: Hide a message?

2018-12-13 Thread Jude DaShiell
maildir if I remember correctly has an inc command once you get it set
up.  It looks for an mbox file and does the conversion of that mbox file
for you and loads the mail into the mail directories for you.

On Thu, 13 Dec 2018, Victor Sudakov wrote:

> Date: Thu, 13 Dec 2018 11:15:52
> From: Victor Sudakov 
> To: mutt-users@mutt.org
> Subject: Re: Hide a message?
>
> Dan Ritter wrote:
> >>
> >> Is there a way to hide a message (e.g. with a certain subject) from view in
> >> a mailbox, without actually deleting it?
> >>
> >> The dovecot IMAP server keeps its folder (mailbox) metadata as a
> >> pseudo-message. When I access those mboxes locally with mutt, I see this
> >> pseudo-message but I don't want to.
> >
> >That doesn't happen in Maildir storage. Is it reasonable to
> >switch from mbox to maildir?
>
> An interesting idea!
>
> I have over 400 mboxes in my ~/Mail directory, some of them being
> mailing list archives, others being Usenet groups archives, or mboxes
> inherited from my decommissioned CommuniGate server.
>
> My dovecot configuration is simple: "mail_location =
> mbox:~/Mail:INBOX=/var/mail/%u"
>
> If I knew how to convert all this stuff to Maildir storage... Do I have to
> convert all of them at once?
>
>

-- 



Re: Aliases

2018-11-19 Thread Jude DaShiell
has askcc=yes been set in the .muttrc file?  If yes, why does the use of
aliases block the prompt from being displayed?

On Mon, 19 Nov 2018, Felix Finch wrote:

> Date: Mon, 19 Nov 2018 09:20:29
> From: Felix Finch 
> To: users 
> Subject: Re: Aliases
>
> On 20181119, steve wrote:
> > Hi,
> >
> > I'm using the alias functionality very often, but there is one thing
> > lacking or that I haven't found yet.
> >
> > Let's say I have a group alias like this
> >
> > alias group1 a,b,c,d
> >
> > and a simple one like this
> >
> > alias joe j...@example.com
> >
> > Now, I would like to create a new message with m, then the TO field
> > appears and I type group1 which fills that field with the four
> > recipients. Then I get the subject field and then I can edit the message
> > with my editor, vim in my case.
> >
> > Now if I want to add joe to the CC field, I cannot use the alias, I must
> > enter it manually. This case happens so often for me that I'm looking
> > for a way to simplify this process. I don't know if using aliases is the
> > right way to go, I don't see how to add joe to the group group1 AND ask
> > that it goes in the CC filed and not in the TO field.
>
> You can use aliases in the editor, they just don't autocomplete.  Put "joe" in
> the Cc: header with the editor; when mutt picks up the edited email, it 
> expands
> it.  The few times I forget someone's alias and would otherwise rely on mutt
> expansion, I edit the alias file to remind myself.
>
>

-- 



Re: Bottom posting v top posting

2018-05-13 Thread Jude DaShiell

On Sat, 12 May 2018, Ian Zimmerman wrote:


Date: Sat, 12 May 2018 23:23:45
From: Ian Zimmerman 
Reply-To: mutt-users@mutt.org
To: mutt-users@mutt.org
Subject: Re: Bottom posting v top posting

On 2018-05-13 09:52, Brian Salter-Duke wrote:


Posting to this list yesterday and a recent incident with my partner,
prompts me to raise the issue of bottom posting. For a long time,
mutters have fought battles and wars to get everybody to bottom
post. It makes a lot of sense, but we have lost every battle and every
war. I now only bottom post to emails on this list. I also never ever
see bottom posting in all the hundreds of emails I get every week,
other than posts to the mutt lists.


I am on some 30+ lists, and I'd estimate bottom posting is the norm on
25.  It is true that gmail users are a small minority on all of them.

I also bottom post with some of my best friends who _are_ gmail users,
and they don't object.  But I think they use computers for email, not
phones.

To sum up, the vision you have of almost everybody using phones may be
the future, but is not yet the present, and I resist accelerating the
transition.




--

Has mutt got something that can be added to a .muttrc file which positions 
the cursor in a reply automatically for bottom posting?  With bottom 
posting what has me concerned is did I hit the downarrow key enough to get 
to the correct position for writing and it would be nice not to have to do 
that any more.




Re: choices on reading HTML emails

2018-04-10 Thread Jude DaShiell
I wonder, can mutt be used to strip all images and toss them in the 
trash and strip all image attachments and toss them in the trash then 
make remaining text viewable in mutt?  Some of us with this kind of 
capability could save lots of disk space.


On Tue, 10 Apr 2018, Akkana Peck wrote:


Date: Tue, 10 Apr 2018 12:46:08
From: Akkana Peck 
To: mutt-users@mutt.org
Subject: Re: choices on reading HTML emails


On Tue, Apr 10, 2018 at 03:57:53PM +0800, Yubin Ruan wrote:


Can anyone share some approaches for reading HTML emails.
Currenlty I use w3m:

text/html; w3m -I %{charset} -T text/html; copiousoutput;

But sometimes I receive some HTML mails which can not be handled that well by
w3m, so I want to open that html attachment in a browser. How can I switch
between?


Chris Green writes:

I have similar, my .mailcap is:-

text/html; /home/chris/bin/muttfox %s
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html

So I use lynx to view HTML E-Mail by default and to view in my browser
I hit v[iew-attachment] and then 'm' for view-mailcap to view using my
muttfox script.  The muttfox script just calls a local or remote
firefox it's only necessary because I run mutt via ssh remotely
someetimes.  For normal use you can just call firefox directly.


I have several ways of dealing with different types of HTML,
though it starts with a mailcap like Chris':

text/html; mimehelper 5 firefox 'file://%s'; nametemplate=%s.html
text/html; lynx -term=xterm -dump %s; nametemplate=%s.html; copiousoutput

Mutt will automatically show html messages using lynx, but if I want
to see them in firefox, I use 'v' to see the attachment list, arrow
down to the attachment and hit return. mimehelper is a script that
runs a program then sleeps for 5 seconds, otherwise mutt often
removes the temp file before the browser has had a chance to read it.
I wish I could make mutt less aggressive about removing its temp files.

Then there's the case of multipart/alternative messages where the
text part (which I prefer in alternative_order) is broken; I don't
necessarily want to open the HTML message in a browser, I just want
to reverse alternative_order so I can see the HTML part it lynx.
I have a binding for that which I got from
http://www.archivum.info/comp.mail.mutt/2008-08/2/Re-combined-html-ascii-message-mutt-shows-html-but-not-ascii.html

That still leaves the edge case of HTML mail with attached images.
I don't get those very often, but when I do, mutt can't show the
images. So I wrote a Python script that pulls out the cid:
attachments and saves them, then rewrites the HTML to point to them.
http://shallowsky.com/blog/tech/email/mutt-viewing-html-mail.html

Finally, I have a script that brings up a browser window showing all
the attachments, both HTML and Word docs (converted to HTML), in
different tabs. (I unfortunately have to correspond with a group of
people who insist on communicating by mailing bunches of Word
attachments). So I put that on F5:
macro index  "~/bin/viewmailattachments\n" "View all attachments 
in browser"
macro pager  "~/bin/viewmailattachments\n" "View all attachments 
in browser"
The script is at
https://github.com/akkana/scripts/blob/master/viewmailattachments

That one doesn't handle embedded images; some day I need to combine
viewmailattachments and viewhtmlmail into one script.

   ...Akkana



--



Re: choices on reading HTML emails

2018-04-10 Thread Jude DaShiell
Interesting, anything different in the headings of webmail not handled 
well by w3m as opposed to messages w3m handles well?  If so, maybe 
isolating that difference and writing an additional line for the 
.mailcap file will help.


On Tue, 10 Apr 2018, Yubin Ruan wrote:


Date: Tue, 10 Apr 2018 03:57:53
From: Yubin Ruan 
To: mutt-users@mutt.org
Subject: choices on reading HTML emails

Hi,

Can anyone share some approaches for reading HTML emails.
Currenlty I use w3m:

   text/html; w3m -I %{charset} -T text/html; copiousoutput;

But sometimes I receive some HTML mails which can not be handled that well by
w3m, so I want to open that html attachment in a browser. How can I switch
between?

Yubin



--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread Jude DaShiell

In ssh try tilde-r.
On Tue, 13 Mar 2018, David Woodfall wrote:


Date: Tue, 13 Mar 2018 10:55:18
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Re: Is it possible to redraw screen after doing a charset change?

On (13/03/18 10:38), Jude DaShiell  put forth the 
proposition:
Going assumption is you're running a g.u.i.  That being the case, try 
running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


I'm using mutt over ssh on a headless server. No X.



Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--






--



Re: Is it possible to redraw screen after doing a charset change?

2018-03-13 Thread Jude DaShiell
Going assumption is you're running a g.u.i.  That being the case, try 
running xrefresh.

On Tue, 13 Mar 2018, David Woodfall wrote:


Date: Tue, 13 Mar 2018 10:20:19
From: David Woodfall 
To: mutt-users@mutt.org
Subject: Is it possible to redraw screen after doing a charset change?

I have a couple of binds to change charset between UTF-8/ISO-8859-1.
The problem is that I need to exit from the pager and then reopen the
message to see the changes, so I added those commands to the macro,
which works fine.

However, this doesn't work in the index, so is there a way to redraw
the screen after a charset change? I don't see anything in the manual
about it.




--



Re: html signature?

2018-03-08 Thread Jude DaShiell
That's still a big problem, I have to use a screen reader over here and 
I use among others archlinux.  Probably Tim Berners-Lee probably didn't 
invent the web mail format and by now I'm pretty sure he's thoroughly 
sick of it not to mention what all else was done with his creation.


On Thu, 8 Mar 2018, Scott Kostyshak wrote:


Date: Thu, 8 Mar 2018 13:02:03
From: Scott Kostyshak 
To: mutt-users@mutt.org
Subject: Re: html signature?

On Thu, Mar 08, 2018 at 08:29:47AM +, Thomas Stein wrote:

On 2018-03-08 08:47, Yubin Ruan wrote:

On Thu, Mar 08, 2018 at 12:40:26AM -0500, Scott Kostyshak wrote:

I find that one reason that they seem particularly responsive to is
to point out that people with disabilities may have trouble with
HTML-only emails.

Why?


One example: Many visually impaired computer users read mails using either a
screen reader[1] or a braille display[2]. Both devices are known to work
best with plain text.


That is what I had in mind also. This is at least what a visually
impaired student told me. That was 5 years ago though, perhaps
technology has improved to the point where it is not a big problem
anymore. The following does not give a detailed explanation, but it does
recommend at least a plain-text email version:

https://urldefense.proofpoint.com/v2/url?u=https-3A__litmus.com_blog_accessibility-2Demail-2Ddesign-2Dinfograph&d=DwIBAg&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=zUqJVM3RY5svAe6ctaxqyrj3k9OQkcL6UzDF3Kn6e0s&m=4rdeU5UU5g6LLY2dMJjydI1hJxXXucFFbKggnvD3cjM&s=E1g96DB0nLqgGwdHwF5VTs7hMPt47bng45d0wpY2x2E&e=

I personally find images and color distracting when trying to focus
completely on the content of an email. To be fair, getting rid of images
and color makes my focus level go from e.g. 95% to 98%, but I do find it
significant. I can imagine (but speak on no authority) that people who
have disabilities related to attention and focus would have similar
difficulty with distracting and unnecessary elements.

Scott





--



WIRED: ‘Mailsploit’ Lets Hackers Forge Perfect Email Spoofs (fwd)

2017-12-05 Thread Jude DaShiell

Hass mutt got this vulnerability?


--


-- Forwarded message --
Date: Tue, 5 Dec 2017 15:14:15
From: Jude610610 DaShiell513 
To: jdash...@panix.com
Subject: WIRED: ?Mailsploit? Lets Hackers Forge Perfect Email Spoofs


?Mailsploit? Lets Hackers Forge Perfect Email Spoofs
WIRED

The attack uncovers bugs in how more than a dozen programs implement email's 
creaky protocol. Read the full story


Shared from Apple News



Sent from my iPhone


Re: fetching mails with mutt/imap

2016-12-04 Thread Jude DaShiell
Some of this may work, I'll send an url to some expect examples in next 
reply.  You may need to cover another case when mutt finds messages and 
exit the expect script when that happens.


#!/usr/bin/expect -f
# chmod 755 before use and change path on line 1 if necessary.
spawn > mutt -n -f imap://imap.1blu.de/ \

-e "set sort=mailbox-order; set confirmappend=no; set delete=yes; push 
'./usr/home/jude/mailboxtmp'"

expect "No hay mensajes"
send "q"

I hope this helps.
On Sun, 4 Dec 2016, Matthias 
Apitz wrote:



Date: Sun, 4 Dec 2016 10:40:59
From: Matthias Apitz 
To: mutt-users@mutt.org
Subject: Re: fetching mails with mutt/imap

El d?a Sunday, December 04, 2016 a las 09:06:18AM -0500, Jude DaShiell escribi?:


You might be able to use a little expect in that script to catch and
handle mutt's no mail case when that happens.


The last two lines in the terminal were the script is running say:

---Mutt: imap://imap.1blu.de/INBOX 
[Msgs:0]---(mailbox-order/date)--(all)---
No hay mensajes.

('No hay mensajes' is Spanish for 'No mails').

How could I catch this in the script and send 'push q'? Can you please
point me to some place in mutt's manual or some examples.

Thanks


mutt -n -f imap://imap.1blu.de/ \
-e "set sort=mailbox-order; set confirmappend=no; set delete=yes; push 
'./usr/home/guru/mailboxtmp'"

I have added at the end:

... '; push q"

and it seems to do the trick.

matthias



--



Re: fetching mails with mutt/imap

2016-12-04 Thread Jude DaShiell
You might be able to use a little expect in that script to catch and 
handle mutt's no mail case when that happens.


On Sun, 4 Dec 2016, Matthias Apitz wrote:


Date: Sun, 4 Dec 2016 04:36:50
From: Matthias Apitz 
To: mutt-users@mutt.org
Subject: fetching mails with mutt/imap


Hello,

Sometimes, when connection to Internet costs a lot of money and is
charged connection time based, I use mutt to fetch directly and fast with a
script like this:


#!/bin/sh
#

# ensure the file exists
touch /usr/home/guru/mailboxtmp

mutt -n -f imap://imap.1blu.de/ \
-e "set sort=mailbox-order; set confirmappend=no; set delete=yes; push 
'./usr/home/guru/mailboxtmp'"

This works fine and fast. The only issue is: when there is no mail to
read, mutt says "No mail" and does not end by itself. One has to used
'q' to end it. Why?

Thx

matthias




--



Re: mutt configuring multiple accounts and reading multiple accounts

2016-11-01 Thread Jude DaShiell
Thanks Florian, I have some writing to do. On Mon, 31 Oct 2016, Florian 
Gamb?ck wrote:



Date: Mon, 31 Oct 2016 06:42:08
From: Florian Gamb?ck 
To: mutt-users@mutt.org
Subject: Re: mutt configuring multiple accounts and reading multiple accounts

Hi Jude,

On 2016-10-30 10:41, Jude DaShiell wrote:
I would like to find out how to add more accounts to my .muttrc file (...). 
Where should I be reading to find this information?


a good starting point is described in ArchWiki: 
https://wiki.archlinux.org/index.php/Mutt#Multiple_accounts


TL;DR: Mutt does not support multiple accounts in one single muttrc. Instead, 
you create a muttrc for each account you want to access. In your "main" 
muttrc you then create folder-hooks, so that when you access a certain 
account, the according muttrc will be sourced.





--



mutt configuring multiple accounts and reading multiple accounts

2016-10-30 Thread Jude DaShiell
For now, I am reading gmail quite successfully with mutt.  I would like to 
find out how to add more accounts to my .muttrc file and once added how to 
read email from those accounts when other accounts in the .muttrc file are 
not the default account.
panix.com and comcast.net are two of the additional accounts I'd like to 
be able to read remotely as well as mac.com and yahoo.com.

Where should I be reading to find this information?


--