MBOX-Line: From kkapp at rambler.ru  Mon Oct 17 10:11:28 2005
To: imap-protocol@u.washington.edu
From: Alex Kapranoff <kkapp@rambler.ru>
Date: Fri Jun  8 12:34:36 2018
Subject: [Imap-protocol] Envelope "From" via IMAP
References: <858610995.1129557894.146542220.97946@mcgi3.rambler.ru>
Message-ID: <950098575.1129569088.151952412.97946@mcgi3.rambler.ru>

* Arnt Gulbrandsen <arnt@gulbrandsen.priv.no> [Mon, 17 Oct 2005
16:32:37 +0200]:
> Alex Kapranoff writes:
> > Is there a way to get envelope "From" information for a mail via
IMAP? 
> > Specifically, "ENVELOPE" fetch item does not seem to return it.
> 
> Use "uid fetch n body.peek[header.fields (return-path)]" to fetch the 
> envelope sender. RFC 2821 (and earlier RFCs) require that the envelope 
> sender address is stored in return-path when making final delivery. 
> Some MTAs get it wrong, though.

Thanks, that's the way I'll go. Do you know MTAs that do wrong things
with Return-Path:?

--
Alex Kapranoff.

