#304 Aliases not shown if one of the goto's is a mailbox

v2.3.6
closed-works-for-me
nobody
None
5
2013-12-28
2013-12-23
Foppe Hemminga
No

This is a scenario:
- I create a mailbox, say foo@example.com
- I create an alias to deliver mail to the mailbox and an external alias, say bar@example.net. Alias: foo@example.com -> foo@example.con,bar@example.net

This alias won't show up in the alias list from example.com. That's caused by a limitation in the alias SQL query which requires:
AND $table_mailbox.maildir IS NULL -- Line 162 list-virtual.php
or in plain English: there must not exist a maildir for foo@example.com

I do not see a use-case for the scenario in the original code.

Discussion

  • The alias is/can be displayed in the mailbox list, but only if you enable $CONF['alias_control'] and/or $CONF['alias_control_admin'].

    BTW: Those options will be enabled by default in the upcoming 3.0 release.

     
    • status: open --> closed-works-for-me