[Gllug] sendmail and local users

Xander D Harkness xander at harkness.co.uk
Tue Jan 14 13:12:43 UTC 2003


> Hi,
>
> A box I help administer is in the process of changing hostname.  There are
> a
> dns entries for the oldname and the new name so both resolve correctly and
> the reverse lookup resolves to the new name.  The problem we have is with
> mail delivery.  When sending mail from the box (by invoking sendmail) the
> mail gets the old hostname appended to the username and we can't work out
> why.  Could someone suggest why it's not picking up the new hostname for
> this?
> hostname reports the new hostname and there is no reference to the old
> hostname in sendmail.cf that we can see.

sendmail grabs the hostname when it starts.  If sendmail has not been
restarted since the hostname has been changed then it will use the
hostname it had when it started.

Kind regards
Xander
>
> Cheers,
>
> Jon
>
> ________________________________Important Notice________________________
>
> This message has been checked for all known viruses by the Pasporte Virus
> Control Centre.
> ________________________________________________________________________
>
> --
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list