[OT] fetchmail, procmail and mutt (oh my!)
Geert Hendrickx
geert.hendrickx at ua.ac.be
Fri Jul 2 16:14:16 PDT 2004
> 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
More information about the freebsd-questions
mailing list