Date: Wed, 30 Jun 2004 21:46:31 -0500 From: "Andrew L. Gould" <algould@datawok.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: [OT] fetchmail, procmail and mutt (oh my!) Message-ID: <200406302146.31818.algould@datawok.com>
next in thread | raw e-mail | index | archive | help
Background: When I travel, I use access a home server via ssh and deal with my email using console applications. I obtain my email from several sources using fetchmail. I have a .procmailrc file that properly puts the emails into specified mbox files -- so far so good. Problem: If I put 'mda /usr/local/bin/procmail' in the .fetchmailrc lines, procmail puts the emails in the correct mbox files; but mutt complains that the files are not valid email files and refuses to read them. If I let fetchmail put the emails into my system mbox and use formail to process the emails, copies of the emails get put into the correct mbox files and mutt will open the files; but I have to go back and manually delete the emails in my system mail box. How can I get both valid mbox files and without having to manually delete emails in my system folder? Here's the top of .procmailrc and the freebsd recipe: #################################### MAILDIR=/home/algould/pmail LOGFILE=$MAILDIR/procmail.log VERBOSE=1 DEFAULT=/home/algould/pmail/inbox :0 : * .*freebsd /home/algould/pmail/freebsd #################################### The other recipes differ only in criteria and mbox file name. Any help would be appreciated. Thanks, Andrew Gould
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406302146.31818.algould>