all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vm and procmail
@ 2006-12-24 17:45 sven.bretfeld
  2006-12-25 13:33 ` [SOLVED] " sven.bretfeld
  0 siblings, 1 reply; 2+ messages in thread
From: sven.bretfeld @ 2006-12-24 17:45 UTC (permalink / raw)


Hello to all

Can anybody help me to solve a problem with vm? I'm fairly new to this stuff.

I try to set up vm as my Email reader. But couldn't get it to work yet. I 
fetch my Emails from a POP-Server with fetchmail and put it into several 
spool files in my home folder via procmail. 

I told vm to get the mails from the spool files. vm never puts the mails into 
its primary inbox when I hit "g", but always into the associated crash files. 
Moreover it complains about not recognizing the type of my crash folders.

I think something with my setup is principially wrong.

Here are my .procmail and .vm files

#.procmail
SHELL=/bin/bash
PROCMAILDIR=$HOME/.Procmail
LOGFILE=$PROCMAILDIR/log
VERBOSE=yes
LOGABSTRACT=all
MAILDIR=$HOME/.Mail/SPOOLS

:0
* ^X-Original-To: debian-user-german@lists.debian.org
debian-liste

:0
* ^To: help-gnu-emacs@gnu.org
emacs-liste

:0 hwic
* ^From: kejoubeum@hispeed.ch
| cat > /dev/null; play /home/nevs/sound.mp3

:0
*
incoming

------------------

#.vm
 (setq vm-mutable-windows t
           vm-mutable-frames nil)

;; Folders ;;
(setq vm-primary-inbox "~/.Mail/INBOX")
(setq vm-folder-directory "~/.Mail/")
(setq vm-crash-box "~/.Mail/INBOX.CRASH")

;; Spool-Files ;;
(setq vm-spool-files 
   '(
      ("~/.Mail/INBOX" "~/.Mail/SPOOLS/incoming" "~/.Mail/INBOX.CRASH")
      ("~/.Mail/DEBIAN" "~/.Mail/SPOOLS/debian-liste" "~/.Mail/DEBIAN.CRASH")
      ("~/.Mail/EMACS" "~.Mail/SPOOLS/emacs-liste" "~/.Mail/EMACS.CRASH")
    )
)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SOLVED] Re: vm and procmail
  2006-12-24 17:45 vm and procmail sven.bretfeld
@ 2006-12-25 13:33 ` sven.bretfeld
  0 siblings, 0 replies; 2+ messages in thread
From: sven.bretfeld @ 2006-12-25 13:33 UTC (permalink / raw)


Am Sonntag, 24. Dezember 2006 18:45 schrieb sven.bretfeld@gmx.ch:

Hi to all

> I told vm to get the mails from the spool files. vm never puts the mails
> into its primary inbox when I hit "g", but always into the associated crash
> files. Moreover it complains about not recognizing the type of my crash
> folders.

I've found the problem. The reason is that procmail doesn't create standard 
mboxes by default. One has to append the parameter -f %Name. The option-entry 
in .fetchmailrc has to be:

mda "/usr/bin/procmail -f %Name"

If the vm-folders are created with this option, vm works fine. This must be a 
known problem. I wonder that no Howto refers to it.

All the best wishes and a Happy New Year to all
Sven

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-25 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-24 17:45 vm and procmail sven.bretfeld
2006-12-25 13:33 ` [SOLVED] " sven.bretfeld

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.