Re: [Exim] remote_smtp send problem unless comment out never…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kirill Miazine
Dátum:  
Címzett: Tsuyoshi Niwa
CC: exim-users
Tárgy: Re: [Exim] remote_smtp send problem unless comment out never_users=root
What does following command produce?

    $ exim -bP exim_user exim_group


Tsuyoshi Niwa wrote:
> Hi,
>
> I was using Exim-4.10 on Red Hat Linux 7.2 (kernel-2.4.7) just fine
> until I recompiled it.
> After recompiling, sending non-local email address is denied and the
> mainlog says
> "2003-07-09 22:15:18 19aQxe-0000xZ-00 == blah@??? R=dnslookup
> T=remote_smtp defer (-29): User 0 set for remote_smtp transport is on
> the never_users list"
>
> This can be easily worked around by commenting out "never_users =
> root", but I know that's a terrible solution.
>
> So, I went back to the source directory, checked Local/Makefile and see
> "EXIM_USER=exim"
> I thought this should be fine, so I tried compiling again by doing as
> follows.
> #/etc/rc.d/init.d/sendmail stop
> #cd /source-dir-of-exim/
> #make
> #make install
> #/etc/rc.d/init.d/sendmail start
>
> The service starts, but still, remote_smtp fails.


Some debugging info would be fine indeed.

    $ exim -d -M <message_id>


> I read on articles and posting about 'never_users' and tried to change
> the owner of the following files to a user 'exim'.
> /usr/exim/configure


Let the configuration file be owned by root, there is no reason for
changing the owner to the exim user.

> /var/spool/exim/*
>
> This didn't work either. Can you guys give me what I am missing? Thanks
> in advance.


What did not work? What did you expect to happen when changing the owner
of the above mentioned files?

--
Kirill Miazine
mailto:km@krot.org
http://km.krot.org/