public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] non-PHP webmail in portage?
@ 2009-01-09 19:38 Grant
  2009-01-09 19:57 ` kashani
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Grant @ 2009-01-09 19:38 UTC (permalink / raw
  To: Gentoo mailing list

Does anyone know of a good (or OK) webmail client in portage that
doesn't use PHP?  I use squirrelmail now but I have PHP installed only
for that and I think PHP slows apache2 down a bit.

- Grant



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-09 19:38 [gentoo-user] non-PHP webmail in portage? Grant
@ 2009-01-09 19:57 ` kashani
  2009-01-09 20:06 ` Matt Harrison
  2009-01-10  5:25 ` Mike Kazantsev
  2 siblings, 0 replies; 9+ messages in thread
From: kashani @ 2009-01-09 19:57 UTC (permalink / raw
  To: gentoo-user

Grant wrote:
> Does anyone know of a good (or OK) webmail client in portage that
> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
> for that and I think PHP slows apache2 down a bit.
> 
> - Grant
> 

Have you installed dev-php5/eaccelerator for caching PHP opcode? That's 
probably more useful than swapping the underlying language your webmail 
client in implemented in unless your system is completely starved for RAM.

kashani



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-09 19:38 [gentoo-user] non-PHP webmail in portage? Grant
  2009-01-09 19:57 ` kashani
@ 2009-01-09 20:06 ` Matt Harrison
  2009-01-10 18:04   ` Grant
  2009-01-10  5:25 ` Mike Kazantsev
  2 siblings, 1 reply; 9+ messages in thread
From: Matt Harrison @ 2009-01-09 20:06 UTC (permalink / raw
  To: gentoo-user

Grant wrote:
> Does anyone know of a good (or OK) webmail client in portage that
> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
> for that and I think PHP slows apache2 down a bit.
> 
> - Grant
> 

I don't think you'll find anything faster except maybe written in C, 
which is doubtful. The only other language you might find webmail 
written in is Perl/CGI and that is definitely not faster in my 
experience. PHP is about as good as you will get IMHO.

Matt



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-09 19:38 [gentoo-user] non-PHP webmail in portage? Grant
  2009-01-09 19:57 ` kashani
  2009-01-09 20:06 ` Matt Harrison
@ 2009-01-10  5:25 ` Mike Kazantsev
  2009-01-10 18:00   ` Grant
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Kazantsev @ 2009-01-10  5:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

On Fri, 9 Jan 2009 11:38:16 -0800
Grant <emailgrant@gmail.com> wrote:

> Does anyone know of a good (or OK) webmail client in portage that
> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
> for that and I think PHP slows apache2 down a bit.
> 
> - Grant
> 

There are bunch of python webmail systems, just type 'python webmail'
into google.

And if you're looking for performance I would suggest to abstrain from
cgi and apache in favor of fcgi with daemons like nginx or lighttpd.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-10  5:25 ` Mike Kazantsev
@ 2009-01-10 18:00   ` Grant
  0 siblings, 0 replies; 9+ messages in thread
From: Grant @ 2009-01-10 18:00 UTC (permalink / raw
  To: gentoo-user

>> Does anyone know of a good (or OK) webmail client in portage that
>> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
>> for that and I think PHP slows apache2 down a bit.
>>
>> - Grant
>>
>
> There are bunch of python webmail systems, just type 'python webmail'
> into google.
>
> And if you're looking for performance I would suggest to abstrain from
> cgi and apache in favor of fcgi with daemons like nginx or lighttpd.

I don't think I'll find any in portage.  Typing "webmail" into
gentoo-portage.com brings up only horde and squirrelmail and they both
use PHP.

- Grant



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-09 20:06 ` Matt Harrison
@ 2009-01-10 18:04   ` Grant
  2009-01-10 18:51     ` Robert Bridge
  2009-01-11 17:37     ` kashani
  0 siblings, 2 replies; 9+ messages in thread
From: Grant @ 2009-01-10 18:04 UTC (permalink / raw
  To: gentoo-user

>> Does anyone know of a good (or OK) webmail client in portage that
>> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
>> for that and I think PHP slows apache2 down a bit.
>>
>> - Grant
>>
>
> I don't think you'll find anything faster except maybe written in C, which
> is doubtful. The only other language you might find webmail written in is
> Perl/CGI and that is definitely not faster in my experience. PHP is about as
> good as you will get IMHO.

I actually don't mean to speed up squirrelmail and PHP.  The main
function of that system is to run a website in perl, and I thought I
might be bogging down apache2 a bit just by opening it up to PHP
interpretation (-D PHP).  Is that the case?  It would also be nice not
to be exposed to PHP exploits.  It just seems kind of silly to
maintain and run PHP just for webmail.

- Grant



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-10 18:04   ` Grant
@ 2009-01-10 18:51     ` Robert Bridge
  2009-01-11 17:37     ` kashani
  1 sibling, 0 replies; 9+ messages in thread
From: Robert Bridge @ 2009-01-10 18:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Sat, 10 Jan 2009 10:04:31 -0800
Grant <emailgrant@gmail.com> wrote:

> >> Does anyone know of a good (or OK) webmail client in portage that
> >> doesn't use PHP?  I use squirrelmail now but I have PHP installed
> >> only for that and I think PHP slows apache2 down a bit.
> >>
> >> - Grant
> >>
> >
> > I don't think you'll find anything faster except maybe written in
> > C, which is doubtful. The only other language you might find
> > webmail written in is Perl/CGI and that is definitely not faster in
> > my experience. PHP is about as good as you will get IMHO.
> 
> I actually don't mean to speed up squirrelmail and PHP.  The main
> function of that system is to run a website in perl, and I thought I
> might be bogging down apache2 a bit just by opening it up to PHP
> interpretation (-D PHP).  Is that the case?  It would also be nice not
> to be exposed to PHP exploits.  It just seems kind of silly to
> maintain and run PHP just for webmail.

You could try running a second webserver instance for the webmail,
allowing the main one to run without PHP loaded.

RobbieAB.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-10 18:04   ` Grant
  2009-01-10 18:51     ` Robert Bridge
@ 2009-01-11 17:37     ` kashani
  2009-01-12 20:28       ` Grant
  1 sibling, 1 reply; 9+ messages in thread
From: kashani @ 2009-01-11 17:37 UTC (permalink / raw
  To: gentoo-user

Grant wrote:
>>> Does anyone know of a good (or OK) webmail client in portage that
>>> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
>>> for that and I think PHP slows apache2 down a bit.
>>>
>>> - Grant
>>>
>> I don't think you'll find anything faster except maybe written in C, which
>> is doubtful. The only other language you might find webmail written in is
>> Perl/CGI and that is definitely not faster in my experience. PHP is about as
>> good as you will get IMHO.
> 
> I actually don't mean to speed up squirrelmail and PHP.  The main
> function of that system is to run a website in perl, and I thought I
> might be bogging down apache2 a bit just by opening it up to PHP
> interpretation (-D PHP).  Is that the case?  It would also be nice not
> to be exposed to PHP exploits.  It just seems kind of silly to
> maintain and run PHP just for webmail.
> 
> - Grant
> 

	Adding -D PHP makes your memory footprint larger, but unless you're 
actually using PHP that's the only side affect of loading it. If you're 
concerned about security, make sure you're using the sushosin USE 
variable and keeping PHP and Squirrelmail up to date. Regardless of 
which language or mail package you use you're going to have to keep them 
updated.

	One other thing to think about is whether or not finding a Perl webmail 
system is going to make your life any easier. Say you do find one and it 
installs a ton of Perl modules like all Perl applications. Some of those 
will be updates of Perl modules that your actual site depends on which 
may or may not break the site. Now you've got two applications to QA 
when you update any Perl module that is a dependency of both.

kashani



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] non-PHP webmail in portage?
  2009-01-11 17:37     ` kashani
@ 2009-01-12 20:28       ` Grant
  0 siblings, 0 replies; 9+ messages in thread
From: Grant @ 2009-01-12 20:28 UTC (permalink / raw
  To: gentoo-user

>>>> Does anyone know of a good (or OK) webmail client in portage that
>>>> doesn't use PHP?  I use squirrelmail now but I have PHP installed only
>>>> for that and I think PHP slows apache2 down a bit.
>>>>
>>>> - Grant
>>>>
>>> I don't think you'll find anything faster except maybe written in C,
>>> which
>>> is doubtful. The only other language you might find webmail written in is
>>> Perl/CGI and that is definitely not faster in my experience. PHP is about
>>> as
>>> good as you will get IMHO.
>>
>> I actually don't mean to speed up squirrelmail and PHP.  The main
>> function of that system is to run a website in perl, and I thought I
>> might be bogging down apache2 a bit just by opening it up to PHP
>> interpretation (-D PHP).  Is that the case?  It would also be nice not
>> to be exposed to PHP exploits.  It just seems kind of silly to
>> maintain and run PHP just for webmail.
>>
>> - Grant
>>
>
>        Adding -D PHP makes your memory footprint larger, but unless you're
> actually using PHP that's the only side affect of loading it. If you're

Maybe PHP isn't so bad then.

> concerned about security, make sure you're using the sushosin USE variable
> and keeping PHP and Squirrelmail up to date. Regardless of which language or
> mail package you use you're going to have to keep them updated.

A daily 'emerge --sync && emerge -avDuN world' is on my list of
favorite things to do.

>        One other thing to think about is whether or not finding a Perl
> webmail system is going to make your life any easier. Say you do find one
> and it installs a ton of Perl modules like all Perl applications. Some of
> those will be updates of Perl modules that your actual site depends on which
> may or may not break the site. Now you've got two applications to QA when
> you update any Perl module that is a dependency of both.
>
> kashani

Thanks for the advice and it sounds like running PHP isn't so bad after all.

- Grant



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-12 20:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 19:38 [gentoo-user] non-PHP webmail in portage? Grant
2009-01-09 19:57 ` kashani
2009-01-09 20:06 ` Matt Harrison
2009-01-10 18:04   ` Grant
2009-01-10 18:51     ` Robert Bridge
2009-01-11 17:37     ` kashani
2009-01-12 20:28       ` Grant
2009-01-10  5:25 ` Mike Kazantsev
2009-01-10 18:00   ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox