Change Hostname

Discussion in 'Installation/Configuration' started by ashkev, Feb 22, 2007.

  1. ashkev

    ashkev New Member

    I am running the VMTN of the ISP Config running on Debian. Everything is functioning, but the system is still named server1.example.com. I would like it to be mail.cass.lib.mi.us. Where do I need to change this?

    My outgoing mail is being rejected because:

    the host gateway-a.comcast.net[204.127.225.26] said:
    521-EHLO/HELO from sender 216.120.184.194 does not map to
    server1.example.com in DNS 521-sending machine name must be provided as a
    fully 521-qualified domain via EHLO/HELO command. 521-see section 4.1.1.1
    and 4.1.4 of RFC 2821 521 521: Please see
    http://www.comcast.net/help/faq/index.jsp?faq=SecurityMail_Policy18784 for
    more information.

    Thank You for your help.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Modify /etc/hosts, then run
    Code:
    echo mail.cass.lib.mi.us > /etc/hostname
    and reboot the server.
    Afterwards, check your hostname by running
    Code:
    hostname
    hostname -f
     

Share This Page