[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] Subject from .vacation.msg
From:       Magnus Holmgren <holmgren () lysator ! liu ! se>
Date:       2008-03-01 21:21:00
Message-ID: 200803012221.05497 () proffe ! kibibyte ! se
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@lysator.liu.se
                       (No Cc of list mail needed, thanks)

["signature.asc" (application/pgp-signature)]

-- 
## 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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic