• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

WebMail

 
Ranch Hand
Posts: 85
Mac Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone. I have a Linux server running tomcat. I have postfix-dovecot all setup and running. I can send and receive emails via Thunderbird. I have JWebmail deployed and working for the most part. I can send emails out of it but for some reason it will not access my inbox. But having searched and looked and read about tomcat web mail in general, I have a couple of questions.

1) If anyone is a Jwebmail jock, I'd like to get some help resolving this. I didn't want to deluge the post with all of the stuff I have tried etc, I'd be happy to provide more info if people think they can help.

and the bigger question..

3) Why is there a such a gap in webmail projects for Servlet containers? If you run apache and PHP you have them coming out of your ears. My hope was that I wouldn't have to set up Apache AND PHP just to run web mail. This isn't a business requirement or anything, I am just building a server and adding services as a learning exercise so I had plenty of time not to use PHP.

Thanks!
 
Ranch Hand
Posts: 54
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I think the dovecol-postfix package uses maildir, does JWebmail support that?

I too was looking for JavaEE solutions for webmail. I found 'claros inTouch'. I plan to try it out soon. It might be worth a try.

 
Cory Hartford
Ranch Hand
Posts: 85
Mac Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Louis. Maybe thats the issue; maildir may not be supported. I'm feeling my through this, so much of it is new to me. I assumed since I was running IMAP that any IMAP front end would work.
I ended up trying Claros out of frustration and it really looks slick. Its a snap to install and it was able to read my inbox......BUT it won't send mail. "Unkown Error. Try Again Later".
I looked at the error logs (which are neatly presented in html) and I couldn't make a lot from the exceptions being thrown. The config file doesn't appear to have a lot of leverage. I don't know enough about J2EE yet to really diagnose a whole lot. I imagine someone who was familiar would have a better shot at altering these to work for their environment. I ended up raising the white flag and using JavaBridge. It seems to handle php pretty well through Tomcat so I'll setup squirrelMail and be done with it. I'd be curious to hear how you make out with Claros though; I wish you luck.
After I work through my JSP and Servlet books, maybe Ill work on writing my own.
 
Cory Hartford
Ranch Hand
Posts: 85
Mac Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just an update, I ended up using Php-Java Bridge and running squirrelmail inside of a JavaBridge (conatiner?) directory. I had it up and going in 3 or 4 hours. Pretty painless and it accomplished what I wanted.
 
Louis Bros
Ranch Hand
Posts: 54
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cory,

Thanks for the info. When I get to the point of setting up webmail I'd like to avoid going down the PHP road. There do seem to be less options when it comes to Java for these types of things. I guess that could be connected to the greater availability of php hosting.

I think I use a similar setup to you (Ubuntu, tomcat, dovecot-postfix), so if I can get it working I'll let you know how I did it.

ta
 
Water! People swim in water! Even tiny ads swim in water:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic