[Exim] In delivery don't createfile, only link to a header..…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Justo Alonso
Data:  
Para: exim-users
Asunto: [Exim] In delivery don't createfile, only link to a header....
Hi....

    I'm trying preserve disk space on my system... In the internal mailing to the
users (many emails per week), I wan't configure exim to create a link in the
new directory of the maildir mailbox if the X-Link header exist in the email


Example:

From: new@???
To: user@???
Subject: Hello again
X-Link: /data/attachs/mailings/otheremail.txt

I have a router:

link_router:
driver = redirect
condition = ${if eq {$h_X-Woo-Link:} {} {0} {1}}
data = ${extract {mailMessageStore} {$address_data}}
directory_transport = link_transport

link_transport:
driver = pipe
user = nobody
group = nogroup
message_prefix =
message_suffix =
check_string =
escape_string =
return_fail_output
no_return_path_add
command = /bin/ln -s $h_X-Woo-Link: <WHAT_HERE??>./new

Exim can it ??

If yes.... How I configure the exim to work ??

ummm

thankx in advance.. and sorry for my english

justo