frikandel/email: make sure emails reach the right catch-all
This commit is contained in:
parent
ddeed05da6
commit
091767fbae
|
@ -207,7 +207,7 @@ in {
|
||||||
# replace rcpt to catchall and deliver it there
|
# replace rcpt to catchall and deliver it there
|
||||||
destination $(local_domains) {
|
destination $(local_domains) {
|
||||||
modify {
|
modify {
|
||||||
replace_rcpt regexp ".*" "mail@$(primary_domain)"
|
replace_rcpt regexp "(.+)@(.+)" "mail@$2"
|
||||||
}
|
}
|
||||||
deliver_to &local_mailboxes
|
deliver_to &local_mailboxes
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue