On Wed, Sep 29, 2021 at 01:49:39AM +0200, "(lists) Denis BUCHER" 
<dbuche...@hsolutions.ch> wrote:

> Hello,
> 
> When creating /var/spool/postfix/hold as symlink to another folder I get the
> following error from Postfix :
> 
>  * "move to hold queue failed: No such file or directory"
> 
> ...even when doing "chmod 777" on the target directory.
> 
> Do you know if postfix is unable to work with "hold" as symlink or is there
> something that could be wrong ?
> 
> Thanks in advance a lot for any help or advise...
> 
> Denis

There's a good chance that the error came from a
chrooted process, and the symlink target is outside the
chroot location and so doesn't exist within the chroot
environment.

If you really have a problem that you think would be
solved by relocating the hold queue, you could mount
another file system over the hold queue directory.
That might work. But it might a bad idea. Not sure.

You could also stop chrooting the process that produced
the error message by changing its chroot value in
/etc/postfix/master.cf from "yes" to "no" (5th column).
But I personally think that's definitely a bad idea.

cheers,
raf

Reply via email to