I have a testing server on which i fool around and test things.

I had to completely remove postfix from my server to reinstall it using other settings. Here’s how i did it :

apt-get –purge remove postfix

This will completely whipe out postfix from your server along with it’s dependencies.

I’ve been looking over for this for a long time. Hope it helps you too.