Re: [exim] Condition rule, matching Subject header

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Peter Smith
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Condition rule, matching Subject header
On Sun, 2 Jul 2006, Peter Smith wrote:
>
>   warn message = Subject: something else
>         condition = ${if eq {$h_Subject:}{something}{yes}{no}}

>
> Ensim seems happy with it's syntax (no warnings either at start up or
> during mail processing), but the subject is never changed, so I'm
> assuming the condition never matches.


ACLs can only add headers, not replace them. Your MUA is probably showing
you only the first subject line, which is the original one.

BTW, Ensim is something completely different to Exim.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}