-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Feb 08, 2004 at 05:44:58PM -0800, Chris Berry wrote:

>Any message that is a reply to one of my messages should not be challenged.
>
>I thought that using a dated reply-to was the way to accomplish that.

I was just messing with this the other day.  Here's a chunk from my
.procmailrc:

# If it's to a dated address, I want to give it a chance to deliver even if
# TMDA considers the address expired.  If it's still valid, don't spam check
# it.  TMDA may act on the SA headers before it realizes it's a valid dated
# address.  That is, I want valid dated addresses to deliver even if SA thinks
# they're spam.

:0 fw
* !^X-Spam-Status: Yes
* !^X-TMDA-
* ^To: .*\/kyle-(exp|expires|dated|d)-.*@
* $!? /usr/bin/tmda-check-address '$MATCH' | grep -q '^STATUS: VALID'
| spamassassin

This is near the end of my .tmda/filters/incoming:

#
# At this point, we know the message is NOT on my whitelist,
# and it's also not on any blacklist.  Procmail is set up to
# filter the message through SpamAssassin only when it's not
# to a tagged address.  Therefore, the following rule will not
# match a tagged addressed mail, and those will be evaluated
# based on their tags.
#
headers 'X-Spam-Status: No' ok

Hope this helps (and suggestions are welcome).
- -- 
Kyle Hasselbacher                 Honesty is the best policy,
[EMAIL PROTECTED]               but insanity is a better defense.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAJvEl10sofiqUxIQRAh0yAJ0aNUc16E27DVJSQcQn9sZ+R3lZ0QCeKdOR
FClm0Ui258Ybv35A0hKeqH0=
=Jtpw
-----END PGP SIGNATURE-----
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to