[fetchmail]fetchmail's 'Received' header
glo
glo@defora.org
Sun, 21 Nov 2004 17:12:11 +0100
Burt Juda :
> glo wrote:
>
> >I like sorting my e-mails by the date of their reception on the server :
> >this date is obtained by taking the last "Received" header in the
> >e-mail.
> >
> >I use procmail as MDA, so that my local MTA does not add a Received
> >header. The problem is the one added by fetchmail. Is there a way to
> >prevent fetchmail from adding it ?
> Add "no rewrite" to your POLL line. That suppresses fetchmail from
> adding its received header.
Well, it doesn't work, I still have this header in each mail :
Received: from mail.defora.org [213.41.173.144]
by localhost with IMAP (fetchmail-6.2.5)
for ben@localhost (single-drop); Sun, 21 Nov 2004 17:05:47 +0100 (CET)
Here is my .fetchmailrc :
poll mail.defora.org
proto imap
#no envelope
user ben
ssl
nokeep
fetchall
no rewrite
mda "/usr/bin/procmail"
--
ben