Page 1 of 1

Sending mail from Webmail Horde IMP

Posted: Thu Jun 19, 2008 2:40 am
by BerArt
If I want to send a mail from webmail I receive the next message, what am I doing wrong?

Is it because of the new PHP 5.2.6 or conf settings in PHP.ini?

(disable_functions = passthru, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, furl_open, dl, shell_exec, system, show_source, phpinfo)

Message:
"Forbidden You don't have permission to access /imp/compose.php on this server."

Edit:// According to Plesk: http://kb.parallels.com/en/2278 the disabled functions should be without *exec* or *open* so the disabled functions in PHP.ini should be without: proc_open, pfsockopen and shell_exec ??

Is it safe to remove these functions? Is there a (simple) workarround?

Posted: Thu Jun 19, 2008 8:25 am
by Highland
I think Horde uses popen so that must remain enabled. Other than that I don't think you need to enable any of the others. Remember, Plesk uses its own Apache and php.ini so disabling the main web server functions won't impact Plesk.

Posted: Thu Jun 19, 2008 8:59 am
by BerArt
But why is webmail not sending mail then, this worked before, so somewhere down the line a security setting is blocking this...

Posted: Thu Jun 19, 2008 7:54 pm
by aus-city
popen must be allowed in php else it will fail

Posted: Fri Jun 20, 2008 2:44 am
by BerArt
But this is open! And still it isn't working it even triiggers a false report on ASL if it fails...