I recently installed postfix but I did something wrong. And so I removed it with sudo apt-get remove postfix and removed the /etc/postfix folder.

But now I want to install it again but I don't get the installer prompts where I can choose Internet Site and other options. How can I solve this?

1 Answer 1


That's because there are still some files in place and dpkg considers the package to be configured.

There are two possible routes you can take to solve this:

  1. Now that the package is installed, purge it. Run sudo apt-get purge postfix, then re-install and the config dialog should come up.
  2. Run dpkg-reconfigure postfix
  • 1
    Thx, that fixed it!
    – tom
    Sep 5, 2010 at 12:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .