Am 07.04.2018 um 22:16 schrieb Martin Waschbüsch <martin@waschbuesch.de>:

Hi all,

Hey all, I upgraded to dovecot 2.3.1 (from 2.2.34) and noticed that the behavior for dovecot-lda changed. Apparently it no longer accepts -f "" or -f "<>?
With 2.2.34, both were accepted now I get:

root@mail:~# /usr/local/libexec/dovecot/dovecot-lda -f "<>"
lda(root): Fatal: Invalid -f parameter: Null path not allowed

or

root@mail:~# /usr/local/libexec/dovecot/dovecot-lda -f ""
lda(root): Fatal: Invalid -f parameter: Path is empty string

I guess this must be a bug? I mean, envelope sender *must* be empty for bounces.

In the list-archive, I saw at least one other person seemed to have had the same problem.
Anyway, I fixed my immediate problem and created a pull-request which seems like the right thing to do:

https://github.com/dovecot/core/pull/73

perhaps this helps someone else, too.

Thx,

Martin