Plesk 9.2.x - Postfix SMTP authentication error

Date: 16 May 2009
[del.icio.us] [Slashdot] [Digg] [Reddit] [Facebook] [Technorati] [Google] [StumbleUpon]

postfix/smtpd[24579]: sql_sqlite3 plugin database open error /plesk/passwd.db: unable to open database file
postfix/smtpd[24579]: sql plugin could not connect to host localhost
postfix/smtpd[24579]: sql plugin couldn't connect to any host

Because of a bug or configuration error, the postfix is not chrooted, but it search to "/plesk/passwd.db" file.
You can symlink the directory like this:
ln -s "/var/spool/postfix/plesk" "/plesk"

Another problem, is that the passwd.db could be unreadable by postfix program, because it runs as the wrong user. You can do a quick workaround, by allowing r/w access for each users, but this is dangerous because the password file will be available for each logged in user on the server:
chmod a+r+w /var/spool/postfix/plesk /var/spool/postfix/plesk/passwd.db




Other items
HOW-TO Setup a PLESK Dedicated Server - 30 July 2011
HOW-TO setup Plesk with Samba Share and OpenVPN on CentOS - 15 April 2010
HOW-TO - Not get Plesk Certificate Error or get rid off "This Connection is Untrusted" message. - 23 March 2010
HOW-TO configure PLESK with NGinx (proxy reverse) - 15 March 2010
HOW-TO install ffmpeg, Mplayer, mencoder,FLVtool2 and Yamdi on Plesk Linux based server - 25 September 2009
HOW-TO restart automatically on Linux Kernel Panic if hanging on boot - 23 September 2009
Web Site hacked, iframe inserted, where to start? - 10 August 2009
Spam blacklist unlisting from sorbs.net - 31 July 2009
How to find out PLESK admin password? - 12 July 2009
Automated Remote FTP Backup shell script - 26 October 2008


| Adobe Dreamweaver Extensions | Code Faster | Company Website Builder | Control Panel Addons | Fast Template | G-Dating | GraFX Press | MiniCWB | Star Rating System |