"Dirk-Jan C. Binnema" <
dj...@djcbsoftware.nl> writes:
> On Tuesday Jun 19 2018, Simon Smailus wrote:
>
>> I added some .eml messages to my "new" folder in my Maildir. These messages
>> seem to appear properly in mu4e.
>>
>> Does that mean I can just drag .eml messages into my Maildir and all is
>> well, or am I missing something?
>
> Yeah, I think `.eml` files are just the "raw messages", so exactly what
> we expect in Maildirs.
They should be. I would however recommend to name them according to
Maildir standards[0].
mrefile(1) from mblaze[1] could do this easily (I’ve found mblaze to be
useful for hacking around with maildirs, or when I need to access mails
but have only a very limited system at hand).
If you don’t want to install it, `date +%s.N%N.$(hostname):2,` also
produces a usable, though slightly off-standard Maildir filename (with
GNU date). I’d recommend to use `mv -n` or so as not to overwrite
existing files in the unlikely event of a name clash.
--qsx
[0]:
https://cr.yp.to/proto/maildir.html
[1]:
https://github.com/chneukirchen/mblaze