[fetchmail]fetchmail's 'Received' header

Burt Juda burt@juda.com
Sun, 21 Nov 2004 11:36:38 -0500


glo wrote:

>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"
>
>  
>

Dunno.   It works for me.  I'm passing to my sendmail via "is *" and I 
only get the one that sendmail adds.  Without "no rewrite" I get two; 
one from fetchmail and one from sendmail.