Skip to content

No script required for Exim #14

@mikecardwell

Description

@mikecardwell

Thought you might be interested. The following Exim macro+router allows me to route to systems with _onion-mx srv records without having to use an external script:

ONIONMX = ${map{\
  ${filter\
    {${lookup dnsdb{srv=_onion-mx._tcp.$domain}}}\
    {match{$item}{ 25 \\S+}}\
  }\
}{\
  ${sg{$item}{.+ }{}}\
}}

onionmx:
  driver     = manualroute
  transport  = remote_smtp
  route_data = ONIONMX

Of course, it relies on the system that it is running on to be set up with transparent Tor routing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions