Skip to content

Instantly share code, notes, and snippets.

View dragonmantank's full-sized avatar

Chris Tankersley dragonmantank

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dragonmantank on github.
  • I am ctankersley (https://keybase.io/ctankersley) on keybase.
  • I have a public key whose fingerprint is 0FF8 1FD0 5ACE B73D 21AD 13DB F2FB E902 6BFE EABB

To claim this, I am signing this object:

@dragonmantank
dragonmantank / gist:8898fa1ae84ae344709f1954c609c44b
Last active August 6, 2018 13:47
Soveriegn postfix change
// roles/mailserver/templates/etc_postfix_pgsql-email2email.cf.j2
user = {{ mail_db_username }}
password = {{ mail_db_password }}
hosts = 127.0.0.1
dbname = {{ mail_db_database }}
query = SELECT email FROM virtual_users WHERE email='%s'
// Changed this line in roles/mailserver/templates/etc_postfix_main.cf.j2
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql-virtual-mailbox-maps.cf,pgsql:/etc/postfix/pgsql-email2email.cf
person_name=Ben Ramsey