Re: Bozo Filter

2010-03-22 Thread Michael Elkins
On Sun, Mar 21, 2010 at 08:19:12PM -0700, Freeman wrote:
> When I type "l" at the command prompt, I get a request for a limit pattern.
> Then I type "~ n >1" to limit view to a score greater than 1. This works
> precisely.
> 
> But no luck with a limit function in muttrc.
> 
> I started with variations on this  
> 
>  folder-hook =.list/*'push "l ~n 1-\n"' 
> 
> from an otherwise informative Howto:
> http://mail.linux.ie/pipermail/ilug/2004-October/074043.html
> 
> Following is closer to successful lines in my muttrc and threads on this
> list:
> 
>  folder-hook =.list/* 'push "!l ~n >1"'
> 
> But to no avail.  Any insight appreciated!

This seems to work:

folder-hook . 'push "~n >1"'

Also, note that the folder pattern is a regexp, not a glob.  You can
just use =.lists/ to match all the folders in that subdirectory.  It
happens to work the way you wrote it because * means match the last char
zero or more times, but it is not doing what you probably think.

me


Re: Multiple IMAP accounts

2010-03-22 Thread Paul Tansom
** Peng  [2010-03-20 22:31]:
> On 21:18 Sat 20 Mar , Paul Tansom wrote:
> > ** Brendan Cully  [2010-03-20 20:53]:
> > 
> > Brilliant, thanks, that's exactly what I was looking for. It's my own fault 
> > for
> > having so many mail accounts that it now takes a while to connect to them 
> > all!!
> 
> Actually you may find this frustrating sometimes if your internet
> connection is not very good
** end quote [Peng]

That's not too much of a problem here, since the connection is to a Dovecot
IMAP server on my local LAN mostly, and I SSH in to check mail remotely. That
said I am connecting to 10 accounts for various reasons at the moment!

-- 
Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
==
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU


Re: mutt and gpg not in tune

2010-03-22 Thread Jan-Herbert Damm
hello,

> now i have spent some additional hours on this problem which might
> turn out to be some idiot fault of the person behind the keyboard. 

unfortunately this was the case. i was stuck up on pressing "s" instead of "p"
when i wanted to use gpg. it is *very* embarrassing and i apologize sincerely
for the noise.

i did learn a few things on the way though.

jan



Re: GPG send encrypted mails to one address but multiple recipient

2010-03-22 Thread Michael Elkins
On Sat, Mar 20, 2010 at 01:52:31PM +0100, Laurent Weber wrote:
> I want to send encrypted mails to a mailing list where the mails need
> to be encrypted with several keys. The mail is send to one address:
> security@
> 
> Now after long googl'in in found several information that it is not
> working. Is it true? Is there no walk around to get it working?

I think you can accomplish this by using a send-hook which will change
the value of $pgp_encrypt_only_command or $pgp_encrypt_sign_command to
add -r options to specify extra keys to encrypt for.

me


Re: vi and mutt problem

2010-03-22 Thread Dmitry Ulyanov
vi /tmp/foo correctly ending?
if not, execute strace vi /tmp/foo and show output

-- 
Best regards,
Dmitry Ulyanov

Sat, Mar 20, 2010 at 12:39:07PM -0600, Michael написал(а):
> On Sat, Mar 20, 2010 at 10:03:11AM -0700, Michael Elkins wrote:
> > On Fri, Mar 19, 2010 at 09:46:17AM -0600, Michael wrote:
> > > This is on an Slackware system. I only have root my regular user accounts.
> > > When I am finished writing an email, I get something similar at bottom of 
> > > my mutt screen:
> > > Error running "vi '/tmp/mutt-MarahIII-1000-2799-33'"!
> > > 
> > > I have tried using:
> > > set editor="/usr/bin/elvis"
> > > set editor="vi"
> > > set editor="/usr/bin/vi"
> > > and even commenting out the line all together.
> > 
> > Is vi == elvis on your system?
> > 
> 
> yes, sorry for not making that clear
> 
> > > No matter what, I get the same "error".
> > > I check the /tmp directory and see the two mutt files and I think the 
> > > error always relates to message no sent.
> > > 
> > > Any help?
> > 
> > What program/version is /bin/sh on your system?  Mutt invokes the editor
> > as:
> > /bin/sh -c 'vi /tmp/foo'
> > 
> > One thing you might try is to run that command via your shell and print
> > out the exit code (in bash you can echo $?).  Normally this should be 0
> > if no error occurred.
> > 
> > me
> 
> 
> ran your command followed by echo $? and it returned a "1"
> 
> 
> fwiw- I just tried running this on openbsd and it returned the "0".
> 
> 
> 
> 
> Thanks for your help.
> 
> Michael E.
> 
> -- 
> "Estimated amount of glucose used by an adult human brain each day,
> expressed in M&Ms: 250"
> 
> 
>  - Harper's Index


Re: mutt and gpg not in tune

2010-03-22 Thread Chuck Smith
On Mon, Mar 22, 2010 at 08:58:21PM +0100, Jan-Herbert Damm wrote:
> hello,
> 
> > now i have spent some additional hours on this problem which might
> > turn out to be some idiot fault of the person behind the keyboard. 
> 
> unfortunately this was the case. i was stuck up on pressing "s" instead of "p"
> when i wanted to use gpg. it is *very* embarrassing and i apologize sincerely
> for the noise.
> 
> i did learn a few things on the way though.
> 
> jan

No reason to apologize. I think we all learned something with you. I
know I did. 

--
Chuck Smith



signature.asc
Description: Digital signature


Re: vi and mutt problem

2010-03-22 Thread Michael


Sorry for not making myself clear. It ended in "1".
Been rather sick and not on that machine till maybe tomorrow, and will execute 
the strace.
Thank-you for your help

Mike

On Mon, Mar 22, 2010 at 11:17:33PM +0300, Dmitry Ulyanov wrote:
> vi /tmp/foo correctly ending?
> if not, execute strace vi /tmp/foo and show output
> 
> -- 
> Best regards,
> Dmitry Ulyanov
> 
> Sat, Mar 20, 2010 at 12:39:07PM -0600, Michael ??(??):
> > On Sat, Mar 20, 2010 at 10:03:11AM -0700, Michael Elkins wrote:
> > > On Fri, Mar 19, 2010 at 09:46:17AM -0600, Michael wrote:
> > > > This is on an Slackware system. I only have root my regular user 
> > > > accounts.
> > > > When I am finished writing an email, I get something similar at bottom 
> > > > of my mutt screen:
> > > > Error running "vi '/tmp/mutt-MarahIII-1000-2799-33'"!
> > > > 
> > > > I have tried using:
> > > > set editor="/usr/bin/elvis"
> > > > set editor="vi"
> > > > set editor="/usr/bin/vi"
> > > > and even commenting out the line all together.
> > > 
> > > Is vi == elvis on your system?
> > > 
> > 
> > yes, sorry for not making that clear
> > 
> > > > No matter what, I get the same "error".
> > > > I check the /tmp directory and see the two mutt files and I think the 
> > > > error always relates to message no sent.
> > > > 
> > > > Any help?
> > > 
> > > What program/version is /bin/sh on your system?  Mutt invokes the editor
> > > as:
> > >   /bin/sh -c 'vi /tmp/foo'
> > > 
> > > One thing you might try is to run that command via your shell and print
> > > out the exit code (in bash you can echo $?).  Normally this should be 0
> > > if no error occurred.
> > > 
> > > me
> > 
> > 
> > ran your command followed by echo $? and it returned a "1"
> > 
> > 
> > fwiw- I just tried running this on openbsd and it returned the "0".
> > 
> > 
> > 
> > 
> > Thanks for your help.
> > 
> > Michael E.
> > 
> > -- 
> > "Estimated amount of glucose used by an adult human brain each day,
> > expressed in M&Ms: 250"
> > 
> > 
> >  - Harper's Index

-- 
"Estimated amount of glucose used by an adult human brain each day,
expressed in M&Ms: 250"


 - Harper's Index