--XMCwj5IQnwKtuyBG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 02, 2007 at 12:52:49PM -0300, Rejaine Monteiro wrote:
> How can I create a rule to match no-spam e-mail with have (both)=20
> words "hello" and "testing" (body or hearder)
>=20
> I tried to use:
>=20
> /hello&testing/i
> /hello&&testing/i
> /hello && testing/i


These are regular expressions, not some kind of boolean thing.


First, read "perldoc perlre".

Second, use multiple rules and combine them with a meta rule. See "perldoc
Mail::SpamAssassin::Conf" for more information.

Third, it's generally a bad idea to have rules that look for a single word
(or, if unanchored, substrings). Let Bayes handle that stuff, unless there=
's
certain things you're sure won't FP and you want to block.



--=20
Randomly Selected Tagline:
"BABYLON 5! A five-mile long cement mixer of truth, pouring out the
Concrete of Nice-Nice in a long, grey ribbon into the future, to form a
***SIDE WALK OF JUSTICE!!***" - The Tick on Babylon 5

--XMCwj5IQnwKtuyBG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGsganamwUIkXWD1cRAnv7AJ9H6bMFx/5nk+LDxlqbIVlt8bPbdwCg03Ya
3it6eFRain00mPucyya/t+M=
=19kj
-----END PGP SIGNATURE-----

--XMCwj5IQnwKtuyBG--