21

I've a problem w/ postfix

problem:

# tail -f /var/log/mail.err
Aug 20 17:57:50 myserver postfix/smtpd[8243]: error: unsupported dictionary type: mysql
Aug 20 17:57:50 myserver postfix/smtpd[8243]: error: unsupported dictionary type: mysql
Aug 20 17:58:05 myserver postfix/smtpd[8244]: error: unsupported dictionary type: mysql
Aug 20 17:58:05 myserver postfix/smtpd[8244]: error: unsupported dictionary type: mysql
Aug 20 18:00:38 myserver postfix/smtpd[8277]: error: unsupported dictionary type: mysql
Aug 20 18:00:38 myserver postfix/smtpd[8277]: error: unsupported dictionary type: mysql
Aug 20 18:03:32 myserver postfix/smtpd[8320]: error: unsupported dictionary type: mysql
Aug 20 18:03:32 myserver postfix/smtpd[8320]: error: unsupported dictionary type: mysql
Aug 20 18:03:33 myserver postfix/trivial-rewrite[8322]: error: unsupported dictionary type: mysql
Aug 20 18:03:33 myserver postfix/trivial-rewrite[8322]: error: unsupported dictionary type: mysql

idea?

flavio.troja
  • 706
  • 2
  • 5
  • 11

3 Answers3

24

[SOLVED] This fixed the issue for me in Ubuntu 14.04:

sudo apt-get install postfix-mysql
flavio.troja
  • 706
  • 2
  • 5
  • 11
13
  1. Check output of postconf -m. It will look like this:

    root@ds94:/usr/local/etc/postfix # postconf -m
    btree
    cidr
    environ
    fail
    hash
    internal
    memcache
    mysql
    pcre
    proxy
    regexp
    socketmap
    static
    tcp
    texthash
    unix
    
  2. If in output of postconf there isn't mysql string, it means that postfix is built without mysql support. To resolve it install postfix-mysql package.

masegaloeh
  • 17,978
  • 9
  • 56
  • 104
George Gaál
  • 470
  • 3
  • 8
2

Check if installed: dpkg -s postfix-mysql

if not install sudo apt-get -y install postfix-mysql

Problem solved.

beater
  • 29
  • 1