1) Mail servers use various protocols and agents to manage email delivery. User agents handle reading and sending email, transport agents forward mail between machines, and delivery agents deliver mail to user mailboxes.
2) The Simple Mail Transfer Protocol (SMTP) is commonly used to transfer email between servers. SMTP transfers mail in a "push" manner, while protocols like POP and IMAP use a "pull" method for users to retrieve mail.
3) Dovecot is an open source IMAP and POP3 email server that is fast, simple to set up, and uses few system resources. Its self-optimizing indexes and self-healing abilities make it a good choice for small and large installations.