Discussion:
postfix 3.3.x virtual_* unused parameters
(too old to reply)
w***@gmail.com
2018-07-15 10:54:46 UTC
Permalink
Hello.

Since I installed Postfix 3.3.1 (previously 3.2.5) on Fedora 28 there started to appear error messages like:

postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: query=SELECT domain FROM domain WHERE domain='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: hosts=localhost
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: query=SELECT goto FROM alias WHERE address='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: hosts=localhost

It seems that Postfix now check mysql db parameters as postfix parameters.
Settings of these virtuals within main.cf are:

virtual_mailbox_domains = proxy:mysql:$config_directory/sql/mysql_virtual_domains_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/sql/mysql_virtual_alias_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_catchall_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/sql/mysql_virtual_mailbox_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_mailbox_maps.cf

How to solve this issue?

Thanks.
Vaclav
c***@gmail.com
2019-07-23 15:43:42 UTC
Permalink
Post by w***@gmail.com
Hello.
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: query=SELECT domain FROM domain WHERE domain='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: hosts=localhost
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: query=SELECT goto FROM alias WHERE address='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: hosts=localhost
It seems that Postfix now check mysql db parameters as postfix parameters.
virtual_mailbox_domains = proxy:mysql:$config_directory/sql/mysql_virtual_domains_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/sql/mysql_virtual_alias_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_catchall_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/sql/mysql_virtual_mailbox_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_mailbox_maps.cf
How to solve this issue?
Thanks.
Vaclav
Hello.
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: query=SELECT domain FROM domain WHERE domain='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: hosts=localhost
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: query=SELECT goto FROM alias WHERE address='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: hosts=localhost
It seems that Postfix now check mysql db parameters as postfix parameters.
virtual_mailbox_domains = proxy:mysql:$config_directory/sql/mysql_virtual_domains_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/sql/mysql_virtual_alias_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_catchall_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/sql/mysql_virtual_mailbox_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_mailbox_maps.cf
How to solve this issue?
Thanks.
Vaclav
Hello.
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: query=SELECT domain FROM domain WHERE domain='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf: unused parameter: hosts=localhost
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: password=password
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: dbname=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: query=SELECT goto FROM alias WHERE address='%s' AND active = '1'
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: user=postfix
postfix[4394]: /usr/sbin/postconf: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf: unused parameter: hosts=localhost
It seems that Postfix now check mysql db parameters as postfix parameters.
virtual_mailbox_domains = proxy:mysql:$config_directory/sql/mysql_virtual_domains_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/sql/mysql_virtual_alias_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_catchall_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/sql/mysql_virtual_mailbox_maps.cf, proxy:mysql:$config_directory/sql/mysql_virtual_alias_domain_mailbox_maps.cf
How to solve this issue?
Thanks.
Vaclav
I have the same problem with opensuse leap 15.
Have you found any solution?
Claude

Loading...