Re: [gentoo-user] non-PHP webmail in portage?

2009-01-12 Thread Grant
 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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-11 Thread kashani

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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Grant
 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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Grant
 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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Robert Bridge
On Sat, 10 Jan 2009 10:04:31 -0800
Grant emailgr...@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.


signature.asc
Description: PGP signature


Re: [gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread kashani

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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread Matt Harrison

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



Re: [gentoo-user] non-PHP webmail in portage?

2009-01-09 Thread Mike Kazantsev
On Fri, 9 Jan 2009 11:38:16 -0800
Grant emailgr...@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


signature.asc
Description: PGP signature