Hello everyone,
This is a G5 Xserve running 10.4.5 server.
I'm getting a little frustrated here. I seem to be unable to change the HELO that the "echo 'foo' | mail -s 'subject' 'foo@example.com" command gives out. No matter what I change, it always uses "[username]@localhost.localhost". Does anyone have any idea where this is coming from?
I've tried changing the hostname with "hostname -s". I've tried replacing "-AUTOMATIC-" in /etc/hostconfig with the correct hostname. And, on top of that, I've tried putting the hostname in the "Sharing" control panel-- which is weird in itself; it always wants to append ".local" to the hostname.
If you type "hostname" on the command line, you get the correct (new) hostname, but when you run "mail -s", you still get "[username]@localhost.localhost". Where is this hostname coming from?
This mail is going to a Postfix box on the other end, which rejects this mail because the HELO is not a FQDN. I could disable the FQDN check for HELOs, but that would open up a flood of spam to our mailservers, and I want to avoid that.
Any ideas?
Thanks,
-b
This is a G5 Xserve running 10.4.5 server.
I'm getting a little frustrated here. I seem to be unable to change the HELO that the "echo 'foo' | mail -s 'subject' 'foo@example.com" command gives out. No matter what I change, it always uses "[username]@localhost.localhost". Does anyone have any idea where this is coming from?
I've tried changing the hostname with "hostname -s". I've tried replacing "-AUTOMATIC-" in /etc/hostconfig with the correct hostname. And, on top of that, I've tried putting the hostname in the "Sharing" control panel-- which is weird in itself; it always wants to append ".local" to the hostname.
If you type "hostname" on the command line, you get the correct (new) hostname, but when you run "mail -s", you still get "[username]@localhost.localhost". Where is this hostname coming from?
This mail is going to a Postfix box on the other end, which rejects this mail because the HELO is not a FQDN. I could disable the FQDN check for HELOs, but that would open up a flood of spam to our mailservers, and I want to avoid that.
Any ideas?
Thanks,
-b