webmail/

Discussion in 'Installation/Configuration' started by SamTzu, Oct 22, 2008.

  1. SamTzu

    SamTzu Member HowtoForge Supporter

    I was reasently notified that one of our servers that was originally named server9 and later changed to server26 still has the name 'server9' hidden somewhere in the webmail.

    I have grep'ed the server many times from top to bottom but can not find any mention of the old name.

    If user tries to read their mail using address http://domain-name.com:81/webmail/ everything is allrigh.

    However if user tries to read their mail using address http://domain-name.com:81/webmail (without the backslash) everything is not allrigh.
    The browser redirects to the old server9 address (Witch is in use.)

    Wierd huh?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the hostname is changed also in the ispconfig config.inc.php file and in the httpd.conf file of the ispconfig apache webserver.
     
  3. SamTzu

    SamTzu Member HowtoForge Supporter

    It's nothing so obvious. Othervise grep would find it and the mail and web services would not work.

    I think it must be a variable buried somewhere. Maybe something like $webmailhost9 instead of $webmailhost26? That is propably the reason why its so difficult to locate.

    I have been using the command
    grep -r server9 * .
    to locate it but without success.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    grep server9 /root/ispconfig/httpd/conf/httpd.conf

    and:

    grep server9 /home/admispconfig/ispconfig/lib/config.inc.php
     
  5. SamTzu

    SamTzu Member HowtoForge Supporter

    When you are right you are right and this time you are right :)
    It was the /root/ispconfig/httpd/conf/httpd.conf file.
    I don't understand why it did not previously show up when I searched from the root.
    Only when I grepped from the /root folder.
    Too much to search for I guess.

    thx
     

Share This Page