How to uninstall dbmail-pgsql from Ubuntu
To uninstall just dbmail-pgsql package itself from Ubuntu execute on terminal:
sudo apt-get remove dbmail-pgsql
Uninstall dbmail-pgsql and it's dependent packages
To uninstall the dbmail-pgsql package and any other dependant package which are no longer needed on Ubuntu.
sudo apt-get autoremove dbmail-pgsql
If you also want to delete configuration and/or data files of dbmail-pgsql from Ubuntu then this will work:
sudo apt-get purge dbmail-pgsql
To delete configuration and/or data files of dbmail-pgsql and it's dependencies from Ubuntu then execute:
sudo apt-get autoremove --purge dbmail-pgsql
dbmail-pgsql package information
PostgreSQL module for Dbmail
This package provides a module for adding PostgreSQL database support to DBMAIL. DBMAIL is a collection of programs that enables email to be stored in and retrieved from an sql database.