1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

/var/qmail/control/me does not contain full host name

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by hgmichna, Dec 23, 2008.

  1. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    The host name of my server is india155.server4you.de, but the file /var/qmail/control/me contains only the incomplete name: india155

    This leads to certain other mail servers rejecting all my outgoing mail because of an improper HELO, because they sensibly check the name against DNS and IP address.

    Wrong: HELO india155
    Right: HELO india155.server4you.de

    I keep checking and correcting this since time immortal, but Plesk keeps replacing the file with the wrong one over several versions already. I thought that this is a too idiotic error to report, because everybody must stumble over this, but apparently ignorance has no limit.

    Just in case anybody wonders: Yes, I have put the full host name into the "Full hostname" field.

    Does anybody know a workaround short of creating a cron job that overwrites the file every couple of minutes?
     
  2. ZopfWare

    ZopfWare Regular Pleskian

    25
    57%
    Joined:
    May 30, 2004
    Messages:
    215
    Likes Received:
    0
    Have you thought about just editing the /var/qmail/control/me file and putting the whole name in there?
     
  3. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Read before you write.

    Read before you write.
     
  4. ZopfWare

    ZopfWare Regular Pleskian

    25
    57%
    Joined:
    May 30, 2004
    Messages:
    215
    Likes Received:
    0
    My apologies, I misread your post, thinking that you were continually changing it through the control panel. I have not seen this error on any of my servers.

    Have you tried checking with the hostname command?

    Additionally, what does your /etc/hosts file show?

    just some suggestions.... sometimes the hostname and /etc/hosts file get corrupted or contain some extraneous information.
     
  5. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    hosts looks a bit strange.

    Just tried, it yields the wrong, abbreviated name india155, rather than the correct, full name india155.server4you.de .

    hostname --fqdn yields the correct, full name though. That's after I corrected (I hope) the hosts file; didn't check before.

    Here's the complete content:

    ----- /etc/hosts begin -----
    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #
    127.0.0.1 localhost
    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback
    fe00::0 ipv6-localnet
    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    85.25.149.191 india155.server4you.de india155 india155.server4you.de
    ----- /etc/hosts end -----

    The last line looks odd to me, as if two lines have been pulled into one.

    Plesk appears to have a whole bunch of severe defects.

    Hans-Georg
     
  6. adamjimenez

    adamjimenez Basic Pleskian

    23
    57%
    Joined:
    Jul 19, 2006
    Messages:
    43
    Likes Received:
    0
    i had the same issue when i upgraded to plesk 9. gotta be a bug.
     
  7. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    I have this bug after upgrade, How can I solved this?
     
  8. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Edit /var/qmail/control/me

    I mentioned it already in the first message---edit the file /var/qmail/control/me and put the complete server host name there.

    The problem is that, in my case, it has happened several times already, apparently during every Plesk upgrade.

    It is conceivable that the short name is actually correct and the error lies elsewhere, but I cannot know. At least I got Qmail to run properly again by editing the me file.

    If anybody knows more about this, please chime in. I'm not a Linux expert, and I particularly don't know much about Qmail.

    Hans-Georg
     
  9. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I'd try changing that line in /etc/hosts to just this:

     
  10. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    hosts was essentially correct.

    Thanks! Done. Changed it to:

    85.25.149.191 india155.server4you.de india155

    However, that's essentially what it was, apart from a superfluous, but not harmful duplicate alias.

    My conclusion is that the hosts file was not the problem. The /var/qmail/control/me file was wrong and needed to be corrected, in fact needs to be corrected every time the defective Plesk clobbers it.

    My patience with Plesk has run out. Too many defects to be acceptable. I'm sticking to this terrible product only because I know no better alternative.

    Hans-Georg
     
  11. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I guess the duplicate entry should be harmless, but maybe it was a problem for Plesk anyway. I don't know if it'll fix your problem, but at least it shouldn't hurt to remove the duplicate hostname entry.
     
  12. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Problem for Plesk? Problem created by Plesk.

    Have done that already. But "maybe it was a problem for Plesk" sounds very funny in my ears. It was a problem caused by Plesk, and my best guess is that Plesk will clobber the hosts file again when it is next upgraded, just as it keeps clobbering the /var/qmail/control/me file.
     
  13. faris

    faris Guest

    0
     
    No, I think breun meant that because the hosts file was a little odd, Plesk might have choked on it (or rather on the output of the hostname command).

    At some point in the dim and distant past it might have been Plesk that screwed up the hosts file in the first place, but I suspect that now you have it fixed all will (hopefully) be well on that front. We've upgraded an untold number of times on several systems and have never seen this particular problem. I've also changed hostnames via the plesk control panel a few times and the hosts file has not, so far, been munged.

    Faris.
     
  14. hgmichna

    hgmichna Basic Pleskian

    24
    23%
    Joined:
    Oct 3, 2008
    Messages:
    69
    Likes Received:
    0
    Location:
    Munich, Germany
    Happy New Year

    There is always hope. Perhaps I should change the host name around a bit. :)-)

    7 hours left in the year on this side of the planet. Time for a good dinner. See you around next year.

    Hans-Georg
     
Loading...