Gururajan Ramachandran wrote:
> Is it possible to save entire email messages to
> external files from within DATA ACLs? Or
> alternatively, is there a variable that signifies the
> whole message which could be passed to an external
> program to save the message?
If you use exiscan-acl, you can do it like this:
warn log_message = Saved $message_id
demime = *
condition = ${run {/bin/cp
/path/to/spool/scan/$message_id/$message_id.eml
/somwhere/else/$message_id}{1}{0}}
This will give you an archive of .eml formatted messages. You can also
call a script with ${run that prepends a From ... line and then appends
them to an MBOX style file.
/tom