MS Outlook and Exim filtering

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
500
Location
Oslo
So, I created a filter, which is working well when I tested with Webmail and Mac Mail. However, when sending an email with MS Outlook, the filter is not applied. I tried to search, but cannot find the incompatibility between MS Outlook and Exim filter variables yet.

Basically, [email protected] is a forwarder to many emails. I don't want [email protected] and [email protected] send to this forwarder. Here is the filter

Code:
if
        $h_to: is "[email protected]"
then
        if $sender_address: does not match "(user1|user2)@exampledomain.com"
        then
                fail text "You are not in the allowed list"
                seen finish
        endif
endif

I tried several ways with $reply_address: does not match, $reply_address: does not contain, $h_from:, etc. But none works with MS Outlook. But again, the filter is working well when sending from webmail or Mac Mail.

Any idea? Thanks.
 
Back
Top