I'm building MTA server. Also I use IMAP server to serve user's mail to that particular user.

Does MTA and IMAP server each require different passwords? I know that they are separate entities that perform disparate functions on processing mail.

Still, when I use my MUA it only asks me one password. Why doesn't it ask separate passwords for MTA and IMAP separately?


The SMTP and IMAP servers are separate as far as your mail client is concerned, and that's true for nearly all clients I've tried so far. (Well, some do have an option to "use the same credentials as IMAP", e.g. Outlook does.)

Although the two servers can share authentication information, and nearly always do. For example, both Postfix and Exim can be configured to use the Dovecot SASL provider. Alternatively, all three can use Cyrus SASL as the backend (which itself can use saslauthd, which can use PAM or whatever). And so on.

Of course, the mail app doesn't need your SMTP password until it actually tries to send a message, so it won't ask for that until then.

  • Are there typical situations where one might consider deploying IMAP and SMTP server that use different authentication information? – Bulat M. Jan 30 '17 at 14:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.