On Sat, Nov 18, 2023 at 09:29:02AM -0500, Dan Ritter wrote:

> Paul M Foster wrote: 
> > After using claws-mail for a number of years, I'm testing the idea of going
> > back to mutt and fetchmail. One problem I've encountered is how to get
> > local mail in /var/mail/paulf into mutt's inbox at /home/paulf/Mail/in.
> > 
> > I could run a POP server, and have fetchmail query it like any other
> > smarthost, but I'd rather not add another daemon. Does anyone know a way to
> > have mutt and/or fetchmail grab mail from /var/mail/paulf to
> > /home/paulf/Mail/in?
> 
> Options:
> 
> 1. tell mutt your spool is /var/mail/paulf:
> 
> set spoolfile="/var/mail/paulf"

This would be okay if all my mail was delivered to that spool file, but it
isn't. Fetchmail hands off (internet) mail to maildrop, which puts in my
spool file at /home/paulf/Mail/in. That's where mutt thinks my spool file
is. Only mail generated by the system or cron jobs is delivered to
/var/mail/paulf. And I'd like that mail to end up instead in
/home/paulf/Mail/in.

Also worth noting that I have exim installed, which handles the cron job
emails, and puts them, by default into the standard location,
/var/mail/paulf.

> 
> (if that's a Maildir, end it with a /)
> 
> 2. tell fetchmail to deliver via a local agent that will put
> things where you want them, like procmail or mailfilter or...
> anyway, use the 'mda' config in fetchmail's config file to
> specify that.
> 

Fetchmail already hands off to maildrop, which puts all (internet) mail in
/home/paulf/Mail/in. But it appears that fetchmail only queries servers,
and then passes off the mail to an mda. I can't get it to simply copy mail
(and delete it) from a spool file and deliver it to the mda.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster

Reply via email to