On Fri, 06 Jan 2017 16:49:17 +0000 LaMont Jones <lam...@debian.org> wrote:
> Source: postfix
> Source-Version: 3.1.4-2
> 
> We believe that the bug you reported is fixed in the latest version of
> postfix, which is due to be installed in the Debian FTP archive.

This does not fix the problem here. What fixes the problem is making a symlink 
to smtp called lmtp and changing master.cf to call lmtp instead of smtp.

I don't think you can call smtp as smtp if you want it to act in lmtp mode. 
Here code from smtp.c:
(from https://git.launchpad.net/postfix/tree/src/smtp/smtp.c?h=stable/v3.1)

        ....
        /*
         * XXX At this point, var_procname etc. are not initialized.
         * 
         * The process name, "smtp" or "lmtp", determines the protocol, the DSN
         * server reply type, SASL service information lookup, and more. Prepare
         * for the possibility there may be another personality.
         */
        sane_procname = sane_basename((VSTRING *) 0, argv[0]);
    if (strcmp(sane_procname, "smtp") == 0)
                smtp_mode = 1;
        else if (strcmp(sane_procname, "lmtp") == 0)
                smtp_mode = 0;
        ....

So I think there must be a link lmtp => smtp and in master.cf it sould be

lmtp      unix  -       -       -       -       -       lmtp

Regards,
-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts

Reply via email to