title: How to purposely send mail to spam folder?
body: <p>Most people want to find a way to get the email they send out of the spam folder but I'm wondering if it's possible to force an email to be marked as spam. I do have a legitimate purpose for this, but I won't be getting into that.</p>
  
  <p>I'm using a PERL script that sets headers then appends a body and sends the message off using <code>sendmail</code> without <code>SMTP</code>.</p>
  
  <p>I did an analysis of several emails marked as spam vs legitimate emails. What I thought would trigger a spam response would be setting various common headers:</p>
  
  <pre><code>X-Spam-Score: 6.5
  X-Spam-Level: ******
  X-Spam-Flag: YES
  X-Spam-Status: Yes
  </code></pre>
  
  <p>This doesn't cause a message to go into the spam folder.</p>
  
  <p>Since I use outlook, I also tried setting <code>X-MS-Exchange-Organization-SCL: 9</code> which didn't work.</p>
  
  <p>I tried various other headers as well with no luck. Is there any way to accomplish this?</p>