mailru.dhall 608 B

123456789101112131415161718192021
  1. let Mail
  2. : Type
  3. = { name : Text, from : Text, password : Text }
  4. in λ(mail : Mail)
  5. → ''
  6. set realname = "${mail.name}"
  7. set from = ${mail.from}
  8. set use_from = yes
  9. set imap_user = ${mail.from}
  10. set imap_pass = {{ pass "${mail.password}" }}
  11. set smtp_url = smtp://smtp.mail.ru:465/
  12. set smtp_pass = {{ pass "${mail.password}" }}
  13. set smtp_authenticators = 'login'
  14. set ssl_starttls = yes
  15. set ssl_force_tls = yes
  16. set folder = imaps://imap.mail.ru:993
  17. set spoolfile = +INBOX
  18. set record = =Отправленные
  19. ''