Ever since the last set of updates - I don't know whether it was the OS update or the Sendmail update I've been having problems with sendmail. Whenever I send a mail the from address is always
Unfortunately it is not quite a simple as that. All you are doing there is changing the host machine name. I should have been clearer. What I want is to have mail sent from
in the sendmail configuration should do this. At least it used to. If I were to use the line
define(`confDOMAIN_NAME', `$w.mydomain.com')
the name of the machine (from sharing preferences) would be inserted before mydomain.com. Or at least it used to. Now those lines seem to have no effect whatsoever.