mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-08-06 12:38:19 +02:00
Add mail forwarding for anonaddy
This commit is contained in:
parent
a6c8eee541
commit
6494b2afd7
1 changed files with 19 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
config = ''
|
config = ''
|
||||||
$(relay_domains) = kevink.dev 1in9.net 1in1.net
|
$(relay_domains) = kevink.dev 1in9.net 1in1.net
|
||||||
|
$(anon_domains) = anon.1in1.net
|
||||||
|
|
||||||
auth.pass_table local_authdb {
|
auth.pass_table local_authdb {
|
||||||
table sql_table {
|
table sql_table {
|
||||||
|
@ -110,6 +110,9 @@
|
||||||
destination $(relay_domains) {
|
destination $(relay_domains) {
|
||||||
deliver_to &relay_queue
|
deliver_to &relay_queue
|
||||||
}
|
}
|
||||||
|
destination $(anon_domains) {
|
||||||
|
deliver_to &anon_delivery
|
||||||
|
}
|
||||||
default_destination {
|
default_destination {
|
||||||
reject 550 5.1.1 "We do not relay for this domain"
|
reject 550 5.1.1 "We do not relay for this domain"
|
||||||
}
|
}
|
||||||
|
@ -218,6 +221,17 @@
|
||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
target.smtp anon_delivery {
|
||||||
|
debug no
|
||||||
|
attempt_starttls yes
|
||||||
|
require_tls no
|
||||||
|
auth off
|
||||||
|
targets tcp://172.111.222.100:25 # AnonAddy Docker Container
|
||||||
|
connect_timeout 5m
|
||||||
|
command_timeout 5m
|
||||||
|
submission_timeout 12m
|
||||||
|
}
|
||||||
|
|
||||||
target.smtp relay_delivery {
|
target.smtp relay_delivery {
|
||||||
debug no
|
debug no
|
||||||
attempt_starttls yes
|
attempt_starttls yes
|
||||||
|
@ -245,6 +259,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
imap tcp://0.0.0.0:143 {
|
imap tcp://0.0.0.0:143 {
|
||||||
auth &local_authdb
|
auth &local_authdb
|
||||||
storage &local_mailboxes
|
storage &local_mailboxes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue