Matus UHLAR - fantomas:
> >>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.
> 
> 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?

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.
 
        Wietse

Reply via email to