On Thu, Nov 30, 2006 at 10:00:03AM -0700, dreamwvr wrote:
> On Thu, Nov 30, 2006 at 04:40:12PM +0000, Ste Jones wrote:
> > On 11/30/06, dreamwvr <[EMAIL PROTECTED]> wrote:
> > >On Tue, Nov 28, 2006 at 04:38:28AM +0100, Alexander Hall wrote:
> > >> dreamwvr wrote:
> > >> >Hello,
> > >> >   if using imp port in chroot with mini_sendmail can you input?
> > >> >chroot  -u www /var/www echo test |mini_sendmail  -v -p25  <address>
> > >> >works just fine. However IMP is unable to really_send mails.
> > >>
> > >> You are only chrooting your "echo" here. Try something like
> > >>
> > >>  echo test | sudo chroot -u www /var/www mini_sendmail ...
> > >Yeah, duh brain fart. That would help yes. :) IMP in chroot
> > >definately is interesting. Still no sendmail from chrooted IMP.
> > >So there is something else IMP likes to see to exec mini_sendmail.
> > 
> > Did you copy sh in to the chroot?
> the piped echo with the chrooted mini_sendmail sends mail as expected
> without a chrooted /bin/sh 
> Thanks :)
> So it is something somewhere in IMP chroot
Thanks for all the excellent imput. So horde now aborts with a error of:
This since I am now getting postgresql errors of:
Nov 30 10:15:59 HORDE [emergency] [horde] DB Error: connect failed:  
[nativecode=Unable to connect to PostgreSQL server: could not connect to 
server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket 
&quot;/var/www/tmp/.s.PGSQL.5432&quot;?] ** Array [on line 1329 of 
"/crb/lib/Horde/DataTree/sql.php"]
Even though the socket is living there in dir:
/var/www/tmp
postgres is listening on socket
srwxrwxrwx  1 postgres  daemon   0 Nov 30 10:18 /var/www/tmp/.s.PGSQL.5432
-rw-------  1 postgres  daemon  27 Nov 30 10:18 /var/www/tmp/.s.PGSQL.5432.lock 
horde is not able to access somehow the socket even though definitely it 
is there. This works just fine outside the chroot. 
The horde configurator Database is set to /var/www/tmp and defaults to
this. So I changed it to /tmp where it thinks the sockets are.
Now logins are literally are to a crawl. So there appears to be something else.
Talk about fun!

Thanks,
[EMAIL PROTECTED]

Reply via email to