Re: [exim] wishlist: exim expansions in spamd_address

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stephen Gran
Date:  
À: exim-users
Sujet: Re: [exim] wishlist: exim expansions in spamd_address
On Tue, Jun 13, 2006 at 03:31:31PM +0200, Arkadiusz Miskiewicz said:
>
> Could exim be changed in future version to accept expansions in spamd_address
> like below?
>
> spamd_address = ${if >{$load_average}{30000}{}{127.0.0.1 783}} : 1.1.1.1
> 783 ...


Why doesn't using $load_average as a condition in the call to
spamassassin work for you? You can set spamd_address = $acl_m1, and
then adjust that as you need to in the acl's (I think - at least this
trick works for multiple A/V scanners).

Take care,
--
--------------------------------------------------------------------------
|  Stephen Gran                  | "I'd crawl over an acre of 'Visual      |
|  steve@???             | This++' and 'Integrated Development     |
|  http://www.lobefin.net/~steve | That' to get to gcc, Emacs, and gdb.    |
|                                | Thank you." (By Vance Petree, Virginia  |
|                                | Power)                                  |

--------------------------------------------------------------------------