Posted on: 07/14/03 08:12am
By: Euan
Well, it\'s early days yet but a note anyway. I did intend to start this about 6 months ago, but well, you know...
I\'m working on a dedicated email plugin for Geeklog that will allow users to use Geeklog as an email client. Admin will have to enable it for each user. I\'ve called it Gmail. How imaginative.
No files released yet. Progress is noted in the forum on
my site. A version 1 release candidate release date is still some months away, so don\'t hold your breath or you\'ll go this colour:
Any comments, feature requests, ideas, collaborators, please feel free to let me know.
Re:Gmail
Posted on: 07/14/03 10:13am
By: Tony
If you really wanted to turn heads, finding a way to integrate a pre-existing client such as SquirrelMai (SM)l would probaby be a good option to go too. I don\'t want to discourage you at all, I am just speaking from experience that maintaining a package like that is a *a lot* of work, and IMHO, SM is rock solid. If we coud simply find ways to integrate it into GL so that it uses the same credential set (i.e. username/pass) then you really have a *very* popular GL plugin.
Just a thought...
Re:Gmail
Posted on: 07/14/03 11:05am
By: Euan
Yes, you\'re right. There is no real sense in reinventing the wheel. I think Dirk or Blaine said the same thing when I first started thinking about this about 6 months ago (sorry, got a bit busy).
For two reasons, I\'m starting out with the intention of making a completely new package:
1) I\'m not good enough at PHP/MySQL to hack another person\'s software into shape (although I haven\'t looked at squirrelmail yet, which would be the ideal package to use).
2) I want to learn more PHP and this is a pretty good way to do it.
Having said that, I will be looking at squirrelmail for ideas and if I can work out an integration en route, I\'ll definitely go for that.
Euan.
Re:Gmail
Posted on: 07/14/03 03:48pm
By: wlparks
I\'m going to be working on a way to have one login to go back and forth from geeklog to sm in the near future.
I plan on this not being an easy task
Not sure if I\'m going to make this one a plugin for both pieces of software or just a hack.
Re:Gmail
Posted on: 07/14/03 04:21pm
By: Tony
Guys, actually this should be simple. I have seen SM\'s authentication code and it is already modular making adding a new authentication method fairly simple. So while I understand why you may think this is hard, actually, it shouldn\'t be too bad. I hope someone eventually follows up on this and reports back any status.
Re:Gmail
Posted on: 07/14/03 07:09pm
By: ScurvyDawg
Hivemail kicks Squirell Mails butt.
Hivemail would be a cooler package to integrate with
hehehe
Re:Gmail
Posted on: 07/14/03 07:54pm
By: Euan
[QUOTE BY= Tony] Guys, actually this should be simple. I have seen SM\'s authentication code and it is already modular making adding a new authentication method fairly simple. So while I understand why you may think this is hard, actually, it shouldn\'t be too bad. I hope someone eventually follows up on this and reports back any status.[/QUOTE]
OK - I\'ll have a dig.
Re:Gmail
Posted on: 07/14/03 11:03pm
By: Euan
Just had a look at SquirrelMail, and remembered another reason why I initially decided to go for an independent plugin: although SM works under Windows, it is really a Linux/UNIX application and doesn\'t look so easy to get running on a Windows machine. It also requires IMAP, and I was thinking of making a plugin that didn\'t need IMAP if at all possible (although that is making my own life difficult of course).
So if someone wants to have a go at a SquirrelMail plugin for Geeklog, I think that would be great (and good for Geeklog too). Any takers? I\'m going to be working on a separate plugin for now.
Cheers,
Euan.
Re:Gmail
Posted on: 07/18/03 12:43pm
By: Euan
Just to keep you posted: this week I finished most of the basic admin and other user functions (i.e., pretty much worked out all the basics before the real work begins).
Next week: tidying up the code, and tuning to make better use of the GL security model. Then on to the real meat...
Re:Gmail
Posted on: 07/18/03 03:13pm
By: Filipino
[QUOTE BY= ScurvyDawg] Hivemail kicks Squirell Mails butt.
Hivemail would be a cooler package to integrate with
hehehe[/QUOTE]
Is the main difference that Squirrel Mail is free and comes with Red Hat and other *nix package whereas Hivemail costs over $100 (last time I looked) or is there a free version now.
Re:Gmail
Posted on: 07/22/03 11:32am
By: Euan
[QUOTE BY= Filipino]Is the main difference that Squirrel Mail is free and comes with Red Hat and other *nix package whereas Hivemail costs over $100 (last time I looked) or is there a free version now.[/QUOTE]
Yes, that\'s what I thought too. No free version as far as I can see. Unless ScurvyDawg is feeling generous..?
Gmail progress update: Install/uninstall now works perfectly as far as I can tell. Completely integrated with Geeklog security model. Almost completed all basic settings (SMTP, POP3 accounts, etc.). Away on business later this week, but should see the start of the next phase (ie the real work) next week.
Re:Gmail
Posted on: 07/25/03 11:57am
By: Euan
My hosting provider has installed SquirrelMail on my server, it seems... I\'ll have a look at an integration too, but can\'t access the code of SM there... perhaps need to install locally - but SM on Windows? More M than S, I think...
A change of heart? No, not at all. I\'ve just quit my job, source of income, source of visa (I\'m overseas), source of accommodation and general provider of all that keeps body and soul together.
Feels good.... gives me lots of free time... and no money...
Re:Gmail
Posted on: 07/29/03 05:50am
By: Euan
Gmail downloaded its first emails and stored them in the database today! At present, logs in, gets number of emails, loops to download and save in DB as it goes along, then disconnects.
Still a veeeeery long way to go though.....
Cheers,
Euan.
Re:Gmail
Posted on: 07/29/03 09:46am
By: destr0yr
That\'s sweet... i\'m looking forward to seeing this plugin in action!
Re:Gmail
Posted on: 08/02/03 08:23pm
By: Euan
[QUOTE BY= destr0yr] That\'s sweet... i\'m looking forward to seeing this plugin in action!
[/QUOTE]
Me too..... soon, soon. If all goes well, there should be an alpha version for release by the end of August. Maybe. Maybe not.
Re:Gmail
Posted on: 08/07/03 12:01am
By: Euan
Thanks to a snippet of stunning code from Blaine, the folder management system is now running beautifully with the TreeMenu class from PEAR. Very pretty.
Next is to improve mail parsing and work out a function to deal with multiple email addresses in to/cc header fields, and to streamline functions - there are probably a few DB calls that could be cut to speed things up..
Re:Gmail
Posted on: 09/07/03 03:51am
By: emagin
Just curious, will this work for WINDOWS users running PHP/Apache?
Thanks
Re:Gmail
Posted on: 09/08/03 01:54pm
By: wlparks
I have done a simple hack for logging in to sm when you login to geeklog however our situation is probably different then a lot of peoples
We are a local isp we\'re using geeklog for our portal. Therefore the only users that are regestered with geeklog are users that are with us as an isp.
So what we did is you log into geeklog with the same username and password that you give to check your email. Then you click on the webmail link and bam you go to sm and your already logged in.
We would like to see this more tightly merged same headers and footers but this is a bigger issue because sm is using frames, and I would have to hack that.
If anybody is in the same situation as me same username and password for both geeklog and squirrelmail let me know and i\'ll provide the info about the hack, but I doubt there is that many people who are doing the same thing so I don\'t really want to spend the time making it a real plugin.
Re:Gmail
Posted on: 09/10/03 01:43am
By: jnordquist
I have exactly the same situation. Small community ISP with SquirrelMail, and I would be very interested in having that functionality, at least until GMail comes out.
-john
kenoshaonline.net
Re:Gmail
Posted on: 09/10/03 03:47am
By: sud_crow
Hi,
me either, we are not a ISP, nor a small comunity, but we use both and with the same desire of having the functionality for 1 log in.
If you dont want to make the plug in, then you could give a tip to someone who could do it (i would if i knew how).
Re:Gmail
Posted on: 09/10/03 10:29am
By: wlparks
well I\'ve made plugins before, but I just didn\'t think there would be another situation like ours. If more people ask I will do it, not sure if I can though is there a hook for plugins once you login?
Anyway if you want to attept to replicate what I did I can try to explain here how I accomplished it.
1. Installed the autologin plugin for sm http://www.squirrelmail.org/plugin_view.php?id=33 this plugin stores the username and password in a highly encrypted cookie, better then anything I would of made up.
2. Once you login to geeklog mine is in the default switch in users.php(not sure how much I really edited this), I just added the part for making a encrypted cookie. Code is as follows(just stole this out of the functions.php that came with the autologin plugin).
function MD5Keycrypt($txt,$key)
{
for ($i=0,$j=0,$val=\'\',$key=md5($key),$keylen=strlen($key),$txtlen=strlen($txt);$i
Thats all I had to do, if you have any questions let me know. I know this might not be the cleanest or most diffucult way to do it but it works for us and it appears to be pretty secure, I mean look at that encryption on the stuff :-p
Re:Gmail
Posted on: 09/10/03 10:32am
By: wlparks
I also have another hack that will display how many new emails you have once you login to geeklog, I will post a screenshot of that later today if anybody wants to see how cool it is
Re:Gmail
Posted on: 09/10/03 10:02pm
By: destr0yr
[QUOTE BY= wlparks] if anybody wants to see how cool it is
[/QUOTE]
i\'d love to see it.
Re:Gmail
Posted on: 09/11/03 05:05pm
By: wlparks
This is the header once you login.
http://www.catt.com/~wparks/images/CattMail.jpg
Re:Gmail
Posted on: 09/11/03 11:50pm
By: ScurvyDawg
Very cool .... NICE!!!!!
Re:Gmail
Posted on: 09/20/03 12:05am
By: Euan
Just to keep you informed...I\'m using Gmail as my mail reader at the moment. It still doesn\'t have a working compose/send function yet, although all the basic bits are there (just haven\'t got round to fitting them together yet). Works fine for multiple POP3 accounts, and stores incoming mails in the folder you define for each account (can also be the same folder of course).
I\'m working on a filtering system, but my logic is not right yet (you can create rules to compare a string against parts/all the email as it is downloaded, and if a match is found, the mail is sent to a particular folder specified in the rule instead of the default for that account). When that is going properly, I\'ll get the compose working.
Also need to incorporate google style page navigation as you could get looong pages right now! Another bit of GL source I can steal...