arg1=
The argument to a check_ rule set syslog equate
When sendmail processes one of
the check_
rule
sets (The Local_check_ Rule Sets on page 252) and when that rule set rejects a
message, sendmail logs one of
the following two messages:
... ruleset=rset, arg1=firstarg, discard ... ruleset=rset, arg1=firstarg, reject=reason
Here, rset is the name of the
rule set called (such as check_mail
, Local_check_mail and check_mail
on page 255). The workspace passed to the rule set
is indicated by
firstarg.
Note that some check_
rule sets (such as check_relay
, Local_check_relay and check_relay on page 252) take more than one argument. If so,
the workspace is provided with the first argument
separated from the second with a $|
operator. When a
second argument is supplied, the log lines shown
earlier will have an arg2=
equate added which shows that
second argument.
When a message is rejected, a reason is passed back to
the original envelope sender. That reason is echoed
with the reject=
reason
(reject= on page
526).
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.