[Dovecot] Getting the SMTP envelope through IMAP?

Dennis Guhl dg at dguhl.org
Sat Oct 22 11:15:10 EEST 2011


On Sat, Oct 22, 2011 at 12:00:34AM +0200, Hadmut Danisch wrote:
> On 21.10.2011 20:02, Dennis Guhl wrote:
> > The SMTP envelope does only exist within the involved MTAs and only as
> > long as the message is not finally delivered.
> 
> The intended use is to create a backup from a mailbox through IMAP,
> which is as close as possible to the original mbox file, thus resembling
> the FROM lines as well.

I don't think it will be possible. The tool for this would be rsync
(wich might be difficult if you only have IMAP access to the machine
in question).

> The envelope sender address does not drop it's meaning after delivery.

This I never claimed.

> It's required for debugging purposes, writing mail filters, create
> blacklist filters from detected spam, etc.

Disregarding end users mail filters this are all tasks for mailadmins
which can tell thier MTA to write a reliable Return-Path: header and
which have access to the corresponding maillog.

Dennis



More information about the dovecot mailing list