Squirrelmail config script..

Discussion in 'General Web Coding' started by enforcer, Sep 26, 2005.

  1. enforcer

    enforcer Perch

    I have the below squirrelmail config script which needs to be adjusted to accept mail server login from mail.domain.com AND mail3.domain.com

    As you can see, by default, the script already accepts mail.domain.com config.

    ==============CONFIG START================

    if (strstr($login_username, '@')){
    $login_username = trim($login_username);
    $login_username = strtolower($login_username);
    session_register ($ses_domain, 'ses_domain');
    $my_domain = $_SESSION[ses_domain];
    $my_smtpServerAddress = "mail." . $my_domain;
    $my_imapServerAddress = "mail." . $my_domain;
    $my_theme_default = 1;
    $my_theme_css = "../themes/css/mystyle.css";

    ==============CONFIG END================

    Any ideas?

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services