Hello,
Thanks for the reply.
Unfortunately, it does not work :-(
--------------------------------------------
filter test-rdns \
phase connect \
match rdns <whitelist>
filter test-fcrdns \
phase connect \
match fcrdns
filter whitelist \
chain { test-rdns , test-fcrdns } \
bypass
--------------------------------------------
I got an error because there is no decision for the filters "test-rdns" and
"test-fcrdns".
The smtpd.conf man page says :
"Finally, a number of decisions may be taken: "
It seems that the reality is "Finally, a number of decisions must
(mandatory) be taken:"
Because I can not set a white list with filters, is there another way to do
that in order to avoid e-mails coming from the same domain falling into the
junk folder of the recipient ?
Regards.
Le mer. 2 juin 2021 à 11:32, Pete <[email protected]> a écrit :
> Hey,
>
> AFAIK it is not.
> But you can always chain filters like
>
> filter "rdns" phase connect match !rdns disconnect "550 rDNS check failed"
> filter "fcrdns" phase connect match !fcrdns disconnect "550 fc-rDNS check
> failed"
> filter "inbound" chain { "rdns","fcrdns" }
>
>
>
> > filter whitelist \
> > phase connect \
> > match rdns <whitelist> \
> > match fcrdns \
> > bypass
>
> > When I test smtpd.conf with "smtpd -n", I get an error on the line "match
> > fcrdns".
>
> > Is it not possible to chain multiple matches in a single filter ?
>
>
>
>