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. :-)


--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to