Files
kumomta/docs/reference
Wez Furlong d385a1a684 logs: expand source_address to include proxy information
Change the field from a SocketAddr to a struct with distinct fields:

```json
    // For SMTP delivery, the source address (and port) that was used.
    // (*Since: Dev Builds Only*)
    "source_address": {
        // The source address. The port number may be unknown and reported
        // as zero when using a proxy protocol.
        "address": "10.0.0.1:53210",
        // If a proxy protocol was used, this field will be
        // set to its name. It may be null/not set for no proxy,
        // "haproxy" or "socks5".
        "protocol": "socks5",
        // If a proxy protocol was used, this field will be
        // set to the proxy server address. It will be null/not set
        // when no proxy was used.
        "server": "192.168.1.1:5000"
    },
```

In #154, the request was to log configuration information here, but I
opted against this as there can be a number of different configuration
fields and the combinatorics for future changes make me uncomfortable
from a code maintainance perspective--it will already be heavy to
try to pass thu all of the existing config information, and as we
add more options in the future it will be awful not just to look at,
but also from a memory and storage overhead.

The approach taken here is to make a little struct that is flexible
enough to convey the desired information without it being too much of a
burden.

closes: #40
closes: #154
2024-07-12 09:22:46 -07:00
..
2024-07-09 15:09:09 +00:00
2024-06-10 09:30:17 -07:00
2023-08-11 21:44:40 -07:00
2024-06-10 09:30:17 -07:00
2023-05-09 15:28:01 +00:00
2024-06-10 09:30:17 -07:00
2024-06-10 09:30:17 -07:00
2024-06-21 17:20:04 -07:00
2024-07-09 16:50:48 -07:00
2023-02-25 10:50:58 -07:00
2023-08-03 19:05:50 +00:00
2024-01-05 15:15:11 -05:00