<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with procmail</title>
      <link>http://ask.metafilter.com/tags/procmail</link>
      <description>Questions tagged with 'procmail' at Ask MetaFilter.</description>
	  <pubDate>Sat, 10 Mar 2007 10:52:58 -0800</pubDate> <lastBuildDate>Sat, 10 Mar 2007 10:52:58 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Procmail rule to drop image-attachment spam?</title>
	<link>http://ask.metafilter.com/58466/Procmail%2Drule%2Dto%2Ddrop%2Dimageattachment%2Dspam</link>	
	<description>How can I write a procmail rule that would drop messages with GIF or JPEG attachments under 100kB in size? The vast majority of junkmail I receive has image attachments. Sometimes I get real mail from friends with image attachments.&lt;br&gt;
&lt;br&gt;
The difference is the file size. Spam attachments are rarely over 100kB, while real pictures from digital cameras are of course much larger.&lt;br&gt;
&lt;br&gt;
How can I write a procmail rule to drop any messages with image attachments under a certain size?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.58466</guid>
	<pubDate>Sat, 10 Mar 2007 10:52:58 -0800</pubDate>
	<category>attachment</category>
	<category>email</category>
	<category>e-mail</category>
	<category>filter</category>
	<category>mail</category>
	<category>procmail</category>
	<category>spam</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>why won&apos;t procmail do what I want it to?</title>
	<link>http://ask.metafilter.com/30743/why%2Dwont%2Dprocmail%2Ddo%2Dwhat%2DI%2Dwant%2Dit%2Dto</link>	
	<description>I have a few questions about procmail, specifically the INCLUDERC command and a few other functions. 1. I use procmail (v3.22), along with elm (v2.5), for email. My recipe works basically fine, but I want to make it easier to update and maintain when I want to whitelist someone or blacklist a term, so I want to use separate recipe files to split out the different functions. So, using INCLUDERC, I built a few of these files but procmail seems to just skip them, at least as far as I can tell by having VERBOSE set to on. What are some common things I might be doing that would cause this? I&apos;ve checked the filenames, file permissions and file paths and I&apos;m sort of stumped.&lt;br&gt;
&lt;br&gt;
2. I have a domain that is the same as my name. Way back when I used to put a lot of custom mailto links on my website. These are all now spam cannons and mail to these addresses can safely be ported to /dev/null. I&apos;ve read that you can create OR queries in procmail just by doing something like this&lt;br&gt;
&lt;br&gt;
&lt;code&gt;:0 H&lt;br&gt;
	* ^To.*crazynutpostcardlady&lt;br&gt;
	* ^To.*barthrulz&lt;br&gt;
	{&lt;br&gt;
		:0 fhw&lt;br&gt;
		| formail -A &quot;Suspected_Spam: To... bad address&quot; # a relic from the rest of my script&lt;br&gt;
	:0:&lt;br&gt;
	/dev/null	&lt;br&gt;
	}&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
but when I do it, procmail reads the first address and then goes on to the next condition. If I break them out separately, as I do in &lt;a href=&quot;http://jessamyn.com/tempo/.procmailrc&quot;&gt;my procmail script&lt;/a&gt;, it&apos;s fine, but a bitch to update. I&apos;ve been reading FAQs all day but I feel that there is clearly something I&apos;m missing about how procmail operates. I&apos;m comfy in a unix shell but otherwise don&apos;t have a lot of coding background so regexps are sort of new for me.&lt;br&gt;
&lt;br&gt;
I may migrate to spam assassin or something else at some point, but for now I&apos;m just looking for help with either of these two puzzles so please, no general mail filtering advice unless it helps me make this recipe better. Thanks for helping me with procmail.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.30743</guid>
	<pubDate>Fri, 13 Jan 2006 06:50:38 -0800</pubDate>
	<category>elm</category>
	<category>email</category>
	<category>mailfiltering</category>
	<category>procmail</category>
	<dc:creator>jessamyn</dc:creator>
	</item>
	<item>
	<title>Advanced parsing with procmail</title>
	<link>http://ask.metafilter.com/25271/Advanced%2Dparsing%2Dwith%2Dprocmail</link>	
	<description>Procmail text parsing.  Might you be able to help? I&apos;m attempting to set up an autoreply server where if you send mail in the form of specialtag_your+email.address@mydomain.com, it will reply back to your@email.address.  I&apos;ve been playing around with regex&apos;s to parse the text, but it doesnt&apos; seem to be clicking and I&apos;m wondering if I&apos;m missing something fundamental.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.25271</guid>
	<pubDate>Mon, 10 Oct 2005 08:40:31 -0800</pubDate>
	<category>email</category>
	<category>procmail</category>
	<category>unix</category>
	<dc:creator>VulcanMike</dc:creator>
	</item>
	<item>
	<title>Anyone have a procmail recipe that uses &quot;bogofilter&quot;, &quot;spamassassin&quot; or both?</title>
	<link>http://ask.metafilter.com/5630/Anyone%2Dhave%2Da%2Dprocmail%2Drecipe%2Dthat%2Duses%2Dbogofilter%2Dspamassassin%2Dor%2Dboth</link>	
	<description>Anyone have a procmail recipe that uses &quot;bogofilter&quot;, &quot;spamassassin&quot; or both (in concert)? My email filtering system doesn&apos;t seem to be working as efficiently as it once did.  I fear that I tweaked it one too many times and borked myself somewhere along the line.  My shell account has both &quot;bogofilter&quot; and &quot;spamassassin&quot; available on the system.  I had used them both, invoked by procmail coupled with bindings that allowed me to tie it to Mutt).  I think the best strategy is to rebuild from scratch.  It&apos;s a good opportunity to see what works for other people.  I scoured UseNet and the pertinent FAQs and found few concrete examples.  Anyone wanna share what they are doing with either of the programs mentioned?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2004:site.5630</guid>
	<pubDate>Thu, 04 Mar 2004 07:12:08 -0800</pubDate>
	<category>bogofilter</category>
	<category>procmail</category>
	<category>spamassassin</category>
	<dc:creator>RavinDave</dc:creator>
	</item>
	<item>
	<title>Postfix Fix?</title>
	<link>http://ask.metafilter.com/5068/Postfix%2DFix</link>	
	<description>I installed OS X 10.3.2 from scratch on my Imac and it works great.  Then I enabled Postfix using &quot;postfix enabler&quot; and I was receiving email and it was a glorious moment.&lt;br&gt;
&lt;br&gt;
However, during my attempts to enable procmail, I broke something and even reverting to the backed up postfix config files won&apos;t fix it, nor will re-running postfix enabler.&lt;br&gt;
&lt;br&gt;
Can I restore Postfix to its pristine state without reinstalling 10.3, or can I reinstall 10.3 and retain all of the stuff I installed using Fink?&lt;br&gt;
&lt;br&gt;
Many thanks.  I would ask this question on a newsgroup, but that postfix crew are a bunch of meanies. In retrospect, this question is probably a little too narrow for this forum.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2004:site.5068</guid>
	<pubDate>Mon, 02 Feb 2004 10:50:46 -0800</pubDate>
	<category>apple</category>
	<category>fink</category>
	<category>mac</category>
	<category>osx</category>
	<category>postfix</category>
	<category>procmail</category>
	<dc:creator>mecran01</dc:creator>
	</item>
	
	</channel>
</rss>

