reject=
The reason a message was rejected 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 the
following message:
... 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. The
reason for the rejection is echoed with the reject=
reason. For
example, the following rule causes mail to
fax to be rejected:
Rfax $#error $@ 5.1.3 $: cannot send mail to fax
This rule would produce a reject=
syslog(3) message such as
this:
reject=553 5.1.3 <fax@ourhost>... cannot send mail to fax
A complete description of the construction of rejection messages can be found throughout Chapter 7.
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.