
    table aliases { test=mynicefake@gmail.com.invalid }
    table addresses { "test[-+]?[0-9]*@mydomain\.net" }
    table forwardedrecipients { mynicefake@gmail.com.invalid }

    pki "mydomain.net" cert "/etc/letsencrypt/live/mydomain.net/fullchain.pem"
    pki "mydomain.net" key "/etc/letsencrypt/live/mydomain.net/privkey.pem"

    srs key "Ku2PP9TZm3DtWS+fak7wQNu6mPiLpV6aRyuUF7uq"

    filter   "rdns" phase connect match   !rdns disconnect "550 DNS error"
    filter "fcrdns" phase connect match !fcrdns disconnect "550 DNS error"
    filter "rspamd" proc-exec "/usr/libexec/opensmtpd/filter-rspamd"

    listen on eth0 port 25 tls pki "mydomain.net" filter { "rdns", "fcrdns", "rspamd" }

    action "relay" relay srs
    action "aliasedrelay" forward-only virtual <aliases>

    match from any for rcpt-to regex <addresses> action "aliasedrelay"
    match from local for any action "relay"
