On Wed, Jun 24, 2009 at 07:20:00PM +0100, EASY
[email protected] 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.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.