install the postgresql, postgresql-client, postgresql-dev packages along with the php4-pgsql package so that mailadmin and any other programs that need PostgreSQL support have it available. Make sure to edit /etc/pg_hba.conf to allow local access and not use the ident authentication since it is for the most part useless. (put notes here on actual changes to make)