# Global options set daemon 300 # Default options for all servers defaults protocol IMAP port 993 keep # Fetch mail from the first server poll mail.example.com proto IMAP user "user1@example.com" pass "password1" ssl # Fetch mail from another server with custom settings poll mail.anotherexample.com proto POP3 user "user2@anotherexample.com" pass "password2" port 995 ssl # Another example with a forwarding SMTP setup poll mail.forwardexample.com via smtp.example.com proto IMAP user "forwarduser@forwardexample.com" pass "forwardpassword" smtphost smtp.example.com esmtpname "smtpuser@example.com" esmtppassword "smtppassword" # Additional account with a different protocol and no SSL poll plainexample.com proto POP3 user "plainuser@plainexample.com" pass "plainpassword" port 110