Re: [exim] MIME, ${run, and $message_body

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Uptime.pl - irc
Ημερομηνία:  
Υ/ο: exim-users
Αντικείμενο: Re: [exim] MIME, ${run, and $message_body


On Sat, 3 Dec 2005, Magnus Holmgren wrote:

> Uptime.pl - irc skrev:
>>
>> My_ugly_condition:
>>   driver = accept
>>   check_local_user
>> # local_part_suffix = +* : -*
>> # local_part_suffix_optional
>>   condition = ${lookup mysql {SELECT1} {$value}{0}}
>>   headers_add = X-Spam-Score-Max: \
>>                     ${lookup mysql {SPAM_SELECT} {$value}{32}}\n\
>>                 X-Run: Run command \
>>                     ${lookup mysql {SELECT2}{${run {/file.sh \
>>             "$value" "Subject: $h_subject Message_body: \
>>         $message_body"}}} }
>>   transport = local_delivery
>>   cannot_route_message = Unknown user

>
> I suspect that you may need ${quote:Subject: $h_subject Message_body:
> $message_body}, but do you need to pass up to message_body_visible
> characters on the command line? What does file.sh do?


Thanks, I done it already. :-)