To uninstall amavisd-new just follow these instructions.
/debian/stretch/main///install/index.html Interface between MTA and virus scanner/content filters Debian 9.0 mail 1:2.10.1-4
sudo apt-get remove amavisd-new
Which will remove just the amavisd-new package itself.
sudo apt-get remove --auto-remove amavisd-new
This will remove the amavisd-new package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for amavisd-new then this will work.
sudo apt-get purge amavisd-new
Or similarly, like this amavisd-new
sudo apt-get purge --auto-remove amavisd-new
|Description||Interface between MTA and virus scanner/content filters|