Skip to content

Instantly share code, notes, and snippets.

View shardiwal's full-sized avatar

Rakesh Kumar Shardiwal shardiwal

  • Fagbokforlaget V&B AS
  • Gurgaon, Haryana
View GitHub Profile
@shardiwal
shardiwal / postconf_diff.sh
Created November 4, 2011 13:00 — forked from robinsmidsrod/postconf_diff.sh
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 '^+++'