Hey Peeps - sorry if this has already been asked or dealt with, i couldn’t find anything related.
Is it possible to append the details of the ip that finally sent the message to the final message headers, for example a custom header we use internally here to identify stuff?
I know there’s other ways to do this, so apologies, i just don’t understand how we can hook into the process at the point between ip being selected, and the message being sent.
"egress_pool": "pool0",
// The name of the selected egress source (a member of the egress pool)
// used for the delivery
"egress_source": "source2",
// For SMTP delivery, the source address (and port) that was used.
// (*Since: Version 2024.09.02-c5476b89*)
"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"
},
But if that is NAT mapped you’ll have to figure out the rest. I have external IP awareness on the roadmap but it hasn’t had a sponsor yet.
Mike thanks, im an idiot. I have a related question, we also wonder if the return-path address can be adjusted at the point of send also. So we handle return-paths traditionally like useridentifier@mailx.domain.com
If you look at orgs like Sendgrid and whatnot it’s typical that the EHLO hostname reflects the ESP, and the return path and friendly from reflect the tenant.