Skip to content

Commit

Permalink
lmtp: local: Added structural comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Dec 7, 2017
1 parent ebdfdb7 commit 1c1396e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/lmtp/lmtp-local.c
Expand Up @@ -27,6 +27,14 @@
#define ERRSTR_TEMP_MAILBOX_FAIL "451 4.3.0 <%s> Temporary internal error"
#define ERRSTR_TEMP_USERDB_FAIL_PREFIX "451 4.3.0 <%s> "

/*
* LMTP local
*/

/*
* Recipient
*/

void client_rcpt_anvil_disconnect(const struct mail_recipient *rcpt)
{
const struct mail_storage_service_input *input;
Expand Down Expand Up @@ -63,6 +71,10 @@ client_rcpt_fail_all(struct client *client)
}
}

/*
* RCPT command
*/

static int
lmtp_rcpt_to_is_over_quota(struct client *client,
const struct mail_recipient *rcpt)
Expand Down Expand Up @@ -165,6 +177,10 @@ void rcpt_anvil_lookup_callback(const char *reply, void *context)
client_input_handle(client);
}

/*
* DATA command
*/

static int
client_deliver(struct client *client, const struct mail_recipient *rcpt,
struct mail *src_mail, struct mail_deliver_session *session)
Expand Down

0 comments on commit 1c1396e

Please sign in to comment.