Re: [exim] problem in system_aliases router

Góra strony
Delete this message
Reply to this message
Autor: Toralf Lund
Data:  
Dla: exim-users
Temat: Re: [exim] problem in system_aliases router
Philip Hazel wrote:

>On Wed, 26 Jan 2005, Toralf Lund wrote:
>
>
>
>>I don't think that's it, either. I have now changed the account setup,
>>and I can 'su' to exim and cat the file, but the error still occurs.
>>
>>
>
>Guessing what's going on can take a long time. Run a test with debugging
>turned on, as I previously suggested.
>
>

OK. I now have; I started exim at an alternative port and talked to it
using telnet (It was easier than I thought.)

Now, RCPT TO: failed just as I would expect, and the debug info contained:


13:07:54 135071 expanding: ${lookup{$local_part}lsearch{/etc/aliases}}
13:07:54 135071    result: :include:/usr/local/etc/mail.jokes
13:07:54 135071 expanded: :include:/usr/local/etc/mail.jokes
13:07:54 76363 LOG: MAIN PANIC DIE
13:07:54 76363   unable to set gid=4 or uid=998 (euid=93): 
system_aliases router (recipient is jokes...)
13:07:54 76363 SMTP>> 421 Unexpected failure, please try later


- that's for a slightly different address from the one mentioned
earlier, but one that's configured in the same manner.

This leads me to believe that Exim does try to execute under the ids
specified via "user" and "group", but somehow fails. I think the problem
goes away if I remove these settings, so I'm now trying to find out if
that has any undesired side effects. Comments?

- Toralf