[free plugin] Pointer Mail System Manager for Directadmin

Hi Alex,

i would like to ask if it is possible to install this plugin via console, i've tryed to just unzip it and run the install.sh script but on da side appreantly it appear not-installed and not-active, any hint?

Thanks
 
Hello,

Andrea, installation script does not change anything in /usr/local/directadmin/plugins/free_pointers_mail/plugin.conf you should change

Code:
active=no
installed=no

to

Code:
active=yes
installed=yes
 
Thanks Alex but actually i'd already tryed that but once done, at user level trying to access the plugin i was getting an error saying "plugin not avaible for the user" or something similar :)

Any hint?

Regards
 
I have installed this plugin but I get the following error when I open the userpanel for this plugin. How can I get this to work?

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 102 is not allowed to access /home/admin/domains/ owned by uid 507
in /usr/local/directadmin/plugins/free_pointers_mail/libs/functions.inc.php on line 53 Warning: opendir(/home/admin/domains/): failed to open dir: No such file or directory
in /usr/local/directadmin/plugins/free_pointers_mail/libs/functions.inc.php on line 53 [ERROR] Could not read /home/admin/domains/

PHP 5.3.27
SAFE MODE ON

It work on another server (PHP 5.3.29) but this server not working
If dont use this plugin there is a way to disable local mail server for domain pointer?

Thank you
 
Last edited:
If you still see "SAFE MODE Restriction in effect." error that would either safe mode is not completely disabled, or you've got system wide restrictions on open basedir.
 
I've turned Safe Mode off via DirectAdmin

Not sure this related or not

# grep safe_mode /usr/local/lib/php.ini
safe_mode = Off
; then turn on safe_mode_gid.
safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
safe_mode_protected_env_vars = LD_LIBRARY_PATH
sql.safe_mode = Off

# grep session.save_path /usr/local/lib/php.ini
; session.save_path = "N;/path"
; session.save_path = "N;MODE;/path"
session.save_path = "/tmp"
; (see session.save_path above), then garbage collection does *not*
 
I've turned Safe Mode off via DirectAdmin

Not sure this related or not

Whether or not it's related you can check it with:

Code:
php -i | grep [COLOR=#333333]safe_mode

[/COLOR]and

Code:
php --ini

to see whether or not you edit the correct php.ini.
 
CentOS 5.9

# php -i | grep safe_mode
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sql.safe_mode => Off => Off
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH

# php --ini
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: /usr/local/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)

Thank you
 
Maybe a silly question, did you restart apache (also directadmin, but not sure it's actually needed) once you've changed the php config?

Best regards
 
It is the old value setting and try to restart apache, directadmin still not work

If I upgrade php 5.3 to 5.4/5.5 it would be work?

Thank you
 
Last edited:
What PHP version are you using?
Did you disabled also openbase_dir in DA (and probably it may be worth disable in php.ini)?

Regards
 
May be I still use custombuild 1.2.x and it have --enable-safe-mode \ in the config file

Upgrade to custombuild 2.0 and build php again, now it working

Thank you
 
Last edited:
Good to know it's working for you now.

This feature [safe mode] has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
 
Back
Top