projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed some leftover dependencies on message fields which no longer exist
[citadel.git]
/
citadel
/
modules
/
sieve
/
serv_sieve.c
diff --git
a/citadel/modules/sieve/serv_sieve.c
b/citadel/modules/sieve/serv_sieve.c
index 30e03100759b8272827a7792facf871325be1b96..437bd662b8d37c7abcaa292578cf4cfcfe445803 100644
(file)
--- 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).
*
* This module glues libSieve to the Citadel server in order to implement
* the Sieve mailbox filtering language (RFC 3028).
*
- * Copyright (c) 1987-20
18
by the citadel.org team
+ * Copyright (c) 1987-20
20
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.
*
* 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);
}
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 {
stripallbut(my.envelope_to, '<', '>');
}
else {