On Wed, Jun 24, 2009 at 08:29:42PM +0100, Steve wrote:

> > > 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. 

Some people will set the link to point to "../.." which makes it "work"
even from outside the jail, but there is not much point.

Another thing to consider is whether you really need the milter in both
contexts. It sounds like you also have a content filter, and mail is
subjected to milters on both sides of the content filter, it is not
clear this is what you need, though there are plausible use cases for
doing this.

-- 
        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:majord...@postfix.org?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.

Reply via email to