postfix don't connect to mysql Following the step-by-step tutorial http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3 I wanted to create external hosting server for my own tasks. Therefore I used external static IP and my own domain name. Instead of server1.example.com I typed server.myrealdomain.com. Hostname: server. Maybe in /etc/hosts file I was wrong but I added localhost.localdomain like this: 127.0.0.1 localhost.localdomain localhost 123.456.789.012 server.myrealdomen.com server I made echo server.myrealdomain.com > /etc/hostname and hostname and hostname -f returned server.myrealdomain.com System mail name postfix was server.myrealdomain.com too. Visually all worked. But the first trouble was when I tried to connect through pure-ftp. Instead 'localhost' pure-ftp tried to connect using 'server.myrealdomain.com', i. e. 'ispconfig'@'server.myrealdomain.com'. When I changed string 'MYSQLServer 127.0.0.1' on 'MYSQLServer localhost' in /etc/pure-ftpd/db/mysql.conf files all started to work. But now the same problem with postfix. It receives error when try to connect for user 'ispconfig'@'server.myrealdomain.com'. In /etc/postfix directory I've found some config files where I can try change 'host 127.0.0.1' into 'host localhost'. But I feel it is not correctly. Now I have next errors: postfix/qmgr: warning: connect to mysql server 127.0.0.1: Access denied for user 'ispconfig'@'server.myrealdomain.com' (using password: YES) postfix/qmgr: warning: connect to mysql server 127.0.0.1: Host 'server.myrealdomain.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' postfix/qmgr: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem postfix/master: warning: process /usr/lib/postfix/qmgr pid 14976 exit status 1 Where is my problem and how can I fix it on Ubuntu Server 10.04? May I make 'server.myrealdomain.com' equal to 'localhost'? How? Thanks.