Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

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

Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

volunteer
I upgraded to Postfix 3.3.1 from 2.x.x two days ago. I keep seeing the
following warnings:


This is repeated for the other files: domains.cf and forwardings.cf

I don't see any warnings for the file: alias-maps.cf even though it is
similiar to the above files.

I looked in the documentation (man pages and HTML readme files) and can't
find the answer. I have been using this setup since 2009 without a problem.
Is there a new database paradigm (connection style/template/method) that we
should switch too?

The documentation has not changed. It still lists using the above parameters
in the MYSQL_README.html file.

I saw that there were new directories added to /etc/postfix called
dynamicmaps.cf.d and postfix-files.d with a filed called mysql in each
directory. This leads me to believe that there is a new connection method.

Please do not ask me to post my config files.







--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

volunteer
I used the raw tags and I can't see the error messages now.  The error
messages were:
<br /><br />
Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
mysql:/etc/postfix/users.cf: unused parameter: password=xxxxxxx
Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
mysql:/etc/postfix/users.cf: unused parameter: dbname=mailbox
Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
mysql:/etc/postfix/users.cf: unused parameter: query=SELECT mail FROM users
WHERE mail='%>
Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
mysql:/etc/postfix/users.cf: unused parameter: user=administrator
Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
mysql:/etc/postfix/users.cf: unused parameter: hosts=127.0.0.1
<br /><br />




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

Viktor Dukhovni
On Fri, Aug 17, 2018 at 10:03:12AM -0700, volunteer wrote:

> I upgraded to Postfix 3.3.1 from 2.x.x two days ago. I keep seeing the
> following warnings:

On Fri, Aug 17, 2018 at 10:05:56AM -0700, volunteer wrote:

> I used the raw tags and I can't see the error messages now.  The error
> messages were:
> <br /><br />
> Aug 12 22:39:28 crash postfix[21125]: /usr/sbin/postconf: warning:
> mysql:/etc/postfix/users.cf: unused parameter: password=xxxxxxx

Perhaps you built Postfix from source on a system that does not
have the "m4" preprocessor installed.  If so, install m4, and
rebuild.

--
        Viktor.
Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

Viktor Dukhovni


> On Aug 17, 2018, at 4:20 PM, Volunteer <[hidden email]> wrote:
>
> I upgraded Postfix with DNF.

What repository is providing this Postfix build?  Perhaps
the upstream maintainer ran into the same issue.

--
        Viktor.

Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

volunteer
Victor,

I am a Fedora user.

Installed Packages
Name         : postfix
Epoch        : 2
Version      : 3.3.1
Release      : 1.fc28
Arch         : x86_64
Size         : 4.2 M
Source       : postfix-3.3.1-1.fc28.src.rpm
Repo         : @System
From repo    : updates
Summary      : Postfix Mail Transport Agent
URL          : http://www.postfix.org
License      : (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
Description  : Postfix is a Mail Transport Agent (MTA).

And, thank you for the assistance.


Tom



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

Andrew Ho
Did you install postfix-mysql.x86_64?


On 2018-08-17 04:50 PM, volunteer wrote:

> Victor,
>
> I am a Fedora user.
>
> Installed Packages
> Name         : postfix
> Epoch        : 2
> Version      : 3.3.1
> Release      : 1.fc28
> Arch         : x86_64
> Size         : 4.2 M
> Source       : postfix-3.3.1-1.fc28.src.rpm
> Repo         : @System
>  From repo    : updates
> Summary      : Postfix Mail Transport Agent
> URL          : http://www.postfix.org
> License      : (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
> Description  : Postfix is a Mail Transport Agent (MTA).
>
> And, thank you for the assistance.
>
>
> Tom
>
>
>
> --
> Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply | Threaded
Open this post in threaded view
|

Re: Postfix 3.3.1 - Warning: mysql: ...... unused parameter: user

Tuomo Soini
In reply to this post by Viktor Dukhovni
On Fri, 17 Aug 2018 16:25:07 -0400
Viktor Dukhovni <[hidden email]> wrote:

> > On Aug 17, 2018, at 4:20 PM, Volunteer <[hidden email]>
> > wrote:
> >
> > I upgraded Postfix with DNF.  
>
> What repository is providing this Postfix build?  Perhaps
> the upstream maintainer ran into the same issue.
>

I created a fedora bug about this issue and notified this is a security
issue because sql passwords get logged.

--
Tuomo Soini <[hidden email]>
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>