return 0;
}
-static void client_rcpt_fail_all(struct client *client)
-{
- struct mail_recipient *const *rcptp;
-
- array_foreach(&client->state.rcpt_to, rcptp) {
- client_send_line(client, ERRSTR_TEMP_MAILBOX_FAIL,
- smtp_address_encode((*rcptp)->address));
- }
-}
-
static struct istream *client_get_input(struct client *client)
{
struct client_state *state = &client->state;
smtp_address_encode(rcpt->address), error);
}
+void client_rcpt_fail_all(struct client *client)
+{
+ struct mail_recipient *const *rcptp;
+
+ array_foreach(&client->state.rcpt_to, rcptp) {
+ client_send_line(client, ERRSTR_TEMP_MAILBOX_FAIL,
+ smtp_address_encode((*rcptp)->address));
+ }
+}
+
static int
lmtp_rcpt_to_is_over_quota(struct client *client,
const struct mail_recipient *rcpt)
void client_rcpt_anvil_disconnect(const struct mail_recipient *rcpt);
+void client_rcpt_fail_all(struct client *client);
+
bool cmd_rcpt_finish(struct client *client, struct mail_recipient *rcpt);
void rcpt_anvil_lookup_callback(const char *reply, void *context);