Skip to content

MySQL password escaping #248

@mschering

Description

@mschering

Hi,

I've setup opendkim with mysql. Now I have some clients with special characters in the password. For example )($@?.
I've been searching the web but can't find any documentation on this topic. Is there any documentation on how to escape that in the /etc/opendkim.conf config file?

I have it like this but it fails with special characters:

# https://github.com/trusteddomainproject/OpenDKIM/blob/master/opendkim/README.SQL
SigningTable dsn:mysql://user:mypass?$@host/groupoffice/table=community_maildomains_dkim?keycol=domain?datacol=id
KeyTable     dsn:mysql://user:mypass?$@host/groupoffice/table=community_maildomains_dkim?keycol=id?datacol=domain,selector,privateKey

Thanks for any help!

Best regards,
Merijn

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-testingFlags things that have been fixed in develop

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions