Nico Erfurth wrote:
>On Sun, 9 Feb 2003, Malte Geierhos wrote:
>
>
>>217.203.67.x ok
>>
>>hm using this as hostlist:
>>hostlist relay_from_hosts = 127.0.0.1 :
>>${lookup{$sender_host_address}dbmnz{/etc/exim/popauth.db}}
>>
>>
>
>Using
>hostlist relay_from_hosts = 127.0.0.1 : dbmnz;/etc/exim/popauth.db
>
>should be enough, or modify your lookup too
>
>${lookup{$sender_host_address}dbmnz{/etc/exim/popauth.db}{$sender_host_address}}
>
>But the first one should be fine :)
>
>Nico
>
>
hm thanks, but after i tried that i get :
search_find: file="/etc/exim/popauth.db"
21:33:16 25563 key="217.3.72.125" partial=-1 affix=NULL starflags=0
21:33:16 25563 LRU list:
21:33:16 25563 2/etc/exim/popauth.db
21:33:16 25563 End
21:33:16 25563 internal_search_find: file="/etc/exim/popauth.db"
21:33:16 25563 type=dbmnz key="217.3.72.125"
21:33:16 25563 file lookup required for 217.3.72.125
21:33:16 25563 in /etc/exim/popauth.db
21:33:16 25563 ---0 Get 135129336 8 string.c 408
21:33:16 25563 --Malloc 135175120 16 search.c 500 24600 5740
21:33:16 25563 --Malloc 135175144 16 search.c 505 24600 5756
21:33:16 25563 lookup yielded: ok
21:33:16 25563 ---0 Get 135129344 8 string.c 344
21:33:16 25563 ---0 Get 135129352 104 string.c 757
21:33:16 25563 ---0 Rst 135129365 ** expand.c 3636 24600
21:33:16 25563 ---0 Get 135129368 48 string.c 344
21:33:16 25563 LOG: MAIN PANIC
21:33:16 25563 failed to expand "127.0.0.1 :
${lookup{$sender_host_address}
dbmnz{/etc/exim/popauth.db}{$sender_host_address}" while checking a
list: syntax error in "lookup" item - "fail" expected
21:33:16 25563 host in "+relay_from_hosts"? lookup deferred for
+relay_from_hosts
21:33:16 25563 accept: condition test deferred
Now the simpler one :
hostlist relay_from_hosts = 127.0.0.1 : dbmnz;{/etc/exim/popauth.db}
...and :
search_find: file="/etc/exim/popauth.db"
21:37:05 25584 key="pd903487d.dip.t-dialin.net" partial=-1 affix=NULL
starflags=0
21:37:05 25584 LRU list:
21:37:05 25584 2/etc/exim/popauth.db
21:37:05 25584 End
21:37:05 25584 internal_search_find: file="/etc/exim/popauth.db"
21:37:05 25584 type=dbmnz key=">hostname>"
21:37:05 25584 file lookup required for >hostname>
21:37:05 25584 in /etc/exim/popauth.db
21:37:05 25584 --Malloc 135175104 27 search.c 500 24600 5751
21:37:05 25584 lookup failed
21:37:05 25584 host in "127.0.0.1 : dbmnz;/etc/exim/popauth.db"? no (end
of list)
21:37:05 25584 host in "+relay_from_hosts"? no (end of list)
21:37:05 25584 accept: condition test failed
21:37:05 25584 processing "accept"
21:37:05 25584 check authenticated = *
so that was were i was already. hm, any other idea ?
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>
>