Quoting Mike Cardwell <[email protected]>: > Mike Cardwell wrote: > >> You want to use wildlsearch. Example: >> >> r...@haven:/etc/exim4# cat test >> \N^imta\-[0-9]{1,2}\.everyone\.net$\N Everyone.Net >> r...@haven:/etc/exim4# exim4 -be >> '${lookup{imta-1.everyone.net}wildlsearch{/etc/exim4/test}{$value}{}}' >> Everyone.Net >> r...@haven:/etc/exim4# exim4 -be >> '${lookup{imta-X.everyone.net}wildlsearch{/etc/exim4/test}{$value}{}}' >> >> r...@haven:/etc/exim4# > > You can probably just leave the skip_greet_grey_spam file as it is, and > do this: > > condition = > ${lookup{$sender_host_name}wildlsearch{/etc/exim/skip_greet_grey_spam}{yes}{no}}
Thanks. Works like a charm. I will have to remember wildlsearch. I would have found it eventually had I searched the docs for the generic lsearch. -- ## 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/
