Index: [Article Count Order] [Thread]

Date:  Fri, 13 Feb 2009 17:25:49 -0500
From:  "Lucas Peyatt - Ohio Web Hosting & Development" <bluequartz (at mark) ohiowebhosting.net>
Subject:  [coba-e:15056] Forwarding Mail & Spam
To:  coba-e (at mark) bluequartz.org
Message-Id:  <20090213222549.M51790 (at mark) ohiowebhosting.net>
X-Mail-Count: 15056

About 4 months ago I started forwarding my mail to my cell phone. The service I 
forward it to has a aggressive spam filtering setup. So I got a bounce message 
for every spam message that was forwarded. This was because the .foward is 
processed after .procmailrc. 

This was my solution, I put this into my procmailrc file,

:0:
* ^X-Spam-Status: No
{
  :0 c
  ! foward (at mark) address.here.com

  :0
  mbox
}

This filters messages that are not spam, sends them to the forward address, and 
puts them into the mbox file. Perhaps something like this could be used instead 
of the .forward file.


--
Lucas Peyatt
Ohio Web Hosting & Development
lucas (at mark) ohiowebhosting.net
www.ohiowebhosting.net
937.969.4476 dayton
614.441.8169 columbus
513.258.2376 cincinnati
206.350.1292 facsimile