Date: Thu, 1 Jul 2004 09:48:16 +0200 From: Geert Hendrickx <geert.hendrickx@ua.ac.be> To: "Andrew L. Gould" <algould@datawok.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: [OT] fetchmail, procmail and mutt (oh my!) Message-ID: <20040701074816.GA97086@lori.mine.nu> In-Reply-To: <200406302146.31818.algould@datawok.com> References: <200406302146.31818.algould@datawok.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. Make it 'mda "/usr/local/bin/procmail -d %T"' and it'll work fine. Without the -d paramater, procmail just appends the mail to your mbox, without inserting a From-line ontop. If your mail goes from fetchmail via sendmail to procmail, then sendmail will take care of the From-line. If your mail goes from fetchmail to procmail directly (as you instructed with the mda command), procmail must do it. It's told to do so with -d %T. GH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701074816.GA97086>