Est. 2003
Home Help Login Register
News: Welcome to ZboX Webhosting.
10 Megs

10 MB Disk
1 GB Transfer
$10.00 per year
25 Megs

25 MB Disk
2 GB Transfer
$25.00 per year
50 Megs

50 MB Disk
3 GB Transfer
$50.00 per year
75 Megs

75 MB Disk
4 GB Transfer
$75.00 per year
500 Megs

500 MB Disk
10 GB Trans
$100.00 yr.

+  ZboX Webhosting Est. 2003. Now in our Fifth year!
|-+  Domania/Amish/PDhomes
| |-+  Announcements for Domania/Amish/PDhomes
| | |-+  DAP webmail alternative
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: DAP webmail alternative  (Read 565 times)
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1663


What 'ya got there??


DAP webmail alternative
« on: June 27, 2008, 07:46:19 PM »

I am still working on this. Unfortunately events of the last couple of weeks have put me behind. I have done three bare metal installs of Squirrelmail and had to wipe them each time. Squirrelmail requires you to change ownership of certain directories which is a good thing security wise, but it causes too many issues with trying to edit files etc, which are needed for the install. So we've moved on. The latest web based email client I am working on is nocc mail. Because of it's template system we can make it work for Webtv. However, nocc mail requires me to enter every domain in an array in order for everyone on the server to utilize it. And with over 240 domains on cap that's going to take a while. And what's worse is that I can't just paste all  of the domains on the server into it. It has to be formatted for each domain like:

$conf->domains[$i]->domain = 'sourceforge.net';

One domain per line. Sigh. We'll get that done though but I just have to build the array. It would be just so much easier if they could go with all domains on a certain IP address. But I digress.

~;-)

Bert
« Last Edit: June 27, 2008, 07:53:46 PM by ZboX » Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Re: DAP webmail alternative
« Reply #1 on: June 29, 2008, 10:02:07 PM »

Sounds tedious. It would be nice if you had a script that did it for you, wouldn't it?

Code:
<?php
if ( $_GET[url] )
{
  $domains file_get_contents(trim($_GET[url]));
  $domains explode"\n"$domains);
  foreach( $domains as $key=>$val)
    {
      $name trim($val);
      echo "*conf->domains[*i]->domain = *$name*;\n";
    }
  exit;
}
?>

<html>
<body>
  <center>
   <form>
    <input type="text" name="url">
    <input type="submit">
   </form>
  </center>
</body>
</html>
« Last Edit: June 29, 2008, 10:42:18 PM by DJ Mike » Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1663


What 'ya got there??


Re: DAP webmail alternative
« Reply #2 on: June 30, 2008, 04:52:41 PM »

Thanks for that Mike. Much appreciated!

~;-)

Bert

Sounds tedious. It would be nice if you had a script that did it for you, wouldn't it?

Code:
<?php
if ( $_GET[url] )
{
  
$domains file_get_contents(trim($_GET[url]));
  
$domains explode"\n"$domains);
  foreach( 
$domains as $key=>$val)
    {
      
$name trim($val);
      echo 
"*conf->domains[*i]->domain = *$name*;\n";
    }
  exit;
}
?>

<html>
<body>
  <center>
   <form>
    <input type="text" name="url">
    <input type="submit">
   </form>
  </center>
</body>
</html>
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1663


What 'ya got there??


Re: DAP webmail alternative
« Reply #3 on: August 16, 2008, 06:34:52 AM »

Hokay, NOccmail is history. Even more of a kludge than Squirrelmail.  I have been studying and there is another way to install Squirrelmail. I'm going to give that a shot. More info asap.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
DJ Mike
Serious Poster
****
Offline Offline

Posts: 166



Squirrelmail works!
« Reply #4 on: August 16, 2008, 08:29:18 PM »

Squirrelmail isn't the problem. The problem is the screwed up URLs in cPanel. Once you work through the screwed up URL, you can both send and receive email.

Start at your cPanel:
http://your_domain.com:2082/frontend/x/index.html

Click Mail:
http://your_domain.com:2082/frontend/x/mail/email.html

Click Add/Remove/Manage:
http://your_domain.com:2082/frontend/x/mail/pops.html

Select a user:
Login
http://your_domain.com:2082/frontend/x/mail/webmailform.html?user=username@your_domain.com&actionhost=http://your_domain.com:2095&x=13&y=3

Source code for login form for anyone interested:

Code:
<form action="http://your_domain.com:2095/login/" method=POST target=_blank>
<input type=hidden name=user value="user@your_domain.com"> Enter Password for hairydj@your_domain.com:
<input type=password name=pass SIZE=16>
<input type=submit value=Login> </form>

After login, click Squirrelmail
Link in source code is
http://your_domain.com:2095/webmail/x/?login=1
Redirects to:

http://your_domain.com:2095/3rdparty/squirrelmail/index.php
Automatically redirects to bad URL
http://your_domain.com:2095/3rdparty/squirrelmail/src/login.phpsrc/login.php

Notice "src/login.php" is appended twice.

Corrected URL
http://your_domain.com:2095/3rdparty/squirrelmail/src/login.php

http://your_domain.com:2095/3rdparty/squirrelmail/src/login.php automatically redirects to ANOTHER bad URL:
http://your_domain.com:2095/3rdparty/squirrelmail/src/webmail.phpwebmail.php

Again, "webmail.php" appended twice

Corrected URL
http://your_domain.com:2095/3rdparty/squirrelmail/src/webmail.php

I had to delete over 1000 spam from each user. Spam Assassin works again! From the tags on my spam it looks like it kicked in farely recently. I changed its settings to auto trash.
Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1663


What 'ya got there??


Re: DAP webmail alternative
« Reply #5 on: August 16, 2008, 08:34:04 PM »

So Mike, you are telling me you can actually access smail in Cpanel on Webtv now??

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1663


What 'ya got there??


Re: DAP webmail alternative
« Reply #6 on: August 17, 2008, 09:53:26 AM »

So Mike, you are telling me you can actually access smail in Cpanel on Webtv now??

Bert

Sorry was in a hurry last night. Glad you can access Smail. The forum at Cpanel has been going around and around on this for quite some time. They've come up with a couple of fixes that were worse than the problem. The main issue is where the email programs actually reside on the server. For security reasons I'm not going to go into the details but it's a funky set up at best.

Nice job Mike~

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"Ohhh weeeeeee ohhhh, weeeee ohhhhhh wa. Ohhhh weeeee ohhhhh, weeeee ohhhhh wa!"
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

ZboX Webhosting Est. 2003. Now in our Fifth year! | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Page created in 0.145 seconds with 21 queries.