Re: [exim] Exim Conditions

Top Pagina
Delete this message
Reply to this message
Auteur: Chris Siebenmann
Datum:  
Aan: Michal G.
CC: exim-users, cks
Onderwerp: Re: [exim] Exim Conditions
| Is there anyone how can describe creating of ACL's conditions ? Wiki
| doesn't said enough about this. For example:
| 1. condition = ${if >{$demime_errorlevel}{2}{1}{0}} - why there is 3
| kind of value (2,1,0) ?
| 2. condition =
| ${lookup{$authenticated_id}lsearch{/etc/mail/block_accounts}{yes}{no}}
| - why there is yes and no ?
| 3. and many other
|
| On net theres thousands of examples with multiple value after
| variables but how use them ?


All of these are string expansions using Exim's various string
expansion operators. To understand them you're going to want to
read several chapters of the Exim documentation, at least
chapter 11 (String expansions), chapter 10 (domain, host, etc
lists), and chapter 9 (file and database lookups).

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-domain_host_address_and_local_part_lists.html
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-file_and_database_lookups.html

Note that string expansions are effectively a programming language
and you should treat them (and learning them) as such. There are no
real shortcuts for understanding them.

    - cks