X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fsieve%2Fserv_sieve.c;h=437bd662b8d37c7abcaa292578cf4cfcfe445803;hp=30e03100759b8272827a7792facf871325be1b96;hb=5ac2920028e92a453c686c799327d7a66b3e7b49;hpb=f59e2e6772d87d323d065f09919ec0876bf2e0be diff --git a/citadel/modules/sieve/serv_sieve.c b/citadel/modules/sieve/serv_sieve.c index 30e031007..437bd662b 100644 --- a/citadel/modules/sieve/serv_sieve.c +++ b/citadel/modules/sieve/serv_sieve.c @@ -2,7 +2,7 @@ * This module glues libSieve to the Citadel server in order to implement * the Sieve mailbox filtering language (RFC 3028). * - * Copyright (c) 1987-2018 by the citadel.org team + * Copyright (c) 1987-2020 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -619,10 +619,6 @@ void sieve_do_msg(long msgnum, void *userdata) { } else if (!CM_IsEmpty(msg, eRecipient)) { safestrncpy(my.envelope_to, msg->cm_fields[eRecipient], sizeof my.envelope_to); - if (!CM_IsEmpty(msg, eDestination)) { - strcat(my.envelope_to, "@"); - strcat(my.envelope_to, msg->cm_fields[eDestination]); - } stripallbut(my.envelope_to, '<', '>'); } else {