File: queueid_in_envrcpt

package info (click to toggle)
spamass-milter 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,040 kB
  • sloc: sh: 3,797; cpp: 1,731; awk: 312; ansic: 134; makefile: 61
file content (27 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/spamass-milter.cpp
+++ b/spamass-milter.cpp
@@ -784,7 +784,6 @@
 {
   SpamAssassin* assassin;
   struct context *sctx = (struct context *)smfi_getpriv(ctx);
-  const char *queueid;
 
   if (sctx == NULL)
   {
@@ -837,16 +836,6 @@
   // remember the MAIL FROM address
   assassin->set_from(string(envfrom[0]));
   
-  queueid=smfi_getsymval(ctx, const_cast<char *>("i"));
-  if (!queueid)
-  {
-    queueid="unknown";
-    warnmacro("i", "ENVFROM");
-  }
-  assassin->queueid = queueid;
-
-  debug(D_MISC, "queueid=%s", queueid);
-
   // tell Milter to continue
   debug(D_FUNC, "mlfi_envfrom: exit");