in smtpserver, accept delivery to postmaster@<hostname>, and also postmaster@ addresses for domains that don't have a postmaster address configured.

This commit is contained in:
Mechiel Lukkien
2023-04-24 12:04:46 +02:00
parent 74dab5fc39
commit c1753b369d
8 changed files with 85 additions and 5 deletions

7
testdata/smtp/postmaster/domains.conf vendored Normal file
View File

@ -0,0 +1,7 @@
Domains:
mox.example: nil
Accounts:
mjl:
Domain: mox.example
Destinations:
mjl@mox.example: nil

9
testdata/smtp/postmaster/mox.conf vendored Normal file
View File

@ -0,0 +1,9 @@
DataDir: data
User: 1000
LogLevel: trace
Hostname: host.mox.example
Postmaster:
Account: mjl
Mailbox: postmaster
Listeners:
local: nil