Roundcube presenting extra addresses

Environment

  • Application: Roundcube 1.7.4~ynh1
  • Yunohost version: 12.1.41.2
  • Hardware: Cloud VPS, x86

Description

A Yunohost instance is serving multiple domains, with mail enabled only on one, also the only for which have been provisioned DNS records of type MX.

When I compose a message in Roundcube, a choice of different sender addresses is presented. One of the addresses that may be chosen corresponds to the one domain with e-mail configured, and the other address corresponds to the domain selected as the default.

More, a user account may be assigned only one primary mail address, and the account I have been using is assigned an address on the domain configured for e-mail. As such, it seems that even if mail were enabled for the other domain, the address still would not be functional for receiving messages.

Overall, it seems clear that the address should not be included in a choice of senders.

I wonder whether the behavior might be a bug or design flaw, and I would be interested in suggestions for workarounds.