Michael Fox:
> I'm pretty sure I've seen this documented somewhere, but I can't find it.
>
> What I'd like to do is have a whitelist apply to only a specific reject.
> For example:
>
> smtpd_*_restrictions =
> .
> check_*_access .
> reject_.
>
I'm pretty sure I've seen this documented somewhere, but I can't find it.
What I'd like to do is have a whitelist apply to only a specific reject.
For example:
smtpd_*_restrictions =
.
check_*_access .
reject_.
reject_...
Bryan K. Walton:
> Is it possible to combine header/body checks in such a way:
>
> If /^(From|Return-Path):.*\b(user@testdomain\.org)\b/
> ! /^Message-ID:.*@(testdomain\.org)/
> Reject ...
That is documented as NOT POSSIBLE.
if /pattern/flags
endif If the input string matches /pat
Is it possible to combine header/body checks in such a way:
If /^(From|Return-Path):.*\b(user@testdomain\.org)\b/
! /^Message-ID:.*@(testdomain\.org)/
Reject ...
Essentially, I want to only reject a message if the From/Return-Path
matches a specific email address AND the Message-ID doesn