| Author |
Message |
Alexandre Busquets *nix forums beginner
Joined: 08 Apr 2006
Posts: 18
|
|
| Back to top |
|
 |
Tony Finch *nix forums Guru
Joined: 22 Mar 2002
Posts: 1222
|
Posted: Thu Jul 20, 2006 10:56 pm Post subject:
Re: condition help
|
|
|
On Fri, 21 Jul 2006, Alex wrote:
| Quote: | What's wrong?
condition = ${if { {match {$h_X-ACL-Warn:}{.*malware.*} } {yes}{no} }
|
You have spurious braces. Exim is very specific about where they are
allowed.
condition = ${if match{$h_X-ACL-Warn:}{.*malware.*} }
Tony.
--
<fanf@exim.org> <dot@dotat.at> 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}}
--
## 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/ |
|
| Back to top |
|
 |
Marc Perkel *nix forums Guru
Joined: 27 Jan 2005
Posts: 502
|
|
| Back to top |
|
 |
Tony Finch *nix forums Guru
Joined: 22 Mar 2002
Posts: 1222
|
Posted: Thu Jul 20, 2006 11:25 pm Post subject:
Re: condition help
|
|
|
On Thu, 20 Jul 2006, Marc Perkel wrote:
| Quote: |
Actually this should work:
condition = ${if {match {$h_X-ACL-Warn:}{malware} {yes}{no} }
|
No. There's still a spurious {.
Tony.
--
<fanf@exim.org> <dot@dotat.at> 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}}
--
## 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/ |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|