mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
implement a catchall address for a domain
by specifying a "destination" in an account that is just "@" followed by the domain, e.g. "@example.org". messages are only delivered to the catchall address when no regular destination matches (taking the per-domain catchall-separator and case-sensisitivity into account). for issue #18
This commit is contained in:
12
testdata/smtp/catchall/domains.conf
vendored
Normal file
12
testdata/smtp/catchall/domains.conf
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
Domains:
|
||||
mox.example:
|
||||
LocalpartCatchallSeparator: +
|
||||
Accounts:
|
||||
mjl:
|
||||
Domain: mox.example
|
||||
Destinations:
|
||||
mjl@mox.example: nil
|
||||
catchall:
|
||||
Domain: mox.example
|
||||
Destinations:
|
||||
@mox.example: nil
|
9
testdata/smtp/catchall/mox.conf
vendored
Normal file
9
testdata/smtp/catchall/mox.conf
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
DataDir: data
|
||||
User: 1000
|
||||
LogLevel: trace
|
||||
Hostname: mox.example
|
||||
Postmaster:
|
||||
Account: mjl
|
||||
Mailbox: postmaster
|
||||
Listeners:
|
||||
local: nil
|
Reference in New Issue
Block a user