[Dovecot] how to best import Evolution/Thunderbird mail into dovecot?

Dennis Guhl dg at dguhl.org
Thu Oct 18 15:34:41 EEST 2012


On Wed, Oct 17, 2012 at 07:57:38PM +0200, Christoph Anton Mitterer wrote:
> On Wed, 2012-10-17 at 16:51 +0200, Dennis Guhl wrote:

[move through Evolution to IMAP]

> Well as I've mentioned... on looses the info in the From_ lines (that is
> the RCPT TO address and the date of arrival) because Evolution does not

The date and time of arrival can be concluded from the last Received:
header. The RCPT TO need to be converted to a X-Original-To: header.

[..]

> > If they bug you remove them with sed or awk or perl or python or ...
> Yeah... but sed alone is not enough... cause such lines may also appear
> in the body... and I mustn't remove them...
> So in principle I'm looking for a smart parser of mbox which already
> gives me headers and body and I can modify either.

I think, like Rob suggested, you are in need of some serious
scripting.

Dennis


More information about the dovecot mailing list