Mercurial > dovecot > core-2.2
changeset 9103:5c12eac2c3ca HEAD
s/deliver/lda/
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 13 Apr 2009 20:15:14 -0400 |
parents | 8be5ca07189f |
children | c6d306772f4e |
files | src/lda/main.c src/lib-storage/index/maildir/maildir-copy.c src/plugins/acl/acl-mailbox-list.c src/plugins/acl/acl-storage.c |
diffstat | 4 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lda/main.c Mon Apr 13 20:07:59 2009 -0400 +++ b/src/lda/main.c Mon Apr 13 20:15:14 2009 -0400 @@ -170,8 +170,8 @@ static void print_help(void) { printf( -"Usage: deliver [-c <config file>] [-a <address>] [-d <username>] [-p <path>]\n" -" [-f <envelope sender>] [-m <mailbox>] [-e] [-k]\n"); +"Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>]\n" +" [-f <envelope sender>] [-m <mailbox>] [-e] [-k]\n"); } int main(int argc, char *argv[]) @@ -198,7 +198,7 @@ enum mail_error error; if (getuid() != geteuid() && geteuid() == 0) { - /* running setuid - don't allow this if deliver is + /* running setuid - don't allow this if the binary is executable by anyone */ struct stat st;
--- a/src/lib-storage/index/maildir/maildir-copy.c Mon Apr 13 20:07:59 2009 -0400 +++ b/src/lib-storage/index/maildir/maildir-copy.c Mon Apr 13 20:15:14 2009 -0400 @@ -140,7 +140,7 @@ if (strcmp(mail->box->storage->name, MAILDIR_STORAGE_NAME) == 0) src_mbox = (struct maildir_mailbox *)mail->box; else if (strcmp(mail->box->storage->name, "raw") == 0) { - /* deliver uses raw format */ + /* lda uses raw format */ src_mbox = NULL; } else { /* Can't hard link files from the source storage */ @@ -220,7 +220,7 @@ do_hardlink, &do_ctx) < 0) return -1; } else { - /* raw / deliver */ + /* raw / lda */ if (mail_get_special(mail, MAIL_FETCH_UIDL_FILE_NAME, &path) < 0 || *path == '\0') return 0;
--- a/src/plugins/acl/acl-mailbox-list.c Mon Apr 13 20:07:59 2009 -0400 +++ b/src/plugins/acl/acl-mailbox-list.c Mon Apr 13 20:15:14 2009 -0400 @@ -565,7 +565,7 @@ if (auser == NULL) { /* ACLs disabled for this user */ } else if ((list->ns->flags & NAMESPACE_FLAG_INTERNAL) != 0) { - /* no ACL checks for internal namespaces (deliver, shared) */ + /* no ACL checks for internal namespaces (lda, shared) */ if (list->ns->type == NAMESPACE_SHARED) acl_mailbox_list_init_shared(list); } else {
--- a/src/plugins/acl/acl-storage.c Mon Apr 13 20:07:59 2009 -0400 +++ b/src/plugins/acl/acl-storage.c Mon Apr 13 20:15:14 2009 -0400 @@ -176,7 +176,7 @@ if (auser == NULL) { /* ACLs disabled for this user */ } else if ((storage->ns->flags & NAMESPACE_FLAG_INTERNAL) != 0) { - /* no ACL checks for internal namespaces (deliver) */ + /* no ACL checks for internal namespaces (lda) */ } else { astorage = p_new(storage->pool, struct acl_mail_storage, 1); astorage->module_ctx.super = storage->v;