trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

email sourced from localhost is seen as external, unless I force it #175

Open MrPeteH opened 1 year ago

MrPeteH commented 1 year ago

Perhaps I am missing something obvious. I've set up the InternalHosts file with IPV4 CIDR addresses, including 127.0.0.1/8 Yet when I generate outgoing email via a VPN to the server,... which shows up as email from "localhost", opendkim complains that it is from the external host localhost!

A workaround: add the word "localhost" to the internal hosts file. But I don't want to do that for every local endpoint etc!

What's going on here?