Re: [exim] Removing the local_user Router

Pàgina inicial
Delete this message
Reply to this message
Autor: Bill Moseley
Data:  
A: exim-users
Assumpte: Re: [exim] Removing the local_user Router
On Sun, Nov 12, 2006 at 11:15:34PM +0000, Peter Bowyer wrote:
> The reason that router is set to no_verify is that it has a
> 'require_files' directive. Verification is run as the exim user (or
> whatever user exim is set to run as), and won't by default have access
> to your users' home directories and thus the .procmailrc files. So it
> won't work in verify mode.


Ah, of course. That makes sense.

>
> 2 thngs to do: take no_verify off that router, and then arrange for
> the exim user to have access to the files in question.


Don't want to do that.

> If that's not do-able, you might have to consider another way of
> triggering the deliverability of a local user, and stick a verify_only
> router in place of your local_user router which performs the test.


What about just having a separate file, say /etc/local_users that is
checked? Something like:

    local_user:
        driver = accept
        local_parts = lsearch;/etc/local_users
        check_local_user
        transport = LOCAL_DELIVERY





--
Bill Moseley
moseley@???