Posts Tagged ‘virtual mail’

fatal: open database /etc/postfix/virtual.db: No such file or directory


Hi again

in order to cover this error you should first create your virtual.db file, by typing the following command.

postmap /etc/postfix/virtual

but perhaps this problem still exists. as i wrote in my previous posts the postfix uses chroot by default. therefore you need to link the virtual.db file into the postfix root directory.

ln -s /etc/postfix/virtual.db /var/spool/postfix/etc/

after that the error should be eliminated from your mail log files.


ln -s /etc/postfix/virtual.db /var/spool/postfix/etc/

     Copyrighted Mehdi Behamin , All Rights Reserved
Blog has been visited 204743 times