You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/momentum/4/hooks/index.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ description: "This chapter includes hook point and C function reference material
16
16
|[ec_httpsrv_register_auth](/momentum/4/apis-ec-httpsrv-register-auth)| Register an HTTP handler for authenticating a URI |
17
17
|[ec_httpsrv_request_local_address](/momentum/4/apis-ec-httpsrv-request-local-address)| Returns the local IP address from the current session |
18
18
|[ec_httpsrv_request_peer_address](/momentum/4/apis-ec-httpsrv-request-peer-address)| Returns the remote peer address from the current session |
19
-
|[inbound_smtp_tls_post_accept](/momentum/4/hooks/inbound-smtp-tls-post-accept)| Modify the message state after the tls handshake in esmtp_tls_accept (available in 4.4.0 or higher) |
19
+
|[inbound_smtp_tls_post_accept](/momentum/4/hooks/inbound-smtp-tls-post-accept)| Modify the message state after the tls handshake in esmtp_tls_accept (available in 4.4.0 or higher) |
20
+
|[core_smtp_tls_reporting](/momentum/4/hooks/core-smtp-tls-reporting)| Report TLS events for TLSRPT (TLS reporting) |
20
21
21
22
This chapter includes hook point and C function reference material that is specific to Momentum 4.
Copy file name to clipboardExpand all lines: content/momentum/4/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
lastUpdated: "09/30/2024"
3
-
title: "Momentum 4.x"
3
+
title: "Momentum 4.x and later"
4
4
description: "Message Systems Inc Copyright 2014-2024 Message Systems Inc Confidential Proprietary Abstract This book documents Momentum 4 Document generated on 2024 Sep 30 Table of Contents Preface 1 Typographical Conventions Used in This Document I Introduction to Momentum 1 Components 2 Life of A Message 3 Roles and Behaviors 4 Licensed..."
Copy file name to clipboardExpand all lines: content/momentum/4/modules/auth-radius.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,15 @@ The following example demonstrates how to configure Momentum to pass LOGIN crede
16
16
```
17
17
# Configure the RADIUS client
18
18
auth_radius {
19
-
NAS-IP-Address = 10.0.0.1 # the IP address of this SMTP server
19
+
NAS-IP-Address = fd01:345::1 # the IP address of this SMTP server
20
20
server "one" {
21
21
host = "radius-1.example.com"
22
22
secret = "secret1"
23
23
max_tries = "1"
24
24
timeout = "30"
25
25
}
26
-
server "two" {
27
-
host = "radius-2.example.com"
26
+
server "ipv6wport" {
27
+
host = "[2001:fd3::1]:2812"
28
28
secret = "secret2"
29
29
max_tries = "2"
30
30
timeout = "30"
@@ -85,7 +85,7 @@ RADIUS servers can be defined using the dictionary syntax shown above; the dicti
85
85
86
86
<dd>
87
87
88
-
The hostname or IP address of the RADIUS server. If a colon is present in the string then the left side of the string will be used as the hostname/IP address and the right hand side will be used as the port number on the server. If left unspecified, the RADIUS standard port number of 1812 will be used.
88
+
The hostname or IP address of the RADIUS server. The hostname/IP address can be followed by a colon and the port number on the server. If left unspecified, the RADIUS standard port number of 1812 will be used. An IPv6 address must be enclosed in brackets if a port was added.
Copy file name to clipboardExpand all lines: content/momentum/4/modules/mxip.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ mxip.example. 86400 IN NS localhost.
63
63
64
64
The mxip module implements a dns_get_As hook in order to augment the DNS resolution behaviour. If your integration or deployment also implements a dns_get_As hook, then you may not be able to use the mxip module.
65
65
66
-
The mxip module only supports IPv4 addresses in the hostname field of MX records. IPv6 addresses are explicitly not supported by the mxip module.
66
+
The mxip module supports IPv4 (and IPv6 as of Momentum 5.1) addresses in the hostname field of MX records.
description: "This module enables users to specify authentication parameters for a given set of messages so that Momentum will authenticate against the peer server when it sends outbound mail It currently supports the AUTH LOGINand AUTH PLAIN methods of authentication You can specify the parameters in configuration or in lua..."
4
+
description: "This module enables users to specify authentication parameters for a given set of messages so that Momentum will authenticate against the peer server when it sends outbound mail It currently supports the AUTH LOGIN, AUTH PLAIN and AUTH XOAUTH2 methods of authentication You can specify the parameters in configuration or in lua..."
5
5
---
6
6
7
-
<aname="idp22419360"></a>
7
+
<aname="modules.outbound_smtp_auth"></a>
8
8
9
-
This module enables users to specify authentication parameters for a given set of messages so that Momentum will authenticate against the peer server when it sends outbound mail. It currently supports the 'AUTH LOGIN' and 'AUTH PLAIN' methods of authentication. You can specify the parameters in configuration or in lua, or use a combination of both.
9
+
This module enables users to specify authentication parameters for a given set of messages so that
10
+
Momentum will authenticate against the peer server when it sends outbound mail. It currently
11
+
supports the `AUTH LOGIN`, `AUTH PLAIN` and `AUTH XOAUTH2` methods of authentication.
12
+
You can specify the parameters in configuration or in lua, or use a combination of both.
10
13
11
14
### Note
12
15
13
16
This module makes heavy use of message contexts to facilitate authentication. If it is enabled, you risk having extra I/O unless `keep_message_dicts_in_memory` is on.
14
17
15
-
**Configuration Change. ** This feature is available in Momentum 4.2 and later.
Configuration variables are listed below. These values can all be changed and overridden by setting context variables with the same name as the options in lua. All variables are valid in the binding group, binding, domain, and global scopes.
20
-
21
-
<dlclass="variablelist">
22
-
23
-
<dt>outbound_smtp_auth_key</dt>
24
-
25
-
<dd>
20
+
> This module is refactored in Momentum 5.1, but this feature is available in
21
+
Momentum 4.2 and later. `AUTH XOAUTH2` support is added in 5.1.
26
22
27
-
A unique key that can be used in lua to look up authorization details in a database. It enables you to easily trigger custom behavior based on a configuration scope. The default value is `false`.
23
+
Configuration variables are listed below. These values can all be changed and overridden by setting
24
+
message context variables with the same name as the options in lua.
25
+
All variables are valid in the binding group, binding, domain, and global scopes.
28
26
29
-
</dd>
27
+
<dlclass="variablelist">
30
28
31
29
<dt>outbound_smtp_auth_pass</dt>
32
30
33
31
<dd>
34
32
35
-
The password that will be passed to the remote server. The default value is `false`.
33
+
The password or auth token (e.g. for `AUTH XOAUTH2`) that will be passed to the remote server.
34
+
It has no default value.
36
35
37
36
### Note
38
37
39
-
Setting the password in configuration will leave it as plaintext. To set the password more securely, dynamically retrieve it from a data store in lua and set it in the context variable that corresponds to this option.
38
+
Setting the password in configuration will leave it as plaintext.
39
+
To set the password more securely, it's recommended to dynamically retrieve it from a data store
40
+
in lua and set it in the context variable that corresponds to this option.
40
41
41
42
</dd>
42
43
43
44
<dt>outbound_smtp_auth_type</dt>
44
45
45
46
<dd>
46
47
47
-
Determines what authentication protocol should be used. The only supported values are 'PLAIN' and 'LOGIN'. The default value is `false`.
48
+
Determines what authentication protocol should be used. The only supported values are `PLAIN`,
49
+
`LOGIN` and `XOAUTH2`. It has no default value.
48
50
49
51
</dd>
50
52
51
53
<dt>outbound_smtp_auth_user</dt>
52
54
53
55
<dd>
54
56
55
-
The username that will be passed to the remote server. The default value is `false`.
57
+
The username that will be passed to the remote server. It has no default value.
0 commit comments