Defined Type: exim::authenticator

Defined in:
manifests/authenticator.pp

Summary

This module configures a single authenticator in exims configuration

Overview

Parameters:

  • client_name (Any) (defaults to: undef)

    This string is expanded, and the result used as the user name data when computing the response to the server’s challenge.

  • client_secret (Any) (defaults to: undef)

    This option must be set for the authenticator to work as a client. Its value is expanded and the result used as the secret string when computing the response.

  • client_send (Any) (defaults to: undef)

    Array of authentication data strings. The first string is send with the AUTH command. The remaining ones are send in response to prompts from the server. Circumflex characters ('^') are converted to binary zero bytes ('0') by Exim.

  • driver (Any)

    driver to use for the authenticator

  • public_name (Any)

    How to anounce the authenticator to the outside (PLAIN/LOGIN)

  • server_secret (Any) (defaults to: undef)

    For use with cram_md5, server_secret is expanded to obtain the password for that user.

  • server_condition (Any) (defaults to: undef)

    The authentication check

  • server_set_id (Any) (defaults to: undef)

    Set the $authenticated_id variable for later use

  • server_prompts (Any) (defaults to: undef)

    Promt used in the smtp session to ask for data (User: Password:)



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'manifests/authenticator.pp', line 36

define exim::authenticator (
  $driver,
  $public_name,
  $client_name      = undef,
  $client_secret    = undef,
  $client_send      = undef,
  $server_secret    = undef,
  $server_condition = undef,
  $server_set_id    = undef,
  $server_prompts   = undef,
  ){
  concat::fragment { "authenticator-${title}":
    target  => $::exim::config_path,
    content => template("${module_name}/authenticator/authenticator.erb"),
    order   => 5001,
  }
}