Re: [exim] Passing variables into exim?

Góra strony
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
Dla: exim-users
Temat: Re: [exim] Passing variables into exim?
Matthew Hodgson wrote:
> Hi,
>
> Is there any way to pass variables into exim externally? I want to do
> something like:
>
> spamcheck:
>    driver = pipe
>    command = /opt/exim/bin/exim --set-acl_c0=$acl_m0 -oMr spam-scanned -bS -os10m
>    transport_filter = /usr/bin/spamc -u $local_part@$domain
>    use_bsmtp = true
>    batch_max = 1

>
> i.e. tell the target exim process the contents of a variable calculated
> during initial ACL processing.


You can use -D to set a macro.

http://exim.org/exim-html-4.66/doc/html/spec_html/ch06.html#SECTmacrodefs

- Marc