Thanks, that worked!! :)
Now to my next problem. When the condition is met it uses a transport that
pipes mails to a script:
mail:
driver = pipe
command = hivemail_process.php ${lc:$local_part}@$domain
current_directory = /home/
home_directory = /home/
user = nobody
group = nobody
return_output = true
My question is what should the command be. I have so far been using
|/home/zapmail/hivemail_process.php in the valiases file and its been
working great! What's is the correct setting for the transport version?
Thanks
:)
On 5/2/03 13.52, "William Thompson" <wt@???> wrote:
>> I have a list of user names such as:
>>
>> user1
>> user2
>> user3
>> Etc.
>>
>> I want to put a condition in a director that will only allow the director if
>> the user exists in this user list.
>>
>> Is this correct?
>>
>> condition = ${lookup{$local_part}lsearch* {/home/user_list.txt}{$value}}
>
> Looks close, but since that's a condition, It's looking for a true or false
> string. I don't think you'll need a * on the end of lsearch because if the
> $local_part isn't found, it'll search again for *.
>
> this should work:
> condition = ${lookup{$local_part}lsearch{/home/user_list.txt}{true}{false}}
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
>