Sandro Tosi wrote:

*snip*

> into several lines a regexp match? something like
>
> if $sender_address matches "[email protected]|[email protected]|
> [email protected]|.....) then ...
>
> or something else?
>

These aren't in 'filter rules' per se ... just ordinary acl clauses that act 
during smtp-time:

'White' listing:

condition = ${lookup {$sender_address}lsearch{/path/to/flatfile}{yes}{no}}



'Black' Listing:

condition = ${lookup {$sender_address}lsearch{/path/to/flatfile}{yes}{no}}

=====

List format is simply one entry per line, no keys or such.

My server configuration is ordinarily fairly SQL-centric, but for these two, 
flat-files are simply easier to maintain externally and distribute among 
servers 
with minimal fuss.

- Make the recipient part of the /path/to and you have a per-user feature.

- Use a dotfile in their own mailstore, and it becomes a user-alterable, 
per-user one...

Lots more ways ....

HTH,

Bill

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to