update email, deploy-rs
This commit is contained in:
+18
-1
@@ -7,7 +7,7 @@
|
||||
ensureAccounts = [ "lilac@grasswren.net" ];
|
||||
ensureCredentials."lilac@grasswren.net".passwordFile = config.sops.secrets.mxpass.path;
|
||||
|
||||
secrets = [ config.sops.secrets.cftoken.path ];
|
||||
secrets = [ config.sops.secrets.cftoken.path config.sops.secrets.s2guser.path config.sops.secrets.s2gpass.path ];
|
||||
|
||||
tls = {
|
||||
loader = "acme";
|
||||
@@ -39,6 +39,13 @@
|
||||
dsn mailbox.db
|
||||
}
|
||||
|
||||
target.smtp relay {
|
||||
hostname $(hostname)
|
||||
starttls yes
|
||||
auth plain "{env:S2GUSER}" "{env:S2GPASS}"
|
||||
targets tcp://mail.smtp2go.com:587
|
||||
}
|
||||
|
||||
smtp tcp://0.0.0.0:25 {
|
||||
default_source {
|
||||
destination grasswren.net {
|
||||
@@ -53,6 +60,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
submission tls://0.0.0.0:587 {
|
||||
auth &local_authdb
|
||||
|
||||
default_source {
|
||||
default_destination {
|
||||
deliver_to &relay
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
imap tls://0.0.0.0:993 {
|
||||
auth &local_authdb
|
||||
storage &local_mailboxes
|
||||
|
||||
Reference in New Issue
Block a user