Hey,

I receieve some mail from, to and cc'd-to .fi and .se addresses which i
would like to see delivered in a separate mailbox, so i made this
eximfilter:

| if $h_To: matches "@[EMAIL PROTECTED](fi|se)" or
|    $h_Cc: matches "@[EMAIL PROTECTED](fi|se)" or
|    $h_From: matches "@[EMAIL PROTECTED](fi|se)"
| then
|     save Maildir/.vertaa/
|     finish
| endif

But it seems that the literal . in front of fi or se isn't regarded as
literal ., but as match-anything-here. For example, i receive mails like
this:

| From: bla <[EMAIL PROTECTED]>
| To: [EMAIL PROTECTED], [EMAIL PROTECTED]

And they end up in the wrong mailbox because the first @ matches the @
in front of 'bar', the [EMAIL PROTECTED] matches 'bar.tld, adse', and \.(fi|se)
matches the 'nse' part of 'adsense'. So, how can I force a literal . ?
As writing \. doesn't help and \\.  doesn't work either.

I thought Exim used PCRE's :))

Regards,
Sander.
-- 
| From the FidoNet tagline collection:
| Another great idea from the man who brought you Beer Milkshake
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to