hey,
i am playing around with various configurations in several 'main.cf.*'
files, which i symlink to main.cf.
if i do
# ln -s ./main.cf.test ./main.cf
i get the warning
Oct 15 09:46:23 mail postfix/postfix-script[13603]: warning: symlink leaves
directory: /etc/postfix/./main.cf
if i do
# ln -s mail.cf.test ./main.cf
everything seems to be fine. but since i don't like warnings and i like my
'./' in front of filenames, i dared to investigate, and looking at
'/etc/postfix/postfix-script' i see:
find $todo -type l | while read f; do \
readlink "$f" | grep -q / && $WARN symlink leaves directory: "$f"; \
done; \
maybe an additional
sed 's/^.\///'
would do the trick?
in general: maybe a more sophisticated check against '$config_directory'
would be more appropriate?
on the other hand: it's just a warning...
greetings...