On Wed, May 16, 2001 at 04:31:38PM -0600, dave hoye wrote:
> All,
> 
> I would like to have fetchmail retrieve my messages from within mutt.  This
> way procmail is able to move the messages to the proper folders. The way I
> currently have mutt configured, -all- of the mail goes to my spool file
> (procmail evidently is not being run on these messages).  In order to get
> around this problem, I've been calling fetchmail through a shell escape.  I
> figure there should be a way to create a macro that does this, but I haven't
> had any luck in mapping it to mutt.
> 
> dave 

I have several procmail recipies that send to several spoolfiles that I
then tell mutt to use as mailfiles:

# .procmailrc 

# write matches to spool files
:0:
* ^TO_devshed
devshed-spool
:0:
* ^TO_linux-parport
parport-spool
:0:
* ^TO_luni
luni-spool
:0:
* ^TO_mutt
mutt-spool
:0:
* ^TO_pgp-keyserver-folk
pgp-spool
:0:
* ^TO_python-web
python-web-spool
:0:
* ^TO_vnc
vnc-list-spool
:0:
* ^TO_palm-dev-forum 
palm-dev-spool
:0:
* ^TO_eazel
eazel-spool




# .muttrc

#parameter settings
set pager_index_lines=8
set sort=threads
set folder=~/Mail
set record=~/Mail/sent-mail
set mbox=~/Mail/inbox
set move=ask-yes
set editor=vim

# mailboxes
mailboxes =devshed-spool
mailboxes =eazel-spool
mailboxes =parport-spool
mailboxes =luni-spool
mailboxes =mutt-spool
mailboxes =palm-dev-spool
mailboxes =pgp-spool
mailboxes =python-web-spool
mailboxes =vnc-list-spool
mailboxes =test-spool

#spool hooks for default read messages
mbox-hook devshed-spool     =devshed
mbox-hook eazel-spool       =eazel
mbox-hook parport-spool     =parport
mbox-hook luni-spool        =luni
mbox-hook mutt-spool        =mutt
mbox-hook palm-dev-spool    =palm-dev
mbox-hook pgp-spool         =pgp
mbox-hook python-web-spool  =python-web
mbox-hook vnc-list-spool    =vnc-list
mbox-hook test-spool        =inbox


--
David Rock
[EMAIL PROTECTED]

PGP signature

Reply via email to