Re: [exim] Spool collecting but not sending

Etusivu
Poista viesti
Vastaa
Lähettäjä: Martin Hepworth
Päiväys:  
Vastaanottaja: Frank DeChellis
Kopio: exim-users, Phil Pennock
Aihe: Re: [exim] Spool collecting but not sending
2010/1/2 Frank DeChellis <frankd@???>

>
>
>
> On 1/1/10 11:27 PM, "Phil Pennock" <exim-users@???> wrote:
>
> > On 2010-01-01 at 22:36 -0500, Frank DeChellis DSL wrote:
> >> The second exim is started using:
> >>
> >> /usr/pkg/sbin/exim -bd -q15m -C /usr/pkg/etc/exim2/configure
> >
> > Hrm. I'm a bit slow mentally today (lurgy) so can't concentrate to look
> > in-depth, but the queue-runner stuff uses child_exec_exim() to start a
> > new process and that function takes care to preserve the -C option.
> >
> > As a work-around, you could use cron to start queue-runners manually,
> > but it would be helpful if you could start Exim with debugging and, say,
> > a 1m queue-runner interval and look to see what happens?
> >
> > -Phil, signing off for the day
>
> Thanks for the tip. So I ran it in debug, it starts the queue-runner every
> minute with no error messages. And the messages remain in the queue until
> I
> run a manual -qff to send the messages.
>
> Is there a setting that tells queue-runner where the queue is? I ask
> because thereis one message in the log below that says "privilege lost for
> -C" .
>
> Thanks
>
> trusted user
> admin user
> seeking password data for user "root": cache not available
> getpwnam() succeeded uid=0 gid=0
> seeking password data for user "nobody": cache not available
> getpwnam() succeeded uid=32767 gid=39
> seeking password data for user "nobody": using cached result
> getpwnam() succeeded uid=32767 gid=39
> originator: uid=0 gid=0 login=root name="Charlie Root,,,"
> 2928 listening on 69.49.32.33 port 999
> 2928 pid written to /var/run/exim.pid
> 2928 changed uid/gid: running as a daemon
> 2928 uid=15633 gid=1003 pid=2928
> 2928 auxiliary group list: 1003 6
> 2928 LOG: MAIN
> 2928 exim 4.67 daemon started: pid=2928, -q1m, listening for SMTP on
> [69.49.3 2.33]:999
> 2928 set_process_info: 2928 daemon: -q1m, listening for SMTP on
> [69.49.32.33]: 999
> 2928 daemon running with uid=15633 gid=1003 euid=15633 egid=1003
> 2928 SIGALRM received
> 2928 1 queue-runner process running
> 2929 Starting queue-runner: pid 2929
> 2928 Listening...
> 2929 exec /usr/pkg/sbin/exim -C /usr/pkg/etc/exim2/configure -q
> 2010-01-02 07:58:34 exim user (uid=15633) is defined only at runtime;
> privilege lost for -C
> 2010-01-02 07:58:34 Start queue run: pid=2929
> 2010-01-02 07:58:34 End queue run: pid=2929
> 2928 child 2929 ended: status=0x0
> 2928 0 queue-runner processes now running
> 2928 Listening...
> 771 exec /usr/pkg/sbin/exim -C /usr/pkg/etc/exim2/configure -q
> 2010-01-02 07:53:57 exim user (uid=15633) is defined only at runtime;
> privilege lost for -C
> 2010-01-02 07:53:57 Start queue run: pid=771
> 2010-01-02 07:53:57 End queue run: pid=771
> 21042 child 771 ended: status=0x0
> 21042 0 queue-runner processes now running
> 21042 Listening...
> 21042 SIGALRM received
> 21042 1 queue-runner process running
> 1246 Starting queue-runner: pid 1246
> 21042 Listening
>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>


Frank

you checked things like the exim user being able to read/write the queue
files/dirs?


--
Martin Hepworth
Oxford, UK