On Mon, Feb 23, 2009 at 01:02:54AM +1300, Space Ship Traveller wrote:
> Hi,
>
> # exim4 -bP +local_domains
> domainlist local_domains = localhost : mysql;MYSQL_Q_LDOMAIN;
>
> Should this have executed the query?
>
> I was kinda expecting to see a list of domains.
-bP shows the definition (as you saw). In general there's no way to see the
complete list of domains in a domain list, because of pattern matching etc.
However you can use something like:
exim -be '${if match_domain{a.given.domain}{+some_list}}'
to see whether or not a.given.domain matches +some_list.
--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey