Skip to content

table chaining optional identity step #539

Answered by foxcpp
shokohsc asked this question in Q&A
Discussion options

You must be logged in to vote

There is destination_in directive that storage.imapsql (e.g. local_mailboxes) can
be used with, however you will need to make sure any aliases, etc. are
applied before it, e.g. something like that would work:

modify {
    replace_rcpt &local_rewrites
}

destination_in &local_mailboxes {
    deliver_to &local_mailboxes
}

destination postmaster $(local_domains) {
    modify { replace_rcpt regexp ".*" "catchall@$(primary_domain)" }
    deliver_to &local_mailboxes
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shokohsc
Comment options

Answer selected by shokohsc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants