Paul M Foster wrote: 
> 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.


That's easy, then. Have your system mail handled by maildrop as
well.

Your system is most likely running exim or postfix; either one
can invoke maildrop as a local delivery agent, which will then
read your .mailfilter and obey it. 

-dsr-
 

Reply via email to