Email reply leaks agent name

Infos:

  • Used Zammad version: 5.2.1
  • Used Zammad installation type: package
  • Operating system: Ubuntu 18.04
  • Browser + version: MS Edge 105.0.1343.27

Expected behavior:

  • Replying to a mail from an agent to a customer uses the FROM field as specified mail setup.

Actual behavior:

  • The FROM field in the quoted mail displays the agents full name. This exposes the agent name even if the config specifies using system-address.

Steps to reproduce the behavior:

  • Change sender format to system-address
  • Reply to a customers mail
  • Reply to this reply
  • Check quoted first line

I am not sure if this is the intended behavior or a bug but I suggest to use the same for the reply as the customer received.