Aliases are useless
I have an email address [email protected], and an alias ([email protected]) mapped to it. When I sent email to [email protected], it says mailbox not found
So I was playing with that last night. I ended up resurrecting the web folder just so I could parse the original camelface docs and find out what's going on.
It turns out the "aliases" were strictly for the webmail system, and are intended to allow the selection of a default "from" and a "display name" when creating a message.
If you want to receive mail at [email protected] you need to create a Mailbox which means adding a row in the Mailboxes table with your usernum, and the appropriate email address. That should get the messages into your inbox.
You should also be able to setup a Mailbox where the address is just a domain name. Assuming the domain is also in the domains table, and marked as a wildcard, that should route [email protected] that doesn't match a specific email address to the associated user account.
Of course I haven't tested the wildcard functionality it a couple of years, so I don't know if it still works...
If adding a row to Mailboxes works, go ahead and close, if not let me know.
P.S. Any of the commits after f4084732a00af8a745a341117c7924cb0b74ba4b are unstable and won't work. I'm in the process of refactoring/rewriting all of the meta data objects to use my new STACIE interfaces, and separate out the crypto code so it can be linked up with libdime later (as in the next major milestone after STACIE integration).
That said, the commit I pushed this morning should mostly work if you have disk encryption disabled (Dispatch table, "secure = 0") and you don't try ot access an already encrypted message... I should have it all back to normal in a couple of days (hopefully).