I successfully set up mail/opensmtpd in a jail running other web services. I set up mail/dkimproxy for mail signing and all, works like a charm.
Now, the issue I'm having is that all sent mail has headers like these:
or
I want to know if these fields can somehow display outgoing IP address/hostname instead of localhost/192.168.1.3?
Jails do not have defined public IP's, I sort this out by using PF to do NAT which is working great so far.
I tried setting FQDN as a hostname in jail's rc.conf as well as in hosts file but to no avail.
Any other way to triage this or or am I asking too much?
Thanks
Now, the issue I'm having is that all sent mail has headers like these:
Code:
Received: from domain.com (domain.com [192.168.1.3])
Code:
Received: from localhost (domain.com [local])
I want to know if these fields can somehow display outgoing IP address/hostname instead of localhost/192.168.1.3?
Jails do not have defined public IP's, I sort this out by using PF to do NAT which is working great so far.
I tried setting FQDN as a hostname in jail's rc.conf as well as in hosts file but to no avail.
Any other way to triage this or or am I asking too much?
Thanks