[Rspamd-Users] Something simple

James B Huber jbh at genesis-net.net
Tue Apr 14 16:12:45 UTC 2020


Beats me, the first line "^Shipping Address: 2270 E. Park Ave$" should
according to regex (or my understanding of it) be an "exact & complete"
match, which is what I out in the body of the test message..

FWIW I tried that:
/^Shipping Address: 2270 E. Park Ave$/

and it still didn't get a hit...

I also tried:
/^Shipping Address: 2270 E. Park Ave$/ REJECT_CONTENT:10

No luck....I know this should be like really simple...I am feeling
awfully dumb here

Jim
--


On Tue, 2020-04-14 at 17:39 +0200, Ralph Meyer via Users wrote:
> Hi,
> 
> 
> > /etc/rspamd/maps.d/content.map contains 3 lines, the last line
> > being
> > just a "return" or NEWLINE:
> > ^Shipping Address: 2270 E. Park Ave$
> > This_should_be_seen_jbh
> 
> I'm not really sure, but shouldn't this look more like a regex ?
> For example :
> 
> /^foo$/
> 
> Not tested.
> 
> Ralph



More information about the Users mailing list