Skip to content

how to set listen=* to disable ipv6 for dovecot #2356

@a7711555

Description

@a7711555

Subject

I have questions about configuration of covecot in container

Description

The conatiner keeps produce the error while running

I found the default configuration of dovecot is listen = *, ::

and should be set to listen=* to disable ipv6 but I found no way to replace it.

I tried set POSTFIX_INET_PROTOCOLS=ipv4 in environment variable but it's only for profix.

am I missing somthing? Thanks very much.

mailserver    | Jan  4 10:49:17 mail dovecot: master: Error: socket() failed: Address family not supported by protocol
mailserver    | Jan  4 10:49:17 mail dovecot: master: Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
mailserver    | Jan  4 10:49:17 mail dovecot: master: Error: socket() failed: Address family not supported by protocol
mailserver    | Jan  4 10:49:17 mail dovecot: master: Error: service(quota-status): listen(::, 65265) failed: Address family not supported by protocol
mailserver    | Jan  4 10:49:17 mail dovecot: master: Fatal: Failed to start listeners

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomeone asked a question - feel free to answermeta/help wantedThe OP requests help from others - chime in! :Dmeta/needs triageThis issue / PR needs checks and verification from maintainerspriority/low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions