[Dovecot] Remove Return-Path in lda rejection message

Ben Morrow
2013-05-11T05:15:41Z

At  4PM +0200 on 10/05/13 you (Davide) wrote:
> Is it possible to remove return-path in dovecot lda rejection?

Can you explain a bit more what you mean?

A message should always end up with exactly one Return-Path header,
which is put in by the final (delivering) MTA. This is not something
sieve has any control over: the rejection message sieve submits for
delivery should not have a Return-Path header at all, since that
information is (at that point) carried in the SMTP envelope. (In the
case of a reject message, since this is an MDN, the SMTP FROM should be
the null address <>.)

Ben