My spam problem was mostly solved with the greywall module, so I haven't given this much thought for a long time, but in the last week my spam intake has shot up a hundredfold, so it's time to revisit the issue:
 
I need to filter an address, without using wildcards, and I can't work out how to do it.  The problem is this:
 
Spammers have a partial address, as their little evil databases have become more and more corrupted over the years.  The original username might have been nolan@, they're sending spam to lan@, and since I've got a hundred different in-use address, I can't just turn off the domain mail acceptance.  Instead, I want to filter LAN@ without losing NOLAN@, and I can't work out HOW.
 
No attempt has been so far productive when I try to block lan@domain.com, since Mercury simply doesn't match anything without the bookending wildcards ( *lan@domain.com* works, but also blocks nolan@).  I'm sure it's POSSIBLE, but I can't work out HOW.  What's the syntax to block only the address <lan@domain.com> and not <nolan@domain.com>?  
 
I've tried:
R, "barreto@domain.com*", RS, "554 - Spammers Must Die"   doesn't match anything
R, "lan@*", RS, "554 - Spammers Must Die"  doesn't match anything
 
What should I be doing?
 
        <P>My spam problem was mostly solved with the greywall module, so I haven't given this much thought for a long time, but in the last week my spam intake has shot up a hundredfold, so it's time to revisit the issue:</P><P> </P><P>I need to filter an address, without using wildcards, and I can't work out how to do it.  The problem is this:</P><P> </P><P>Spammers have a partial address, as their little evil databases have become more and more corrupted over the years.  The original username might have been nolan@, they're sending spam to lan@, and since I've got a hundred different in-use address, I can't just turn off the domain mail acceptance.  Instead, I want to filter LAN@ without losing NOLAN@, and I can't work out HOW.</P><P> </P><P>No attempt has been so far productive when I try to block lan@domain.com, since Mercury simply doesn't match anything without the bookending wildcards ( *lan@domain.com* works, but also blocks nolan@).  I'm sure it's POSSIBLE, but I can't work out HOW.  What's the syntax to block only the address &lt;lan@domain.com&gt; and not &lt;nolan@domain.com&gt;?  </P><P> </P><P>I've tried:</P><P>R, "barreto@domain.com*", RS, "554 - Spammers Must Die"   [b]doesn't match anything[/b]</P><P>R, "lan@*", RS, "554 - Spammers Must Die"  [b]doesn't match anything[/b]</P><P> </P><P>What should I be doing?</P>