<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hackepedia.org/index.php?action=history&amp;feed=atom&amp;title=Header_checks</id>
	<title>Header checks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hackepedia.org/index.php?action=history&amp;feed=atom&amp;title=Header_checks"/>
	<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Header_checks&amp;action=history"/>
	<updated>2026-05-08T15:23:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://hackepedia.org/index.php?title=Header_checks&amp;diff=5622&amp;oldid=prev</id>
		<title>Franks: Created page with &quot; # Important! This might break stuff. Once you have installed it, do a # postfix reload while running tail -f /var/log/mail.log and watch for errors. Send some text emails usi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://hackepedia.org/index.php?title=Header_checks&amp;diff=5622&amp;oldid=prev"/>
		<updated>2013-12-29T03:58:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; # Important! This might break stuff. Once you have installed it, do a # postfix reload while running tail -f /var/log/mail.log and watch for errors. Send some text emails usi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; # Important! This might break stuff. Once you have installed it, do a # postfix reload while running tail -f /var/log/mail.log and watch for errors. Send some text emails using the subjects below and watch what happens&lt;br /&gt;
 # This should block everything from 1900-2012.&lt;br /&gt;
 /^Date: .* 200[0-12]/ REJECT Spam Header Past Date 2000s&lt;br /&gt;
 /^Date: .* 19[0-9][0-9]/ REJECT Spam Header Past Date 1900s&lt;br /&gt;
 /^Subject: .*Make Money Fast!/ REJECT  &lt;br /&gt;
 /^Subject: .*Loan Offer/ REJECT Not looking for a loan thanks&lt;br /&gt;
 /^Subject: *Your email contains VIRUSES/ DISCARD virus notification&lt;br /&gt;
 /^Content-Disposition:.*VIRUS1_DETECTED_AND_REMOVED/&lt;br /&gt;
        DISCARD virus notification&lt;br /&gt;
 /^Content-Disposition:.*VirusWarning.txt/ DISCARD virus notification&lt;br /&gt;
 # Do not accept these types of attachments&lt;br /&gt;
 /^Content-(Type|Disposition):.*(file)?name=.*\.(bat|com|exe)/ REJECT Bad Attachment .${3}&lt;br /&gt;
 # non-RFC Compliance headers&lt;br /&gt;
 /[^[:print:]]{7}/  REJECT 2047rfc&lt;br /&gt;
 /^.*=20[a-z]*=20[a-z]*=20[a-z]*=20[a-z]*/ REJECT 822rfc1&lt;br /&gt;
 /(.*)?\{6,\}/ REJECT 822rfc2&lt;br /&gt;
 /(.*)[X|x]\{3,\}/ REJECT 822rfc3&lt;br /&gt;
 # Unreadable Language Types? -- NON-acsii un-printable&lt;br /&gt;
 /^Subject:.*=\?(GB2312|big5|euc-kr|ks_c_5601-1987|koi8)\?/ REJECT NotReadable1&lt;br /&gt;
 /^Content-Type:.*charset=&amp;quot;?(GB2312|big5|euc-kr|ks_c_5601-1987|koi8)/ REJECT NotReadable2&lt;br /&gt;
 /^Subject: =?big5?/     REJECT Chinese encoding not accepted by this server&lt;br /&gt;
 /^Subject: =?EUC-KR?/   REJECT Korean encoding not allowed by this server&lt;br /&gt;
 /^Subject: ADV:/        REJECT Advertisements not accepted by this server &lt;br /&gt;
 /^Subject: =?Windows-1251?/     REJECT Russian encoding not allowed by this server&lt;br /&gt;
 /^Subject: =\?KOI8-R\?/ REJECT Russian encoding not allowed by this server&lt;br /&gt;
 /^Subject:.*=\?(big5|euc-kr|gb2312|ks_c_5601-1987)\?/   REJECT Language not accepted by this server as it is probably spam&lt;br /&gt;
 /[^[:print:]]{8}/       REJECT Sorry, ascii characters only permitted by this server&lt;br /&gt;
 /^From:.*\@.*\.cn/      REJECT Sorry, Chinese mail not allowed here&lt;br /&gt;
 /^From:.*\@.*\.kr/      REJECT Sorry, Korean mail not allowed here&lt;br /&gt;
 /^From:.*\@.*\.tr/      REJECT Sorry, Turkish mail not allowed here&lt;br /&gt;
 /^From:.*\@.*\.ru/      REJECT Sorry, Russian mail not allowed here&lt;br /&gt;
 /^From:.*\@.*\.ro/      REJECT Sorry, Romanian mail not allowed here&lt;/div&gt;</summary>
		<author><name>Franks</name></author>
	</entry>
</feed>