Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19378 - Ebuild for OpenWebMail (new package)
Summary: Ebuild for OpenWebMail (new package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
: 20639 (view as bug list)
Depends on:
Reported: 2003-04-15 16:46 UTC by Narada Sage
Modified: 2007-09-14 14:49 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---

ebuild for openwebmail 2.30 (openwebmail-2.30.ebuild,1.49 KB, text/plain)
2004-01-06 00:28 UTC, Blake Matheny (RETIRED)
ebuild for openwebmail 2.3.0 (openwebmail-2.30.ebuild,1.66 KB, text/plain)
2004-01-10 21:02 UTC, Blake Matheny (RETIRED)
the ebuild (openwebmail-2.51.ebuild,3.23 KB, text/plain)
2005-09-07 21:51 UTC, Tomoyuki Sakurai (RETIRED)
a patch to the previous ebuild (openwebmail-2.51.ebuild.patch,2.32 KB, patch)
2005-09-08 07:37 UTC, Tomoyuki Sakurai (RETIRED)
Details | Diff
openwebmail-2.51.ebuild (openwebmail-2.51.ebuild,4.44 KB, text/plain)
2005-09-10 01:21 UTC, Tomoyuki Sakurai (RETIRED)
openwebmail-2.52.ebuild (openwebmail-2.52.ebuild,4.44 KB, text/plain)
2006-06-20 10:08 UTC, Tibor Gemes

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-04-15 16:46:21 UTC
Hello.  I'd like to request an ebuild for openwebmail.  Please follow the link
for a brief overview of the package.

Reproducible: Always
Steps to Reproduce:
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 14:44:30 UTC
please provide an ebuild
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-05-30 22:26:31 UTC
*** Bug 20639 has been marked as a duplicate of this bug. ***
Comment 3 Donovan Long 2003-11-16 03:19:10 UTC
What is the status of this request?  How is it resolved?  This really is the cream of the crop for open source webmail solutions, it would be nice to have it as part of Portage.  Please reopen this request.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:09:47 UTC
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:10:20 UTC
create an ebuild and attach it here
Comment 6 Blake Matheny (RETIRED) gentoo-dev 2004-01-06 00:28:14 UTC
Created attachment 23229 [details]
ebuild for openwebmail 2.30

This ebuild is for Open WebMail 2.30, the depend may want some tweaking but it
works well for me. There is one unresolved issue, after the emerge the user
_must_ edit /var/www/localhost/cgi-bin/openwebmail/etc/dbm.conf and then re-run
'/var/www/localhost/cgi-bin/openwebmail/ --init'. I'm not
sure of a good way around that, since I don't know how dbm.conf will change
from platform to platform.
Comment 7 Donovan Long 2004-01-08 01:13:53 UTC
An ebuild, great!!

I've moved my OpenWebmail directories that were installed manually and gave this ebuild a go.

I noticed it did not setup the spell checker directive, ie. in /var/local/www/cgi-bin/openwebmail/etc/openwebmail.conf, there should be a line:

spellcheck     /usr/bin/ispell

The default is to use /usr/local/bin/ispell and Gentoo does not install ispell there.

I noticed (because it's a new feature) that the ebuild did not have a dependency of antiword.  There could be other dependencies that were missed but OpenWebMail would still work on my system as I've installed everything it required last year.  I feel that if you're going to install a system as sweet as this, you should really install all the extras, but again, that's what the USE flags are for I guess.

One thing we need to get added to Portage is SpeedyCGI.  I cannot believe how much faster my system is going from Open Webmail 2.10 to 2.30 and SpeedyCGI 1.21 to 1.22!!  It's blazing fast now, on a PII 266mhz/128mb server.

Alot of tweaking is to be expected when you are installing something as complex as a webmail system, evening with my above comments, this ebuild is still great!  Thanks!!
Comment 8 Blake Matheny (RETIRED) gentoo-dev 2004-01-10 21:02:22 UTC
Created attachment 23588 [details]
ebuild for openwebmail 2.3.0

There are two USE flags that are useful to openwebmail, spell and zlib. I have
added support for both of them. If spell is specified, the correct line in the
configuration file is created. Also, the ebuild does not have a dependency of
antiword because antiword is not required for operation, it is optional. The
optional packages for openwebmail are: CGI-Speedy, Compress-Zlib, ispell,
quota, Authen-PAM, ImageMagick and antiword. Compress-Zlib and ispell are
supported. Additional comments welcome.
Comment 9 Blake Matheny (RETIRED) gentoo-dev 2004-02-11 13:26:47 UTC
I would like to close this bug. Anyone have objections to me committing this? I think it should go in net-www. Comments or objections?
Comment 10 Narada Sage 2004-02-11 13:39:59 UTC
Hi.  Shouldn't it go into net-mail since it is a webmail solution and currently webmail packages like squirrelmail are in net-mail?  Other than that your attention to this bug report is very welcome!  Thank you!
Comment 11 Tuan Van (RETIRED) gentoo-dev 2004-05-06 14:29:44 UTC
I wonder if this package going to make it way to the portage?
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2004-05-16 08:00:00 UTC
this is based on webapp-apache.eclass
please use webapp.eclass

already converted: squirrelmail and phpmyadmin
Comment 13 Lance Albertson (RETIRED) gentoo-dev 2004-06-13 23:46:34 UTC
Before you commit this to portage, please make sure its not vulnerable to this:

04.23.38 CVE: Not Available
Platform: Web Application
Title: Open Webmail Content Injection
Description: Open WebMail is a web-based e-mail system. It has been
reported that Open WebMail is vulnerable to an HTML/script injection
attack due to improper validation of the "Content-Type:" header.  Open
WebMail version 2.32 is reported to be vulnerable.

I was going to make a security bug for this, but i noticed this package isn't in portage :)
Comment 14 Jon Marston 2004-09-13 08:07:33 UTC
Is this the bug which was fixed according to the changelog ( ), on 06/03/2004?
This is otherwise a very functional and useful webmail system. Please do consider committing it to portage.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 04:46:22 UTC
Current version is 2.51 and this ebuild needs a major revamp. Re-assigning.
Comment 16 Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-09-03 22:56:37 UTC
I'll work on this if nobody doesn't
Comment 17 Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-09-07 21:51:41 UTC
Created attachment 67893 [details]
the ebuild

new ebuild based version 2.51.
my concerns are well commented in the file.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-09-08 02:10:28 UTC
1/ Yeah, RDEPEND is for runtime deps, not DEPEND.
2/ sed needs || die, the whole MY_FILE, MY_FILES thing looks a bit scary. :)
3/ Wrt one of the comment, I don't understand why the ebuild should die with
vhosts in USE flags, it's definitely not an acceptable solution for webapps.

Sadly, I cannot test this at all until upstream finally adds maildir support, so
it's pretty useless for me now. :/
Comment 19 Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-09-08 07:37:18 UTC
Created attachment 67940 [details, diff]
a patch to the previous ebuild

thanks for your comment.
a patch attached to fix the problems along with addtional comments.
still testing and comments are required.
Comment 20 Tomoyuki Sakurai (RETIRED) gentoo-dev 2005-09-10 01:21:22 UTC
Created attachment 68086 [details]

add clamav, spamassassin, webdisk and zlib support, drop dev-libs/libiconv
Comment 21 Tibor Gemes 2006-06-20 10:08:14 UTC
Created attachment 89639 [details]

Created a new ebuild for openwebmail-2.52 based on openwebmail-2.51.ebuild
* Changed the HOMEPAGE and SRC_URI to
* changed dev-perl/libnet dependency to virtual/perl-libnet
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2007-09-14 14:49:43 UTC
Either find a maintainer, or if you want to maintain it yourself, feel free to reopen and join project sunrise, details here: