Commit Diff


commit - 901f37eab4617b0686fd075703e73415617df65c
commit + a15802b2eec7c07293e60b2465cc2c3d644ad1a2
blob - f255043b41098c229b20b394ceefb280623f7971
blob + 70b2f44fb091d923182d85b4d2e195898be8bc83
--- smtpd.conf
+++ smtpd.conf
@@ -7,15 +7,17 @@ table localaliases file:/etc/mail/aliases
 listen on socket
 listen on lo0
 
+action "local_mail" mbox alias <localaliases>
+match from local for local action "local_mail"
+
 pki mail.srcbeat.com cert "/etc/ssl/mail.srcbeat.com.fullchain.pem"
 pki mail.srcbeat.com key "/etc/ssl/private/mail.srcbeat.com.key"
 listen on egress tls pki mail.srcbeat.com
 listen on egress smtps pki mail.srcbeat.com auth <accounts>
 
-action "local_mail" mbox alias <localaliases>
 action "deliver" maildir "/mail/box/%{dest.domain}/%{dest.user}/Maildir" virtual <aliases>
-
 match from any for domain <domains> action deliver
-# match auth from any for any action { relay }
 
-match from local for local action "local_mail"
+table postmark file:/mail/lib/postmark
+action "outbound" relay host smtp+tls://srcbeat@smtp.postmarkapp.com:587 auth <postmark>
+match auth from any for any action "outbound"