OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Terence Dewaele (dewaeledream-up.com)
Date: Sat Dec 01 2001 - 12:35:19 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I have a little pb with postfix and mysql ...

    I have used this howto:
    http://kummefryser.dk/HOWTO/mail/postfix_mysql.html

    But i don't compiled postfix myself, i have used the debian package
    postfix & postfix-mysql

    And i have errors in my log :
    Dec 1 19:18:20 kawa postfix/qmgr[9610]: 10C0BFD23:
    from=<rootkawa.test.com>, size=304, nrcpt=1 (queue active)
    Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: connect to mysql
    server localhost: Can't connect to local MySQL server through socket
    '/var/run/mysqld/mysqld.sock' (111)
    Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: 9FC3AFD8C:
    virtual_maps map lookup problem for rootkawa.test.com
    Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: 9FC3AFD8C: skipping
    further client input
    Dec 1 19:18:21 kawa postfix/qmgr[9610]: 10C0BFD23: status=deferred
    (bounce failed)

    But il i comment the transport_maps line and virtual_maps line i have no
    errors. My Mysql work correctly and (for example) virtual_mailbox_maps
    connect correctly to mysql database.

    --------------- postconf -m ------------------------
    nis
    dbm
    regexp
    environ
    btree
    unix
    hash
    ----------------------------------------------------

    ------------------------ main.cf -------------------
    mail_owner = postfix
    program_directory = /usr/lib/postfix
    mydestination = kawa.test.com, localhost.test.com
    myhostname = kawa.test.com
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix

    transport_maps = mysql:/etc/postfix/transport.cf
    virtual_mailbox_base = /data/mail
    virtual_uid_maps = mysql:/etc/postfix/ids.cf
    virtual_gid_maps = mysql:/etc/postfix/ids.cf
    virtual_mailbox_maps = mysql:/etc/postfix/aliases.cf
    virtual_maps = mysql:/etc/postfix/remote_aliases.cf
    ----------------------------------------------------

    P.S:
    I a under debian linux woody (testing).
    My version of postfix is : postfix 0.0.20011115.SNAPSHOT-1

    Thanks for your help!!!

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users