Re: [Exim] Questions about the .forwardfile and Exim filters…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Warren Vanichuk
CC: exim-users
Sujet: Re: [Exim] Questions about the .forwardfile and Exim filters.
On Wed, 18 Aug 1999, Warren Vanichuk wrote:

> *DoH* Stupid user tricks.. :/ I've deleted the 'once' file and ran the
> deliver again with the -d9, and this time it actually shows the auto_reply
> being deferred. :)


... and the reason for deferral is ...

> LOG: 0 PANIC
> Failed to get user name for uid 726241

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


> virtual_forward:
>    driver = forwardfile
>    file_transport = address_file
>    pipe_transport = address_pipe
>    reply_transport = address_reply
>    check_ancestor   
>    filter
>    check_local_user = false
>    current_directory = ${lookup{$local_part@$domain:homedir}dbm{/services/mail/exim/etc/magicmail.db}{$value}}
>    user = ${lookup{$local_part@$domain:uid}dbm{/services/mail/exim/etc/magicmail.db}{$value}{exim}}
>    group = ${lookup{$local_part@$domain:gid}dbm{/services/mail/exim/etc/magicmail.db}{$value}{exim}}
>    file = ${lookup{$local_part@$domain:homedir}dbm{/services/mail/exim/etc/magicmail.db}{$value}}/.forward


I suggest you insert

debug_print = ***UID=${lookup{$local_part@$domain:uid}dbm{/services/mail/exim/etc/magicmail.db}{$value}{exim}}

into that director and then run again with -d1. This will cause it to
print out the value of that lookup, which seems to be the problem.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.