View Source SPF (mailibex v0.2.1)

Summary

Functions

Link to this function

apply_rule(rule, params)

View Source
Link to this function

check(sender, ip, param_list \\ [])

View Source

params:

  • sender: sender mail to check
  • ip: check authorization for this ip, ip in erlang format so ipv4:{1,1,1,1}, ipv6:{1,1,1,1,1,1,1,1}
  • param_list: optional kw parameters :helo and :server_domain, if :spf is given, then the :spf value is used for SPF instead of the sender domain TXT dns record

SPF.check("me@gmail.com",{217,0,3,4}, server_domain: "mta.example.com", helo: "yahoo.fr")

Link to this function

extract_prefix(domain_spec, family)

View Source
Link to this function

ip_in_network(addr, net_addr, bitprefix)

View Source
Link to this function

target_name(name, params)

View Source
Link to this function

target_name(arg1, params, acc)

View Source
Link to this function

target_name_macro(binary, arg2)

View Source
Link to this function

target_name_transfo(expanded, start_index, delimiters)

View Source
Link to this function

target_name_transfo(expanded, start_index, reversed?, delimiters)

View Source
Link to this function

term_match(arg1, params)

View Source