Commit graph

2 commits

Author SHA1 Message Date
fox.cpp
7efcd81887
modify: Implement replace_rcpt and replace_sender modules
Based on 'rewrite' directive design discussed in #18, but updated
to use new interfaces.

*Does not* close #18, that issue is for file-based mapping.
2019-09-20 21:13:07 +03:00
fox.cpp
25a40fe043
module, dispatcher: Implement message rewriting framework
Check.NewMessage is renamed to Check.CheckStateForMsg to allow
a single module to implement both Modifier and Check interfaces.

Due to various implementation details, body and MAIL FROM rewrites
are not applied on per-destination basis.

Closes #134.
2019-09-14 21:58:54 +03:00