GF 3.3, unsupported dictionary type: mysql

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

GF 3.3, unsupported dictionary type: mysql

lists-3
I'm trying to migrate server to new vm, installed postfix* from GF (1)

but, after copying over main.cf/master.cf get this:


Apr  6 00:34:46 emu postfix/proxymap[15601]: error: unsupported dictionary
type:           mysql
Apr  6 00:34:46 emu postfix/proxymap[15601]: error: unsupported dictionary
type:           mysql
...

postconf shows no mysql

Centos 6

daemon started -- version 3.3.3, configuration /etc/postfix


Linux 2.6.32-754.10.1.el6.x86_64 #1 SMP Tue Jan 15 17:07:28 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux


what did I do wrong ?

# yum shell --enablerepo=gf-plus
Loaded plugins: fastestmirror
Setting up Yum Shell
> install postfix3 postfix3-ldap postfix3-mysql postfix3-pcre
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.swin.edu.au
 * epel: ucmirror.canterbury.ac.nz
 * extras: ftp.swin.edu.au
 * remi-safe: mirror.nsw.coloau.com.au
 * updates: mirror.ventraip.net.au
gf-plus                                                  | 2.9 kB     00:00
Package 2:postfix3-3.3.3-1.gf.el6.x86_64 already installed and latest version
Package 2:postfix3-ldap-3.3.3-1.gf.el6.x86_64 already installed and latest
version
Package 2:postfix3-mysql-3.3.3-1.gf.el6.x86_64 already installed and
latest version
Package 2:postfix3-pcre-3.3.3-1.gf.el6.x86_64 already installed and latest
version
>

# postconf -m
btree
cidr
environ
fail
hash
inline
internal
memcache
nis
pipemap
proxy
randmap
regexp
socketmap
static
tcp
texthash
unionmap
unix

Reply | Threaded
Open this post in threaded view
|

Re: GF 3.3, unsupported dictionary type: mysql

John Fawcett
On 06/04/2019 01:43, [hidden email] wrote:

> I'm trying to migrate server to new vm, installed postfix* from GF (1)
>
> but, after copying over main.cf/master.cf get this:
>
>
> Apr  6 00:34:46 emu postfix/proxymap[15601]: error: unsupported dictionary
> type:           mysql
> Apr  6 00:34:46 emu postfix/proxymap[15601]: error: unsupported dictionary
> type:           mysql
> ...
>
> postconf shows no mysql
>
> Centos 6
>
> daemon started -- version 3.3.3, configuration /etc/postfix
>
>
> Linux 2.6.32-754.10.1.el6.x86_64 #1 SMP Tue Jan 15 17:07:28 UTC 2019
> x86_64 x86_64 x86_64 GNU/Linux
>
>
> what did I do wrong ?

no mysql file in dynamicmaps.cf.d ?

I guess it should have been in the postfix3-mysql pacakge you installed

yum --enablerepo=gf-plus whatprovides /etc/postfix/dynamicmaps.cf.d/mysql.cf

John
Reply | Threaded
Open this post in threaded view
|

Re: GF 3.3, unsupported dictionary type: mysql

lists-3
On Sat, April 6, 2019 8:47 pm, John Fawcett wrote:
> On 06/04/2019 01:43, [hidden email] wrote:

>> what did I do wrong ?
>
> no mysql file in dynamicmaps.cf.d ?
>
> I guess it should have been in the postfix3-mysql pacakge you installed
>
>
> yum --enablerepo=gf-plus whatprovides
> /etc/postfix/dynamicmaps.cf.d/mysql.cf


John, thanks

yes, I'm not sure what I did wrong, but, I've looked at a Centos 7 I
migrated recently, and, it did have both dynamicmaps.cf as well as
dynamicmaps.cf.d dir, so I simply created same on this, and, it seems I'm
one step further... no more errors..

so maybe I've missed something that required on C6, not sure

thanks again, V

Reply | Threaded
Open this post in threaded view
|

Re: GF 3.3, unsupported dictionary type: mysql

Peter Ajamian
In reply to this post by lists-3
On 6/04/19 12:43 PM, [hidden email] wrote:
> I'm trying to migrate server to new vm, installed postfix* from GF (1)

This includes postfix3-mysql, right?  What's the output of:
rpm -qa postfix\*

> postconf shows no mysql

Does this command output anything?
rpm -Va postfix3\*

> Centos 6

CentOS 6 doesn't make much sense for a new install, it will be going EOL
in 2020 and I won't be building postfix 3.4 for CentOS 6 due to the
newer openssl requirements.

> what did I do wrong ?

The only things I can think of are a corrupt postfix3 or postfix3-mysql
install.

> Package 2:postfix3-3.3.3-1.gf.el6.x86_64 already installed and latest version
> Package 2:postfix3-mysql-3.3.3-1.gf.el6.x86_64 already installed and
> latest version

Ok, so these are at least installed.

> # postconf -m
> btree
> cidr
> environ
> fail
> hash
> inline
> internal
> memcache
> nis
> pipemap
> proxy
> randmap
> regexp
> socketmap
> static
> tcp
> texthash
> unionmap
> unix

That's missing ldap and pcre as well.  Looks like a corrupted postfix3
install.  This might fix it:

yum --enablerepo=gf-plus reinstall postfix3


Peter
Reply | Threaded
Open this post in threaded view
|

Re: GF 3.3, unsupported dictionary type: mysql

Peter Ajamian
In reply to this post by lists-3
On 6/04/19 11:09 PM, [hidden email] wrote:
> yes, I'm not sure what I did wrong, but, I've looked at a Centos 7 I
> migrated recently, and, it did have both dynamicmaps.cf as well as
> dynamicmaps.cf.d dir, so I simply created same on this, and, it seems I'm
> one step further... no more errors..

You've either deleted those or it was a corrupted install to begin with.
  The postfix3 package does create those directories on install:

[root@el6-test ~]# rpm -ql postfix3 | grep dynamicmaps
/etc/postfix/dynamicmaps.cf
/etc/postfix/dynamicmaps.cf.d

Running:

yum --enablerepo=gf-plus clean all
yum --enablerepo=gf-plus reinstall postfix3

...should fix it properly.


Peter