Robby Van Mieghem:
> Can there be more lines after the if .. endif
Yes. Please RTFM: http://www.postfix.org/header_checks.5.html
Wietse
> meaning I have 3 other checks to do ( not conditional ) , just a check if a
> field contains spec word 1, word2 or 3, depending on that FILTER smtp :
>
>
Can there be more lines after the if .. endif
meaning I have 3 other checks to do ( not conditional ) , just a check if a
field contains spec word 1, word2 or 3, depending on that FILTER smtp :
so
if /^X-MS-Exchange-CrossTenant-id:/
!/^X-MS-Exchange-CrossTenant-id: / REJECT TenantID-InCorrec
On 9/14/2017 7:18 AM, Robby Van Mieghem wrote:
> OK tx
>
> Small other questions. Seems not to works also : assuming tenantid =
>
>
> I have one line in header checks
>
> !/^X-MS-Exchange-CrossTenant-id: / REJECT Tenant-ID In-Correct
>
> So I want a reject whenever the X--Cross
OK tx
Small other questions. Seems not to works also : assuming tenantid =
I have one line in header checks
!/^X-MS-Exchange-CrossTenant-id: / REJECT Tenant-ID In-Correct
So I want a reject whenever the X--CrossTenantID is not ... He
seems to ignire th '!'
How can I say c
On 9/13/2017 9:02 AM, Robby Van Mieghem wrote:
> Hi
>
> is there a way with header_checks to check if a field does not exist ?
>
> We want to reject mails that do not include the field
> X-MS-Exchange-CrossTenant-id
No, header_checks cannot check for a missing header. It examines
each header in
Hi
is there a way with header_checks to check if a field does not exist ?
We want to reject mails that do not include the field
X-MS-Exchange-CrossTenant-id
But unable to find it ...
Any hekp pls
tx
R