Re: [VM] Beginner VM questions

2012-09-20 Thread Peter Davis
On Wed, Sep 19, 2012 at 02:15:50PM -0400, Peter Davis wrote:
 Ok, on a totally different tack, I currently have mutt setup so I can
 
 1) Fetch my mail from a few different accounts on various POP3 servers,
 2) Store it in Maildir format, and
 3) Read it with mutt
 
 Can I do this with VM? I've found some sites that reference using Maildir
 as a spool, but I want to use the POP3 servers as the spool, and store it
 locally in Maildir format.  (I think the last time I used VM, about 10
 years ago or more, I was storing in MH format.)
 
 If there any examples of how to set this up in my .vm file, that would be a
 huge help.

Ok, since this was met with stoney silence, and my searches for using VM
with Maildir haven't been too fruitful, how about MH format? I assume VM
still supports that, right?

I could convert my Maildir folders back to MH (as they were
originally). Then I'd be using VM to fetch new mail from POP3 servers
and add it to the MH repository, and of course to read, reply, forward,
etc.

Thanks,
-pd

P.S. - Apologies again for sending with mutt. My .vm is currently a
shambles as I tried getting Maildir working.


-- 

Peter Davis
 The Tech Curmudgeon - http://www.techcurmudgeon.com



Re: [VM] Beginner VM questions

2012-09-20 Thread Uday Reddy
Peter Davis writes:

 Ok, since this was met with stoney silence, and my searches for using VM
 with Maildir haven't been too fruitful, how about MH format? I assume VM
 still supports that, right?

Sorry, Peter.  You are out luck.  VM doesn't support either mailder or MH
format (yet).  There is an on-going wishlist item, but I have no idea when
we will get to it.  

The only support VM has for any maildir-like format is that it can define
virtual folders over directories.  I presume it would look something like
this: 

 (setq vm-virtual-folder-alist
'(
  ;; start virtual folder definition
  (virtual-folder-name
   ((/path/to/maildir1 /path/to/maildir2)
(header foo)
   )
  )
  ;; end of virtual folder definition
;; more virtual folders if needed
)
 )

If this set-up works, you will be able to at least read the maildir
folders.  I don't think you will be able to operate on them.

If you want full inter-operability with your Mutt set-up, I think it won't
be possible.

 I could convert my Maildir folders back to MH (as they were
 originally). Then I'd be using VM to fetch new mail from POP3 servers
 and add it to the MH repository, and of course to read, reply, forward,
 etc.

If you are commiting to using VM, then your best bet is to keep VM folders
in its native mbox format, and work with Mutt and VM in parallel for a
while.  Once you are sure you are comfortable with VM, you can convert
maildir/MH folders to mbox folders.  I think MH has a way of doing it.

There is no problem with accessing POP3 servers from VM, or downloading mail
from them into VM folders.

Cheers,
Uday



Re: [VM] Beginner VM questions

2012-09-20 Thread Peter Davis
On Thu, Sep 20, 2012 at 05:26:17PM +0100, Uday Reddy wrote:
 Peter Davis writes:
 
  Ok, since this was met with stoney silence, and my searches for using VM
  with Maildir haven't been too fruitful, how about MH format? I assume VM
  still supports that, right?
 
 Sorry, Peter.  You are out luck.  VM doesn't support either mailder or MH
 format (yet).  There is an on-going wishlist item, but I have no idea when
 we will get to it.  

Thanks, Uday. I was pretty sure I was using VM with MH-format folders
about 10 or 11 years ago, but that was probably a whole different
incarnation of VM.

 
 If you are commiting to using VM, then your best bet is to keep VM folders
 in its native mbox format, and work with Mutt and VM in parallel for a
 while.  Once you are sure you are comfortable with VM, you can convert
 maildir/MH folders to mbox folders.  I think MH has a way of doing it.
 
 There is no problem with accessing POP3 servers from VM, or downloading mail
 from them into VM folders.

I was going to try a few different MUAs in parallel, to see the
benefits and shortcomings of each. I suppose I could setup VM to fetch
POP3 messages without deleting them from the server, right? Then I
could have separate mbox and Maildir archives for a while.

Thank you!

-pd




Re: [VM] Beginner VM questions

2012-09-20 Thread Julian Bradfield
On 2012-09-20, Uday Reddy usr.vm.ro...@gmail.com wrote:
 If you are commiting to using VM, then your best bet is to keep VM folders
 in its native mbox format, and work with Mutt and VM in parallel for a

Urgh. mbox format is totally sick. From-stuffing will screw you
whatever you do. mbox format is the most evil Unix legacy not yet
exterminated.
I recommend mmdf format. (Not ideal, but I've never yet had cause to
send a mail including the mmdf delimiter.)





Re: [VM] Setting up VM for the first time - imap to read on the server

2012-09-20 Thread Stefan Monnier
 It isn't needed.  But the VM default for the variable `vm-stunnel-program'
 is stunnel.  So, it is looking for the stunnel program.  To avoid stunnel
 entirely, you should set `vm-stunnel-program' to nil.  Then VM will fire up
 the Emacs 24 SSL functionality.

The following chunk would do that automatically.


Stefan


@@ -675,8 +675,7 @@
--
 file))
 
-(defcustom vm-stunnel-program stunnel
+(defcustom vm-stunnel-program
+  (if (and (fboundp 'gnutls-available-p) (gnutls-available-p))
+  nil
+stunnel)
   *Name of program to use to run stunnel.
 This is used to make SSL connections to POP and IMAP servers that
 support SSL.  If this is set to nil, VM will attempt to use the