[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Better webmail part deux, SquirrelMail



Ok, if NeoMail or Openwebmail

The one downside to squirrelmail is its (now former) lack of virtual host
support.  I have set up my nicely aliased copy as a global mail with the
following adjustments.

After doing a proper install:

Edit the config/config.php file and insert the following line:

$env= getenv(SERVER_NAME);

Once that's in place, use the conf.pl interface, and option 2 then option 1
to edit the host name:

$env


That should do it.  It's not perfect, because my wispy knowledge of php.
The emails will be sent from: hostname.domainname.com or www.mydomain.com .
Those are valid email addresses however, and the reply to
user@xxxxxxxxxxxxxxxx will be properly routed on most linux distros.    The
one upside of this hacked and slashed setup is that you never have to
reconfigure for subdomain email accounts.

If anyone on the list knows php well enough to manipulate the server name
variable to eliminate the hostname, you would become my instant best friend.

Hope this helps some list folks.
gs
-- 
http://heybartender.org
High Impact Design