This enables blocking on Received: headers as well as on From: headers. This facilitates blocking spammers who leave telltale marks in headers, such as their machine name, their IP address, or fake headers intended to deceive despaminators.
Edit rem.c as follows:
diff -ur Mix-2.9beta23.orig/Src/rem.c Mix-2.9beta23/Src/rem.c
--- Mix-2.9beta23.orig/Src/rem.c Tue Nov 7 18:43:26 2000
+++ Mix-2.9beta23/Src/rem.c Tue Nov 7 18:48:13 2000
@@ -77,7 +77,9 @@
if (err == -1)
goto hdrend;
- if ((bufieq(field, "from") || bufieq(field, "sender")) &&
+ /* If the sender email address or IP address matches anything
+ in source.blk, ignore the message. Modified by cmeclax. */
+ if ((bufieq(field, "from") || bufieq(field, "sender") || bufieq(field,"received")) &&
doblock(content, block) != 0)
goto end;
Then type make and copy the resulting mix binary over the old one (be sure to keep a backup of the old one).