xxxxxxxxxx
$ sudo apt-get purge --auto-remove postfix
purge --> Removes the package and its configuration files completely from the system--auto-remove --> Removes any additional packages that were installed as dependencies but are no longer required by the system after the removal of postfix