Anthony Campbell:
>
> I am running postfix via the Debian package in Sid.
>
> I get the following message during installation or with postfix check:
>
> postfix/usr/lib/postfix/post-install: line 493: test: too many arguments
> /usr/lib/postfix/post-install: line 493: test: too many arguments
> /usr/lib/postfix/post-install: line 493: test: too many arguments
> /usr/lib/postfix/post-install: line 493: test: too many arguments
>
> But postfix still runs normally.
>
> I commented out the following lines in /usr/lib/postfix/post-install
> which seem to refer to Solaris:
>
> # Flag obsolete objects. XXX Solaris 2..9 does not have "test -e".
> if [ -n "$obsolete_flag" ]
> then
> test -r $path -a "$type" != "d" && obsolete="$obsolete $path"
> continue;
> else
> keep_list="$keep_list $path"
> fi
>
> This removes the error and there don't seem to be any adverse effects
> so far. Can anyone shed light on this please?
You probably have garbage at the end of /etc/postfix/postfix-files.
Delete any empty line, ^Z characters or other junk.
Wietse