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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: exim-users
CC: Uptime.pl - irc
Sujet: Re: [exim] MIME, ${run, and $message_body
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?

--
Magnus Holmgren