15-lda.conf.erb 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ##
  2. ## LDA specific settings (also used by LMTP)
  3. ##
  4. # Address to use when sending rejection mails.
  5. # Default is postmaster@<your domain>.
  6. <%= Dovecot::Conf.attribute(@conf, 'postmaster_address') %>
  7. # Hostname to use in various parts of sent mails, eg. in Message-Id.
  8. # Default is the system's real hostname.
  9. <%= Dovecot::Conf.attribute(@conf, 'hostname') %>
  10. # If user is over quota, return with temporary failure instead of
  11. # bouncing the mail.
  12. <%= Dovecot::Conf.attribute(@conf, 'quota_full_tempfail', false) %>
  13. # Binary to use for sending mails.
  14. <%= Dovecot::Conf.attribute(@conf, 'sendmail_path', '/usr/sbin/sendmail') %>
  15. # If non-empty, send mails via this SMTP host[:port] instead of sendmail.
  16. <%= Dovecot::Conf.attribute(@conf, 'submission_host') %>
  17. # Subject: header to use for rejection mails. You can use the same variables
  18. # as for rejection_reason below.
  19. <%= Dovecot::Conf.attribute(@conf, 'rejection_subject', 'Rejected: %s') %>
  20. # Human readable error message for rejection mails. You can use variables:
  21. # %n = CRLF, %r = reason, %s = original subject, %t = recipient
  22. <%= Dovecot::Conf.attribute(@conf, 'rejection_reason', 'Your message to <%t> was automatically rejected:%n%r') %>
  23. # Delimiter character between local-part and detail in email address.
  24. <%= Dovecot::Conf.attribute(@conf, 'recipient_delimiter', '+') %>
  25. # Header where the original recipient address (SMTP's RCPT TO: address) is taken
  26. # from if not available elsewhere. With dovecot-lda -a parameter overrides this.
  27. # A commonly used header for this is X-Original-To.
  28. <%= Dovecot::Conf.attribute(@conf, 'lda_original_recipient_header') %>
  29. # Should saving a mail to a nonexistent mailbox automatically create it?
  30. <%= Dovecot::Conf.attribute(@conf, 'lda_mailbox_autocreate', false) %>
  31. # Should automatically created mailboxes be also automatically subscribed?
  32. <%= Dovecot::Conf.attribute(@conf, 'lda_mailbox_autosubscribe', false) %>
  33. <% if @protocols['lda'].kind_of?(Hash) and @protocols['lda'].length > 0 -%>
  34. <%= Dovecot::Conf.protocol('lda', @protocols['lda']) %>
  35. <% else -%>
  36. protocol lda {
  37. # Space separated list of plugins to load (default is global mail_plugins).
  38. #mail_plugins = $mail_plugins
  39. }
  40. <% end -%>