You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andy Dills <an...@xecu.net> on 2004/03/22 20:25:27 UTC

Matching envelope from and to

Hello, does anybody know of a way to implement a rule in SA that compares
the envelope sender and recipient?

Thanks,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---

Re: Matching envelope from and to

Posted by Matt Kettler <mk...@comcast.net>.
At 02:25 PM 3/22/04 -0500, Andy Dills wrote:
>Hello, does anybody know of a way to implement a rule in SA that compares
>the envelope sender and recipient?

You can't do that in a SA rule:

1) SA does not get a copy of the envelope.

2) Even if your MTA inserts X-Envelope-* headers, they could be compared, 
but you'd need to do it in perl code, not in a rule.