[dovecot/core] a1f1ff: lib-lda: Properly check whether MAIL FROM is the N...

GitHub noreply at github.com
Thu Dec 14 21:30:09 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a1f1ff107e2b8fd098990399344a912750416ddd
      https://github.com/dovecot/core/commit/a1f1ff107e2b8fd098990399344a912750416ddd
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lib-lda/mail-deliver.c

  Log Message:
  -----------
  lib-lda: Properly check whether MAIL FROM is the NULL sender <>.

There's a function for that, since comparison with NULL pointer is not sufficient.


  Commit: 21bc26166244462c241b5776bfffd44fa6483f20
      https://github.com/dovecot/core/commit/21bc26166244462c241b5776bfffd44fa6483f20
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-12-14 (Thu, 14 Dec 2017)

  Changed paths:
    M src/lda/main.c

  Log Message:
  -----------
  lda: Do not replace the NULL sender with a default <MAILER-DAEMON> address.

Only do this substitution locally where a NULL sender would cause problems, not everywhere else.
This e.g. causes problems when determining whether to send a rejection somewhere; attempts would be made to mail <MAILER-DAEMON>.
Also other envelope-based (Sieve) tests would get confused.


Compare: https://github.com/dovecot/core/compare/e36634029ba3...21bc26166244


More information about the dovecot-cvs mailing list