Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Forum notifications get marked by spam filter

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    3 Posts 2 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eugene
      last edited by

      Hi forum admins,
      it's rather annoying than problematic but when I receive notification about personal message or any topic that I am watching my spam-filter reports:
      X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"

      Indeed in headers we have "Mime-Version: 1.0" two times.

      Is it fixable?
      Thanks.

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        That's crafted by SMF I presume, we have the latest stable version. It's open source, if you find a fix let me know.

        1 Reply Last reply Reply Quote 0
        • E
          Eugene
          last edited by

          In file Subs-post.php, function sendmail().

          starting at line 670

          				apache_reset_timeout();
          		}
          	}
          	else
          --		$mail_result = $mail_result && smtp_mail($to_array, $subject, $message, $send_html ? $headers : "Mime-Version: 1.0" . $line_break . $headers);
          ++		$mail_result = $mail_result && smtp_mail($to_array, $subject, $message, $headers);
          
          	// Everything go smoothly?
          	return $mail_result;
          
          

          !attention! I did not test it but looks like this is the line causing problem.

          http://ru.doc.pfsense.org

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.