7 /* delivery of unknown recipients
9 /* #include "virtual.h"
11 /* int deliver_unknown(state)
14 /* deliver_unknown() delivers a message for unknown recipients.
18 /* Message delivery attributes (sender, recipient etc.).
20 /* Attributes describing user rights and mailbox location.
22 /* The result status is non-zero when delivery should be tried again.
26 /* The Secure Mailer license must be distributed with this software.
29 /* IBM T.J. Watson Research
31 /* Yorktown Heights, NY 10598, USA
38 /* Utility library. */
46 /* Application-specific. */
50 /* deliver_unknown - delivery for unknown recipients */
52 int deliver_unknown(LOCAL_STATE state
)
54 const char *myname
= "deliver_unknown";
57 * Make verbose logging easier to understand.
61 MSG_LOG_STATE(myname
, state
);
63 dsb_simple(state
.msg_attr
.why
, "5.1.1",
64 "unknown user: \"%s\"", state
.msg_attr
.user
);
65 return (bounce_append(BOUNCE_FLAGS(state
.request
),
66 BOUNCE_ATTR(state
.msg_attr
)));