cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1031
Views
5
Helpful
1
Replies

Help with CLI filters

Doug Maxfield
Level 1
Level 1

Good Afternoon,

We are attempting to allow in a particular email by looking at a "X-Header".  The vendor has given us the "X-Header" and I'm attempting to use it in a filter.  Here is the filter that I have set up:

allow_webfilings: if (recv-listener == "IncomingMail") And (header("X-Google-Appengine-App-Id:") == "s~webfilings-hrd")

{

skip_filters();

}

.

First, the filter is still continuing to process and the email is dropped by another CLI filter further down the line.  Second, is the above syntax correct for finding a "X-Header"?

Thanks in advance,

Doug

1 Reply 1

Doug Maxfield
Level 1
Level 1

This is resolved.  Had syntax correct, but just some () in the wrong locations:

Correct filter:

allow_webfilings: if (recv-listener == "IncomingMail" AND header ("X-Google-Appengine-App-Id") == "s~webfilings-hrd")

{

skip_filters();

}

.