On tisdagen den 26 februari 2008, Didier Bleuzen wrote:
> Hello,
>
> I've setup vacation but i can't get Subject from my .vacation.msg which
> one contain a "Subject:" line followed the message
The text and file options explicitly set the body of the message, so you need
to do either of the following:
* Pipe the message to an external program that generates the autoreply.
* Use ${readfile} to read .vacation.msg and split it using ${sg}, e.g:
address_data = ${readfile{[...]/.vacation.msg}
headers = ${sg {$address_data}{(?s)^(.*?)\n\n.*}{\$1}}
text = ${sg {$address_data}{(?s)^.*?\n\n(.*)}{\$1}}
--
Magnus Holmgren holmgren@???
(No Cc of list mail needed, thanks)