webmail link to modify

jechilt

Verified User
Joined
Jun 21, 2004
Messages
212
a couple of questions....

i would like to install a new email program that will replace the default mail (UebiMiau) tool for my users.

what is the best location to install this program?
i would like it to able to be called when the user types in their url/webmail

Now a tricky question...I don't care to use the new mail program from the control panel. The default mail program is sufficient or would it be eaiser to replace the whole thing?

on a side note, i am toying with the idea of installing a second email program (i own it...why not) for high profile users at an extra fee. would this install cause a lot of problems with the primary email tool?
 
jechilt said:
i would like to install a new email program that will replace the default mail (UebiMiau) tool for my users.
Okay; lots of us have done that.
what is the best location to install this program?
I'd put it in the same place as both UebiMiau and Squirrelmail; under the /var/www/html/ tree.
I would like it to able to be called when the user types in their url/webmail
In /etc/httpd/conf/httpd.conf, under the section beginning:

#Start DirectAdmin Settings

you'll see a line for squirrelmail and a line for webmail.

If you want /webmail to work for your new program, then leave the /webmail alias alone, remove UebiMiau from the /var/www/html/webmail directory, and install your program in that directory.

If you want to keep both programs, then you may decide to change the UebiMiau program to another directory (using mv on the directory name is the best way to do that), and create a new /var/www/html/webmail directory for your new program.

If you do it the latter way you'll need to add a new Alias line to the httpd.conf file, in the section indicated, and then restart httpd.
Now a tricky question...I don't care to use the new mail program from the control panel. The default mail program is sufficient or would it be eaiser to replace the whole thing?
You can't have two programs both use the /webmail directory, and the DA control panel uses the /webmail directory. So you have to make some hard choices.
on a side note, i am toying with the idea of installing a second email program (i own it...why not) for high profile users at an extra fee. would this install cause a lot of problems with the primary email tool?
Not at all, but you couldn't use /webmail, then, and you'll have to install an Alias line for each user's own httpd.conf. Either by changing the file located at:

/usr/local/directadmin/data/users/<USERNAME>/httpd.conf

or by making the change in the control panel.

Jeff
 
thanks for all the great info.

I think I am going to put the program in /var/www/html as you suggest. I will leave the current /webmail and will most likely add an additional line and use /mail.
This way, I actually open up the options a little for the user. If they want Squirrel, type /webmail on their url or /mail for the other app.

Kind Regards...
 
Is there any way to replace the menu url DA uses under "Webmail" via the control panel? Right now it points to /Squirrelmail, which I don't use and I don't feel like adding an alias in my apache files to reroute it to the proper place.

Just thought there should be an easier way to get this done.
 
If you replace the default webmail with a different webmail, won't DA overwrite it on updates?
 
Not if you only update DA's 'binary'. Which is what I intend to do. Most unix admins don't want some software to install everything for them. Most want full knowledge of whats being put on there system -- atleast the smart ones do :).

The /webmail I'm talking about is simply a webmail menu link in DA's source code. Click on "Webmail" with in DA and it takes you to http://ip/squirelmail. Thats all I'm asking for to be changed so we can specify the address to redirect.
 
Hello,

It's set in the skins:
/usr/local/directadmin/data/skins/enhanced
header_bar.html
header_wide.html
user/show_domain.html

John
 
Changing Default Webmail URL

Thanks John,

I did some digging around the forums and came across this link

http://www.directadmin.com/forum/showthread.php?s=&threadid=4521&highlight=modify+webmail+url

There is only 1 problem I am coming across, when you add this and click on the link for the first time it brings up a blank page, in order for the page to be displayed you have to refresh the page.. any ideas on why this happens.. it happens every now and again..

Thanks
Alexei
 
Wouldn't it be nice to change this setting in the admin section of the DirectAdmin panel directly, with a user friendly selection menu in for example CMD_ADMIN_SETTINGS?
 
Thanks John,

I did some digging around the forums and came across this link

http://www.directadmin.com/forum/showthread.php?s=&threadid=4521&highlight=modify+webmail+url

There is only 1 problem I am coming across, when you add this and click on the link for the first time it brings up a blank page, in order for the page to be displayed you have to refresh the page.. any ideas on why this happens.. it happens every now and again..

Thanks
Alexei


You are not the only one. Iv complained about this for about a year. It occurs under https correct? We get this with Squirrelmail, Roudcube. John says its IE but i have received no proof of this. Strange, we are now running IE7 and yet this problem continues.
 
I use only Firefox on a linux desktop; give me a link and I'll test it.

Jeff
 
I use only Firefox on a linux desktop; give me a link and I'll test it.

Jeff

Giving you a link will work everytime. Its not an issues unless you click on the Sqmail or RC link within DA thats the problem. Go figure. Under Firefox it works even from the CP. Under IE it doesnt.
 
Back
Top