Re: [exim] Exim4 & QueryProgram

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Marco
CC: exim-users, dot
題目: Re: [exim] Exim4 & QueryProgram
On Wed, 30 Nov 2005, Marco wrote:

> Why with:
> exim4 -oMr spam-scanned -d -bt root@??? Exim4 work correctly:


Exim is running as root when it runs the routers.

> and with: exim4 -bh IP Exim4 don't work:


Exim is running as "exim" when it runs the routers. This, I suspect, is
the difference.

> --------> maildir_overquota2 router <--------
> local_part=root domain=domain.it
> calling maildir_overquota2 router
> maildir_overquota2 router called for root@???: domain = domain.it
> uid=8 gid=8 current_directory=/

^^^^^^^^^^^
This is misleading debug output. It is giving the values specified for
the router, but in this case they will not actually be set, because Exim
is not running as root. I have made a note to improve this if I can.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book