On Sat, Dec 19, 2009 at 08:57:59AM +0000, Anthony Campbell wrote:
> > Try:
> >
> > test -r "$path"
> >
> > instead of:
> >
> > test -r $path
> >
> > does that fix it? If it does, please respond, and attach a compressed
> > copy of your postfix-files file. Make sure you are using the right
> > postfix-files, with recent releases this is no longer in /etc/postfix,
> > look in /usr/lib/postfix/ ($daemon_directory) first.
> >
Which copy of post-install did you modify? You may have 2, one in
/etc/postfix and another in /usr/lib/postfix, the latter would be the
right one for 2.6. The code in question is not Solaris specific, rather
"-r" is used instead of "-e" because Solaris lacks "-e" support.
> No difference. I attach two copies of postfix-files; (1) is from
> /etc/postfix, (2) is from /usr/lib/postfix.
>
> Incidentally, I have the same setup on another computer and on that the
> error does not appear. I compared the files in the two and couldn't see
> any difference. I also purged postfix completely on this machine and
> then reinstalled it; still got the error.
Perhaps your shell's "test" built-in command is broken on the system in
question. Add "set -x" just above the test, to see what command is
actually executed.
add-> set -x
test -r ...
add-> set +x
--
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.