Can't get check for Amavis to work

Hello,

if this is really copy/pasted then there is something wrong with the “header”.

Look at the plugin again.

if [ -x /usr/sbin/amavisd-agent ]; then
  echo '<<<amavis>>>'    <----
  echo '[ps]'
  /bin/ps ax | /bin/grep '[a]mavisd'
  echo '[agent]'
  waitmax 5 /usr/sbin/amavisd-agent -c 1 | grep -v ^$
fi

It should output

<<<amavis>>>

not

<<>>

br