fatal! Write Failure: /etc/valiases/. Ignore any messages of success this can only result in failure!

If  you get this error while adding a email “forwarder” : fatal! Write Failure: /etc/valiases/. Ignore any messages of success this can only result in failure!

then this mean that there is incorrect permissions for /etc/valiases/domain.com.

to fix the problem run this command :

=================================================
# [email protected][~]#   chown username.mail /etc/valiases/domain.com

or

# [email protected][~]# chown username:mail /etc/valiases/domain.com
==================================================

or

============================
# [email protected][~]#
/scripts/fixvaliases
============================

This will reset all the permissions for each file in /etc/valiases.

That’s all this will do it.

How to disabled Suhosin for a perticular domain ?

search suhosin in php.ini file
=============================
extension=”suhosin.so”

; Filtering Options
suhosin.get.max_vars = 114096
suhosin.post.max_vars = 114096

================================
and change it to

==========================
;extension=”suhosin.so”

; Filtering Options
;suhosin.get.max_vars = 114096
;suhosin.post.max_vars = 114096

==============================

php_flag suhosin.cookie.encrypt Off
php_flag suhosin.session.encrypt Off
php_flag suhosin.disable.display_errors Off
;php_value suhosin.get.max_vars 500

==========================

That’s all this will do it.

Code to Parse PHP pages in HTML

Use this code to parse PHP pages in HTML :
=====================================

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

=====================================

If you want to check whether this code works or not  then create a test page using the following code :

[email protected][~]# vi  test.html

< html>
< head>
< body>
< h1>
< ? php echo “Test Page”;  ?>
< /h1>
< /body>
< /html>

That’s all this will do it.