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 [EMAIL PROTECTED]
(No Cc of list mail needed, thanks)
signature.asc
Description: This is a digitally signed message part.
-- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
