[Mimedefang] Exporting an eml file from MIMEDefang

David F. Skoll dfs at roaringpenguin.com
Sat Oct 16 11:25:04 EDT 2010


On Sat, 16 Oct 2010 13:01:31 +1100
Nigel Allen <dna at edrs.com.au> wrote:

> The issue here is that the email, as a .eml file, is going to be
> scooped up by a daemon that watches a particular folder. It then gets
> sucked up into a proprietary EDMS. The different tokens in between
> the underscores are parsed out by the edms and the subject needs to
> be kept (fairly) intact so that it can be found (and recognised) at a
> later date. Obviously if I change the file name to the queue-id I
> would lose all this.

No, you won't.  You have the original Subject: header *in the file itself*.

It's far safer to generate your own filenames and parse the info you want
out of the file.

> In retrospect I don't think the subject will cause any problems at
> all. For example, if the subject is set to ../../hello world then the
> actual file name it gets copied to would be:

Consider a subject of "/aw/crap/why/can't/I/save/this/file"

Regards,

David.



More information about the MIMEDefang mailing list