This question pertains to Normal
(or Plain
) IMAP/SMTP Authentication.
Can we be sure that a user's IMAP username is exactly the same as his full email address? Can the two be different? What about his SMTP username? Can he have different passwords for IMAP and SMTP?
To make things concrete, consider a webmail user, John Doe:
john.doe@example.com
foo.bar.baz
Given that John uses the above credentials to sign in with his webmail provider, here's a series of yes–no questions:
john.doe@example.com
?
john.doe
, john
or something else?foo.bar.baz
?john.doe@example.com
?foo.bar.baz
?I've been looking for these answers for a while now. If you can link to an RFC, that'd be awesome.
:)
SMTP and IMAP can be handled by disjoint programs, so no assurances there. Dovecot IMAP for example lets you freely choose to map username against mailbox name.