Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created November 4, 2011 12:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save robinsmidsrod/1339247 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/1339247 to your computer and use it in GitHub Desktop.
Show Postfix configuration variables different from default
#!/bin/bash
postconf -d >/root/postfix.defaults
postconf >/root/postfix.conf
diff -u /root/postfix.defaults /root/postfix.conf | grep -v '^ '|grep -v '^@' |grep -v '^---' | grep -v '^+++'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment