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 :

=================================================
# root@server[~]#   chown username.mail /etc/valiases/domain.com

or

# root@server[~]# chown username:mail /etc/valiases/domain.com
==================================================

or

============================
# root@server[~]#
/scripts/fixvaliases
============================

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

That’s all this will do it.