[horde] Possible bugs / performance issues

Alex Ferreira sirsecurealot at gmail.com
Tue Feb 13 04:50:21 PST 2007


Hi all,

I've run several versions of horde in several Linux distros for years now.
Lately I've made a migration of a test/devel system to some Centos 4 systems
and updated
horde and the modules i use, to the latest stable (H3) versions. The
imap server (a courier one) remains untouched and working fine.
I was previously using php 5 in the old machines, but now I've recompiled
the php 4 that came with centos, to satisfy the horde's php modules
dependencies.

One thing I've immediately noticed, is that the imap calls in imp are much
slower (2x-3x slower). This is quite ridiculous, as the new machines are
much more powerful than the old ones. And yes, i'm using imp (and therefore
imap ) for horde authentication.

The conf.php files are the same, and i'm NOT using any calls by name to the
imap server ( i know that DNS resolving+IMAP+PHP = turtle speed).
I'm almost sure this is a php_imap module issue, tough i would like have
your feedback.
I've used the cclient library that came with centos 4. It is probably quite
outdated. Would php compilation with a newer cclient version solve this?

One other thing; when reporting the spam (spamassassin -r) with spamassassin
and razor2 enabled the following error occurs:

Feb 13 11:21:16 HORDE [error] [imp] Error reporting spam: [23536] warn:
reporter: razor2 report failed: No such file or directory report requires
authentication at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 170.
at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line
318.
 [on line 111 of "/var/www/html/xxxx/imp/lib/Spam.php"]

Php safe_mode is off and opendir restrictions are not in effect. Selinux is
also disabled.
I've register an identity in razor2, and the command works just fine in the
linux shell, therefore i don't think this is a spamassassin issue. For some
reason spam.php is searching for the identity in the wrong directory (it
should look in /etc/razor/  aka <razorhome>).
Reporting  with extended debugging (spamassassin -d -r) executed
from imp, gives out the following logs:

[lots of useless spamassassin startup junk snipped]
[18140] dbg: markup: removing markup in Subject
[18140] dbg: plugin: Mail::SpamAssassin::Plugin::Razor2=HASH(0x1bded50)
implements 'plugin_report'
[18140] dbg: plugin: Mail::SpamAssassin::Plugin::SpamCop=HASH(0x20fa9c0)
implements 'plugin_report'
[18140] dbg: info: entering helper-app run mode
[18140] dbg: info: leaving helper-app run mode
[18140] warn: reporter: razor2 report failed: No such file or directory
report requires authentication at /usr/lib/perl5/site_
perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 170. at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm l
ine 318.
[18140] info: reporter: could not report spam to Razor
[18140] dbg: reporter: SpamCop sent FROM apache at xxxx
[18140] dbg: reporter: SpamCop received 250 sender <apache at xxxx> ok
[18140] dbg: reporter: SpamCop sent TO spamassassin-submit at spam.spamcop.net
[18140] dbg: reporter: SpamCop received 250 recipient <
spamassassin-submit at spam.spamcop.net> ok
[18140] dbg: reporter: SpamCop sent DATA
[18140] dbg: reporter: SpamCop received 250 go ahead
[18140] dbg: reporter: ok: Message 487863401 accepted
[18140] dbg: reporter: SpamCop sent QUIT
[18140] dbg: reporter: SpamCop received 221 vmx2.spamcop.net
[18140] info: reporter: spam reported to SpamCop
[on line 111 of "/var/www/html/xxxx/imp/lib/Spam.php"]

Any hints?

Regards,

Alex


More information about the horde mailing list