>>Matus UHLAR - fantomas:
>>>I was curious if I could do a script that would do the same, with the same
>>>possible issues.
>>>
>>>I can do perl, but it looks neither python nor perl have interface to postfix
>>>what could e.g. expand maps without calling external commands.

On 01.07.21 22:49, Kevin N. wrote:
>Among other things, it mainly acted as a proxy between Postfix and
>Dovecot's quota-status to make sure that the quota query was done for
>a real user instead of an alias.

Matus UHLAR - fantomas:
The word "proxy" brought me to an idea that process probably could
communicate with proxymap to read from tables, it would just need to load
table names from postconf at start and reload.

would that be possible?

On 02.07.21 09:10, Wietse Venema wrote:
No, because proxymap is an internal protocol, and Postfix supports
only programs that use the external protocols (SMTP, UNIX mailbox,
maildir, $home/.forward, and lookup tables).

You can safely use socketmap: and tcp: Postfix map types if you
need to talk to a different program.

There was an incompatible internal protocol change in Postfix 3.7.
This would definitely break all programs that look under the Postfix
hood, but has no impact on programs that use only supported methods.

so we're stuck with calling postmap externally for now
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.

Reply via email to