dovecot/postfix table lookup problem

  • Hey,


    so langsam bin ich verzweifelt...
    Ich habe einen vServer Debian Squeeze mit Froxlor laufen. Im Froxlor ne Mail Adresse erstellt.


    Dovecot und Postfix laut Froxlor installiert und konfiguriert. Trotzdem bekomme ich per Thunderbird keine Antwort vom Server.


    /var/log/mail.err sagt folgendes:

    Code
    fatal: mysql:/etc/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem


    und zwar im Sekundentakt.


    /var/log/mail.log spuckt das ier aus:

    Code
    postfix/trivial-rewrite[13874]: warning: mysql query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    postfix/trivial-rewrite[13874]: fatal: mysql:/etc/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
    postfix/qmgr[31873]: warning: problem talking to service rewrite: Interrupted system call
    postfix/master[31864]: warning: process /usr/lib/postfix/trivial-rewrite pid 13874 exit status 1
    postfix/master[31864]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling


    Der einzige query der in den Configs steht ist dieser:

    SQL
    select distinct username from mail_users where postfix = 'Y' and email in ((select mail_virtual.email_full from mail_virtual where mail_virtual.email = '%s' union select mail_virtual.destination from mail_virtual where mail_virtual.email = '%s'));


    Google meinte ich müsste in den Config dateien überall das localhost durch 127.0.0.1 austauschen, ist aber bereits der fall.


    Hat mir jemand rat?