Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to setup spam filtering on Ubuntu server with postfix and dovecot already running. I issued the following command

sudo postconf -e 'content_filter = smtp-amavis:[]:10024'

Now I want to know how can I undo this command ?

share|improve this question
up vote 2 down vote accepted

If you execute postconf -d 'content_filter you could see default value for content_filter in postfix configuration file and from there you could again set that value with postconf -e command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.