They are:
{auth_authen}
The client??™s authentication credentials as determined by the authentication process
(see ?§21.9.5 on page 804).
{auth_author}
The authorization identity as set by issuance of the SMTP AUTH= parameter (see
?§21.9.6 on page 805). This could be either a username or a user@host.domain
address.
{auth_type}
The mechanism used for authentication (see ?§21.9.8 on page 806), such as CRAMMD5
and PLAIN.
These three macros can also be used in any of the relay-testing rule sets to determine
whether a particular user may relay. To illustrate, consider a rule set designed to
allow senders with local accounts on the local machine to relay only if authenticated:
LOCAL_RULESETS
SLocal_check_rcpt
R$* $: $&{auth_type} $| $&{auth_authen}
RDIGEST-MD5 $| $+@$=w $# OK
RCRAM-MD5 $| $+@$=w $# OK
Here, the Local_check_rcpt rule set (?§7.1.3 on page 257) is called to validate the
envelope recipient. The first rule (R line) replaces the workspace (the $* on the left)
with three values: the current value of the ${auth_type} macro (?§21.9.8 on page
806); a $| literal; and the current value of the ${auth_authen} macro (?§21.9.5 on page
804). If the authentication type is either DIGEST-MD5 or CRAM-MD5 and if the domain is
* This mechanism requires that the laptop be running a mail reading/sending program that can use SMTP AUTH.
Pages:
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373