[erlang-questions] [ANN] Postfix-Erlang
Andre Nathan
andre@REDACTED
Fri Apr 1 16:04:46 CEST 2011
Hello
I'm pleased to announce the Postfix-Erlang project. It adds a new
"erlang" dictionary type to Postfix, allowing Erlang functions to be
called during Postfix's lookup table process.
https://github.com/andrenth/postfix-erlang
With Postfix-Erlang, you can store acess control information, address
rewriting maps and everything else that you can do with Postfix's
traditional lookup tables in an Erlang application, using, for example,
Mnesia or DETS to keep this data.
Configuration is pretty simple. In the Postfix side, you just have to
specify the node information and which function should be called:
nodes = mynode@REDACTED, mynode@REDACTED
cookie = chocolate
module = alias_db
function = get_aliases
The function will receive the query key from Postfix as a bitstring, and
it should return {ok, ListOfBitstrings} or not_found.
More details can be found at the project home page on GitHub.
Thanks,
Andre
More information about the erlang-questions
mailing list