Re: Command/Macro to show new messages via IMAP?

2013-01-18 Thread Brendan Cully
On Thursday, 17 January 2013 at 19:28, Michael Elkins wrote:
> On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:
> >When I switched to IMAP I noticed sadly that Mutt no longer shows new
> >mails from outside a folder. Actually it's IMAP + Maildir.
> >
> >Is there some way of doing this? Even a command/macro I could run to
> >show new mail without having to actually go into each folder to check?
> 
> You want the `mailboxes' support:
> 
> http://www.mutt.org/doc/devel/manual.html#mailboxes

Also see $imap_check_subscribed

http://dev.mutt.org/doc/manual.html#imap-check-subscribed


Re: Question about PGP and mutt

2013-01-18 Thread s. keeling
Incoming from Chris Bannister:
> On Thu, Jan 10, 2013 at 11:09:48AM -0700, Robert Holtzman wrote:
> > On Thu, Jan 10, 2013 at 07:33:16AM -0600, Dale A. Raby wrote:
> > 
> > > set pgp_replyencrypt=yes
> > > set pgp_timeout=1800
> > > set pgp_good_sign="^gpg: Good signature from"
> > 
> > I have none of this in my .muttrc and have pgp capability. P shows the
> > pgp menu. This in mutt 1.5.20-9+squeeze2.
> 
> root@tal:~# ls -al /etc/Muttrc.d/
> total 40
> drwxr-xr-x   2 root root  4096 Oct  2 18:56 .
> drwxr-xr-x 109 root root 12288 Jan 11 18:59 ..

I'm surprised you'd put that in /etc/Muttrc.d; it's all world-
readable.  It doesn't take advantage of today's encrypted $HOME
partitions.  All of my mutt config is in ~/mutt, including my muttrc.
I have a ~/.muttrc symlink that points to it.

> OK, this is on Wheezy, but I expect it isn't that much different than
> Squeeze

I'm on wheezy too.



-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|:& };:
- -


signature.asc
Description: Digital signature


Re: Question about PGP and mutt

2013-01-18 Thread Brandon Sandrowicz
On Fri, Jan 18, 2013 at 06:04:03PM -0700, s. keeling wrote:
> Incoming from Chris Bannister:
> > On Thu, Jan 10, 2013 at 11:09:48AM -0700, Robert Holtzman wrote:
> > > On Thu, Jan 10, 2013 at 07:33:16AM -0600, Dale A. Raby wrote:
> > > 
> > > > set pgp_replyencrypt=yes
> > > > set pgp_timeout=1800
> > > > set pgp_good_sign="^gpg: Good signature from"
> > > 
> > > I have none of this in my .muttrc and have pgp capability. P shows the
> > > pgp menu. This in mutt 1.5.20-9+squeeze2.
> > 
> > root@tal:~# ls -al /etc/Muttrc.d/
> > total 40
> > drwxr-xr-x   2 root root  4096 Oct  2 18:56 .
> > drwxr-xr-x 109 root root 12288 Jan 11 18:59 ..
> 
> I'm surprised you'd put that in /etc/Muttrc.d; it's all world-
> readable.  It doesn't take advantage of today's encrypted $HOME
> partitions.  All of my mutt config is in ~/mutt, including my muttrc.
> I have a ~/.muttrc symlink that points to it.

Why would generic gpg commands being world-readable be an issue? Those
files are part of the mutt package on Debian/Ubuntu:

$ dpkg-query -S /etc/Muttrc.d/gpg.rc
mutt: /etc/Muttrc.d/gpg.rc

There's nothing to be gained by reading them.

[ Btw, mutt will parse ~/.mutt/muttrc if ~/.muttrc doesn't exist. If you
dot-prefix your ~/mutt, then you could axe the need for the symlink. ]
-- 
Brandon Sandrowicz


Re: Question about PGP and mutt

2013-01-18 Thread s. keeling
Incoming from Brandon Sandrowicz:
> On Fri, Jan 18, 2013 at 06:04:03PM -0700, s. keeling wrote:
> > 
> > I'm surprised you'd put that in /etc/Muttrc.d; it's all world-
> 
> Why would generic gpg commands being world-readable be an issue? Those

Yeah, sorry.  I was confusing gnupg with mutt configs.

> [ Btw, mutt will parse ~/.mutt/muttrc if ~/.muttrc doesn't exist. If
> you dot-prefix your ~/mutt, then you could axe the need for the
> symlink. ]

I like to keep date stamped copies of old mutt configs in my ~/mutt.
It just fits my style better to have a ~/mutt dir and a symlink that
points into there.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|:& };:
- -


Re: Question about PGP and mutt

2013-01-18 Thread Andre Klärner
On Fri, Jan 18, 2013 at 08:54:34PM -0700, s. keeling wrote:
> Incoming from Brandon Sandrowicz:
> > On Fri, Jan 18, 2013 at 06:04:03PM -0700, s. keeling wrote:
> >
> > [ Btw, mutt will parse ~/.mutt/muttrc if ~/.muttrc doesn't exist. If
> > you dot-prefix your ~/mutt, then you could axe the need for the
> > symlink. ]
> 
> I like to keep date stamped copies of old mutt configs in my ~/mutt.
> It just fits my style better to have a ~/mutt dir and a symlink that
> points into there.
> 

Well, I used to do so a while ago, but by now I am using a git-repository
for each of my config folders. It also easies splitting the config into
reusable parts and putting it together with all the other related
scripts.

I wish I had learned that lesson a few years ago..

Regards, Andre

-- 
Andre Klärner


smime.p7s
Description: S/MIME cryptographic signature


Re: Question about PGP and mutt

2013-01-18 Thread s. keeling
Incoming from Andre Klärner:
> On Fri, Jan 18, 2013 at 08:54:34PM -0700, s. keeling wrote:
> > 
> > I like to keep date stamped copies of old mutt configs in my ~/mutt.
> 
> Well, I used to do so a while ago, but by now I am using a git-repository

Sadly, I'm still working on my git-foo.

> for each of my config folders. It also easies splitting the config into
> reusable parts and putting it together with all the other related

source ~/mutt/aliases
source ~/mutt/folder-hook
source ~/mutt/save-hook
source ~/mutt/fcc-hook
source ~/mutt/colors
source ~/mutt/charset-hook
source ~/mutt/macros
source ~/mutt/gnupg

Works for me.  :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|:& };:
- -