Skip to content

ssl = required leads to errors in service blocks #1299

@rohieb

Description

@rohieb

I'm trying to require TLS (with client cert auth) on incoming LMTP connections. https://doc.dovecot.org/2.4.1/core/summaries/settings.html#ssl mentions the possible settings of ssl = no, ssl = yes, and ssl = required; however when I do:

# /etc/dovecot/conf.d/10-master.conf from line 64:
service lmtp {
  inet_listener lmtp {
    listen = * ::
    port = 24
    ssl = required
  }
}

… I get the error doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 68: ssl: Invalid boolean value: required (use yes or no) from doveconf -a.

In my understanding of the Named Filters and Named List Filters sections, this should effectively evaluate to ssl = required for the LMTP service. But I didn't find any documentation what settings are allowed in this service lmtp {…} block. Apparently it differs from the global settings, but how? https://doc.dovecot.org/2.4.1/core/config/ssl.html#how-to-specify-when-ssl-tls-is-required also mentions ssl = required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions