Hello,

I have vi as my editor for composing new emails. Sometimes the
connection breaks and then I have to dig into the tmp directory where
the file was created. These files are named like

mutt-deukalion-500-10049-775496779933749571

with "deukalion" the hostname.

I would like to see whether there is a way to give these files another
name. Something like

subject_date

with

subject: the subject of the email
date: something like date '+%h_%d_%Y_%Hh%Mmin'

So that a temp. file would look like

Meeting_on_saturday_Feb_17_2011_16h45min

If the subject of that email had been "Meeting on saturday"

Probably adding the seconds would be better to avoid conflicts.

thanks

Reply via email to