Upgrade doesnt work if using mysql dict types
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Invalid
|
Undecided
|
LaMont Jones |
Bug Description
Whenever any updates to Postfix come out, I have to change my main.cf so there are no mysql: dict types in there otherwise dist-upgrade fails:
darrenm@ugs:~$ sudo apt-get dist-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up postfix (2.5.1-1~gutsy2) ...
Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.
Running newaliases
postalias: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postfix-mysql:
postfix-mysql depends on postfix; however:
Package postfix is not configured yet.
postfix-mysql depends on postfix (= 2.5.1-1~gutsy2); however:
Package postfix is not configured yet.
dpkg: error processing postfix-mysql (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
postfix
postfix-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Changed in postfix: | |
status: | New → Incomplete |
status: incomplete
What makes you think that's a supported configuration? I've reviewed the
postfix documentation and don't find it. I think what you want is described
in the "Using MySQL tables" section of the MYSQL_README..
Please check that and provide the output of postconf -n and a copy of the mysql-aliases. cf file (IMPORTANT: Munge or remove the user ID
/etc/postfix/
and password in that file before providing it)