[EXIM] Using '+allow_unknown'

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Horne
Datum:  
To: Exim Users List
Betreff: [EXIM] Using '+allow_unknown'
On 28-May-99 at 08:59:59 Philip Hazel wrote:
>>
>>  host_reject_recipients = "! TABLES/banned/networks-allow : \
>>                            ! partial0-lsearch;TABLES/banned/hosts-allow : \
>>                            +allow_unknown : \  
>>                            partial0-lsearch;TABLES/banned/hosts : \
>>                            cdb;TABLES/banned/spam/reject_hosts.cdb : \
>>                            TABLES/banned/networks"

>
>> It seems, however, that unless the '+allow_unknown' is at the top of the
>> list or before a file lookup entry then it, in effect, gets ignored.
>
> It applies only to those items in the list which follow it, as
> documented.
>

Agreed. But if a site is not listed in one of the first two entries then I
would expect it to hit the +allow_unknown and exim accept the site (i.e. from
the policy checking flow charts on manual pages 202/203, the HRR flag would
not be set). This doesn't seem to happen. The site is rejected. If I move the
+allow_unknown to the top then its okay. If I move it above the
'partial0-lsearch;TABLES/banned/hosts-allow' then its okay. But if I leave it
where it is - after the lsearch lookup - it fails. It seems a lookup causes
the flag to be set somehow (or at least that's the effect).

John.

--------------------------------------------------------------------------
John Horne, University of Plymouth, UK             Tel: +44 (0)1752 233914
E-mail: jhorne@???                      ICQ: 36532881
Home page: http://jhorne.csd.plymouth.ac.uk
Finger for PGP key: john@???


--
*** Exim information can be found at http://www.exim.org/ ***