Hard codes groups for now; they need to be migrated to a userdb data source.
Had to hardcode the userdb IP.... dns lookups are failing with:
Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: connect to pgsql server postgresql://mail:userdb-mail-lookup@userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com:25060/userdb?sslmode=require: could not translate host name "userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com" to address: System error? Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: pgsql:/etc/postfix/userdb-aliases.cf lookup error for "team@hashbang.sh" Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: NOQUEUE: reject: RCPT from unknown[123.123.123.123]: 451 4.3.0 <team@hashbang.sh>: Temporary lookup failure; from=<test@test.com> to=<team@hashbang.sh> proto=SMTP helo=<hashbang.sh>
Tested and seems to work... aside from antispam...
Jun 5 05:58:07 mail-966b75b74-m5527 postfix/smtp[158]: 8AF4A34: host aspmx.l.google.com[173.194.69.26] said: 421-4.7.0 [161.35.77.52 15] Our system has detected that this message is 421-4.7.0 suspicious due to the very low reputation of the sending IP address. 421-4.7.0 To protect our users from spam, mail sent from your IP address has 421-4.7.0 been temporarily rate limited. Please visit 421 4.7.0 https://support.google.com/mail/answer/188131 for more information. w16si2893908ejn.715 - gsmtp (in reply to end of DATA command)