On Wed, 2009-06-24 at 14:58 -0400, Victor Duchovni wrote:
> On Wed, Jun 24, 2009 at 07:20:00PM +0100, EASY 
> steve.h...@digitalcertainty.co.uk wrote:
> 
> > > It looks like some of your smtpd(8) master.cf entries are chrooted and
> > > others are not. You should use the unchrooted pathname in both cases,
> > > and make a symlink:
> > > 
> > >   /home/mail/email/home/mail/email -> /
> > > 
> > > so that the same pathname works in both cases.
> > > 
> > That sounds plausible enough to me. I'm sure I read that symlinks and
> > chrooting was carnage - but I'm willing to give anything a go. It's not
> > going to bring down the space station :-)
> > 
> > My only confusion is where do I put the symlink. To make matters a
> > struggle for me I'm dyslexic so please forgive me a little as I'm
> > struggling to follow this: /home/mail/email/home/mail/email - I see the
> > same things twice and this locks me up a bit.
> 
> Exactly as written, the symlink is /home/mail/email/home/mail/email and
> it points to "/".
> 
>       # mkdir -p /home/mail/email/home/mail
>       # ln -s /  /home/mail/email/home/mail/email
> 
> in the chroot jail, this results in /home/mail/email/private/foo being
> the same as /private/foo.
> 
Thank you Viktor. After typing it out I finally *got* it. It's about
what it looks like resolving from inside the jail. The fix works just
fine. I no longer get any issues connecting to it and mail flow works.

I can't thank you enough Sir. Sincerely - my most grateful thanks to you
for taking your time to help me with something trivial. 

Steve

Reply via email to