Re: [exim] acl dnslists in external file doesn't work?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Wakko Warner
Ημερομηνία:  
Προς: Heiko Schlittermann
Υ/ο: exim-users
Αντικείμενο: Re: [exim] acl dnslists in external file doesn't work?
Heiko Schlittermann wrote:
>     acl_check_mail:

>
>         ...

>
>         deny    message = blacklisted
>                 dnslists = dynablock.njabl.org

>
>
> works, but
>
>         deny    message = blacklisted
>                 dnslists = /etc/exim/dns.blacklist

>
> with dns.blacklist containing exactly one(!) line 'dynablock.njabl.org'
> doesn't work.
>
> My own stupidity, or bug, or feature?
> (exim 4.51)


Right from Spec 39.20:
dnslists = <list of domain names and other data>

Thus, /etc/exim/dns.blacklist is not a domain name.

You might try using ${readfile (I think that's the name of it)

--
Lab tests show that use of micro$oft causes cancer in lab animals