Re: vi and mutt problem

2010-03-20 Thread Michael Elkins
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?

 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


Re: next-unread-mailbox for IMAP folder

2010-03-20 Thread Michael Elkins
On Fri, Mar 19, 2010 at 08:54:32AM -0400, peng shao wrote:
 Hi. I set up mutt with several local mailboxes and a gmail IMAP. By
 now it works well except that the next-unread-mailbox function. If I
 have new email in my local mailboxes fetched by getmail, then the
 next-unread-mailbox can take me to it correctly. However if there is
 one new email in the gmail IMAP, then the next-unread-mailbox simply
 tells me no mailboxes have new mail. Is there anyway I can tell mutt
 to treat IMAP like a normal folder so that the next-unread-mailbox
 can find it?

You might want to run Mutt in debug mode (mutt -d 2) and see if there
are any clues.  There could be an issue with the IMAP support used to
detect new mail.

me


Multiple IMAP accounts

2010-03-20 Thread Paul Tansom
I've been using Mutt for a good few years now, but only started using it over
IMAP a year or so ago and now I've started using multiple IMAP accounts with
it. Setting this up was straight forward enough, and I can cycle through
mailboxes with new mail in quite happily, but only if I have already checked
mail once. What I'm trying to do, and haven't yet worked out how, is connect to
all the IMAP mail accounts when I first start Mutt, so Mutt knows which ones
have new mail in without having to manually change into each one first. Can
anyone point me to some good references for this, I've not managed to spot what
I'm looking for with Google or on the Mutt Wiki so far.

Another thing I'll be looking at is a means to save me typing in the full
details of each mail account in order to switch between them. I'm particularly
keen on this since they are all on the same server and each account name is the
email address and things get quite long winded even with tab completion! I'm
thinking that something along the lines of a macro or a bind line in my muttrc
file should do the trick here, but since I'm typing if anyone has a pointer it
may save me some time :)

-- 
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: vi and mutt problem

2010-03-20 Thread 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 MMs: 250


 - Harper's Index


Re: Multiple IMAP accounts

2010-03-20 Thread Jan Kadijk
On Sat, Mar 20, 2010 at 06:01:19PM +, Paul Tansom wrote:
 I've been using Mutt for a good few years now, but only started using it over
 IMAP a year or so ago and now I've started using multiple IMAP accounts with
 it. Setting this up was straight forward enough, and I can cycle through
 mailboxes with new mail in quite happily, but only if I have already checked
 mail once. What I'm trying to do, and haven't yet worked out how, is connect 
 to
 all the IMAP mail accounts when I first start Mutt, so Mutt knows which ones
 have new mail in without having to manually change into each one first. Can
 anyone point me to some good references for this, I've not managed to spot 
 what
 I'm looking for with Google or on the Mutt Wiki so far.
 
 Another thing I'll be looking at is a means to save me typing in the full
 details of each mail account in order to switch between them. I'm particularly
 keen on this since they are all on the same server and each account name is 
 the
 email address and things get quite long winded even with tab completion! I'm
 thinking that something along the lines of a macro or a bind line in my muttrc
 file should do the trick here, but since I'm typing if anyone has a pointer it
 may save me some time :)
 
 -- 
 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

The best solution I know of, is to use OfflineIMAP. It can sync multiple
IMAP accounts to Maildirs. It works great for me. Google for a tutorial
:)

-- Jan



Re: Multiple IMAP accounts

2010-03-20 Thread Brendan Cully
On Saturday, 20 March 2010 at 18:01, Paul Tansom wrote:
 I've been using Mutt for a good few years now, but only started using it over
 IMAP a year or so ago and now I've started using multiple IMAP accounts with
 it. Setting this up was straight forward enough, and I can cycle through
 mailboxes with new mail in quite happily, but only if I have already checked
 mail once. What I'm trying to do, and haven't yet worked out how, is connect 
 to
 all the IMAP mail accounts when I first start Mutt, so Mutt knows which ones
 have new mail in without having to manually change into each one first. Can
 anyone point me to some good references for this, I've not managed to spot 
 what
 I'm looking for with Google or on the Mutt Wiki so far.

unset $imap_passive to automatically connect to any mailbox you've
added to the mailboxes list with the 'mailboxes' command.

 Another thing I'll be looking at is a means to save me typing in the full
 details of each mail account in order to switch between them. I'm particularly
 keen on this since they are all on the same server and each account name is 
 the
 email address and things get quite long winded even with tab completion! I'm
 thinking that something along the lines of a macro or a bind line in my muttrc
 file should do the trick here, but since I'm typing if anyone has a pointer it
 may save me some time :)

yes, binding a macro should help here. e.g.,

macro index I 'change-folderimap://f...@bar/INBOX'



Re: Multiple IMAP accounts

2010-03-20 Thread Paul Tansom
** Brendan Cully bren...@kublai.com [2010-03-20 20:53]:
 On Saturday, 20 March 2010 at 18:01, Paul Tansom wrote:
  I've been using Mutt for a good few years now, but only started using it 
  over
  IMAP a year or so ago and now I've started using multiple IMAP accounts with
  it. Setting this up was straight forward enough, and I can cycle through
  mailboxes with new mail in quite happily, but only if I have already checked
  mail once. What I'm trying to do, and haven't yet worked out how, is 
  connect to
  all the IMAP mail accounts when I first start Mutt, so Mutt knows which ones
  have new mail in without having to manually change into each one first. Can
  anyone point me to some good references for this, I've not managed to spot 
  what
  I'm looking for with Google or on the Mutt Wiki so far.
 
 unset $imap_passive to automatically connect to any mailbox you've
 added to the mailboxes list with the 'mailboxes' command.

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!!

There's so many things you can do with Mutt that in spite of having started
using it some time in 2000, there's still plenty to discover :)

  Another thing I'll be looking at is a means to save me typing in the full
  details of each mail account in order to switch between them. I'm 
  particularly
  keen on this since they are all on the same server and each account name is 
  the
  email address and things get quite long winded even with tab completion! I'm
  thinking that something along the lines of a macro or a bind line in my 
  muttrc
  file should do the trick here, but since I'm typing if anyone has a pointer 
  it
  may save me some time :)
 
 yes, binding a macro should help here. e.g.,
 
 macro index I 'change-folderimap://f...@bar/INBOX'

I shall have to have a play and see what I can come up with to save some typing.
** end quote [Brendan Cully]

-- 
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: Multiple IMAP accounts

2010-03-20 Thread Paul Tansom
** Jan Kadijk flappie1...@gmail.com [2010-03-20 19:33]:
 On Sat, Mar 20, 2010 at 06:01:19PM +, Paul Tansom wrote:
  I've been using Mutt for a good few years now, but only started using it 
  over
  IMAP a year or so ago and now I've started using multiple IMAP accounts with
  it. Setting this up was straight forward enough, and I can cycle through
  mailboxes with new mail in quite happily, but only if I have already checked
  mail once. What I'm trying to do, and haven't yet worked out how, is 
  connect to
  all the IMAP mail accounts when I first start Mutt, so Mutt knows which ones
  have new mail in without having to manually change into each one first. Can
  anyone point me to some good references for this, I've not managed to spot 
  what
  I'm looking for with Google or on the Mutt Wiki so far.
snip
 The best solution I know of, is to use OfflineIMAP. It can sync multiple
 IMAP accounts to Maildirs. It works great for me. Google for a tutorial
 :)
** end quote [Jan Kadijk]

I've looked at that for backup, but given the number of different machines I
connect from it could cause a few problems for my setup, particularly with disk
space since between the accounts I have in excess of 6G of mail folders (mostly
archives) that I connect to.

-- 
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: Multiple IMAP accounts

2010-03-20 Thread Peng
On 21:18 Sat 20 Mar , Paul Tansom wrote:
 ** Brendan Cully bren...@kublai.com [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

Peng


Re: next-unread-mailbox for IMAP folder

2010-03-20 Thread Michael Elkins
[cc to mutt-users for more eyeballs on the problem]

On Sat, Mar 20, 2010 at 06:30:02PM -0400, peng shao wrote:
 On 10:21 Sat 20 Mar , Michael Elkins wrote:
  On Fri, Mar 19, 2010 at 08:54:32AM -0400, peng shao wrote:
   Hi. I set up mutt with several local mailboxes and a gmail IMAP. By
  You might want to run Mutt in debug mode (mutt -d 2) and see if there
  are any clues.  There could be an issue with the IMAP support used to
  detect new mail.
  
  me
 
 Thanks. I did mutt -d 2 and didn't find anything meaningful in the debug
 file :( 
 
 The only part in the debug file related is
 
 4 a0012 OK Success
 No mailboxes have new mail
 WEED is Set
 Reorder: Date matches Date: Sat, 20 Mar 2010 23:43:10 +0800

Did you see the STATUS foo (...) IMAP commands in the debug log?

I assume that you have either:
set imap_check_subscribed
or added the imap box via the mailboxes command in your ~/.muttrc?

me


GPG send encrypted mails to one address but multiple recipient

2010-03-20 Thread Laurent Weber
Hello,

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?

Thanks in advance,
Sens0r

version infos:
=

Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.26-2-686 (i686)
ncurses: ncurses 5.7.20081213 (compiled with 5.7)
libidn: 1.8 (compiled with 1.10)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 24 2006 03:25:20)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  +USE_SMTP  +USE_GSS  -USE_SSL_OPENSSL
+USE_SSL_GNUTLS  +USE_SASL  +HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME
-EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
-ISPELL
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
MIXMASTER=mixmaster
To contact the developers, please mail to mutt-...@mutt.org.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2
patch-1.5.13.cd.purge_message.3.4
patch-1.5.13.nt+ab.xtitles.4
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.8.hr.sensible_browser_position.3