Jaroslaw Rafa:
> Dnia 12.08.2022 o godz. 10:09:08 Wietse Venema pisze:
> > > By the way: does anybody know of a tool ready to use with Postfix, that
> > > does exactly this and only this, ie. allows to define sender/recipient
> > > pairs
> > > that are (with "default deny") or aren't (with "default allow") allowed to
> > > send mail to each other?
> >
> > Long ago Jozsef Kadlecsik wrote code that concatenated a sender and
> > recipient address, and that used the result as an access table
> > lookup key. It was part of a collection of patches some of which
> > have been adopted.
> >
> > https://www.kfki.hu/~kadlec/sw/postfix_patch.html
>
> I understand it's the "check_access" restriction mentioned in the page you
> linked? But it is not included in standard Postfix release?
Some of the adopted features needed significant work to make them
robust, such as cidr maps and ${name?iftue,iffalse}.
Concatenating addresses is tricky, and it became a low priority given
the availability of "pen pal" support in content filters.
Wietse