Guest User

Dovecot part 2

a guest
Apr 3rd, 2013
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. # dovecot -n
  2. # 2.2.rc3: /etc/dovecot/dovecot.conf
  3. # OS: Linux 3.4.0-cloud x86_64 Gentoo Base System release 2.1 ext3
  4. auth_mechanisms = login plain
  5. default_process_limit = 200
  6. disable_plaintext_auth = no
  7. first_valid_gid = 12
  8. first_valid_uid = 8
  9. last_valid_gid = 12
  10. last_valid_uid = 8
  11. lda_mailbox_autocreate = yes
  12. lda_mailbox_autosubscribe = yes
  13. mail_gid = 12
  14. mail_location = maildir:/var/mail/%d/%n/Maildir/:INDEX=/var/mail/%d/%n/indexes
  15. mail_plugins = listescape autocreate
  16. mail_uid = 8
  17. managesieve_notify_capability = mailto
  18. managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
  19. namespace inbox {
  20. inbox = yes
  21. location =
  22. mailbox Drafts {
  23. special_use = \Drafts
  24. }
  25. mailbox Junk {
  26. special_use = \Junk
  27. }
  28. mailbox Sent {
  29. special_use = \Sent
  30. }
  31. mailbox "Sent Messages" {
  32. special_use = \Sent
  33. }
  34. mailbox Trash {
  35. special_use = \Trash
  36. }
  37. prefix =
  38. separator = /
  39. }
  40. passdb {
  41. args = /etc/dovecot/dovecot-sql.conf.ext
  42. driver = sql
  43. }
  44. plugin {
  45. autocreate = Trash
  46. autocreate2 = Spam
  47. autocreate3 = LearnAsSpam
  48. autocreate4 = LearnAsHam
  49. autosubscribe = Trash
  50. autosubscribe2 = Spam
  51. autosubscribe3 = LearnAsSpam
  52. autosubscribe4 = LearnAsHam
  53. mail_debug = yes
  54. sieve = /var/mail/%d/%n/dovecot.sieve
  55. sieve_after = /etc/dovecot/sieve/after/
  56. sieve_before = /etc/dovecot/sieve/before/
  57. sieve_dir = /var/mail/%d/%n/sieve
  58. sieve_global_dir = /etc/dovecot/sieve/global/
  59. }
  60. postmaster_address = [email protected]
  61. protocols = imap pop3 sieve
  62. service auth {
  63. unix_listener /var/spool/postfix/private/auth {
  64. group = postfix
  65. mode = 0660
  66. user = postfix
  67. }
  68. unix_listener auth-userdb {
  69. group = mail
  70. mode = 0600
  71. user = mail
  72. }
  73. }
  74. service imap {
  75. process_limit = 1024
  76. }
  77. service pop3 {
  78. process_limit = 1024
  79. }
  80. ssl_cert = </etc/ssl/private/lime.xxx.com/dovecot.cert.yyy.xxx.com.pem
  81. ssl_key = </etc/ssl/private/lime.xxx.com/dovecot.key.yyy.xxx.com.pem
  82. userdb {
  83. driver = prefetch
  84. }
  85. userdb {
  86. args = /etc/dovecot/dovecot-sql.conf.ext
  87. driver = sql
  88. }
  89. protocol lda {
  90. log_path = /var/log/dovecot-lda.log
  91. mail_debug = yes
  92. mail_plugins = sieve
  93. }
  94. protocol imap {
  95. mail_plugins = listescape autocreate
  96. }
  97. protocol sieve {
  98. mail_debug = yes
  99. }
  100.  
  101.  
  102.  
  103. # pwd
  104. /var/mail/xxx.com/postmaster
  105.  
  106. # sieve-filter -v -e -W -C -u [email protected] sieve/manual.sieve INBOX
  107.  
  108. ....
  109. info: filtering: [Fri, 8 Mar 2013 01:00:10 -0600; 21546 bytes] `First Invoice Overdue Notice'.
  110. error: original envelope recipient address 'Isak Rubin <[email protected]>' is unparsable.
  111. error: msgid=<[email protected]>: failed to store into mailbox 'INBOX/bydomain/zzzz.com/support': Mailbox doesn't exist: INBOX.bydomain.zzzz\2ecom.support.
  112. info: msgid=<[email protected]>: left message in mailbox 'INBOX'.
  113. error: sieve script execution failed for this message; message left in source mailbox.
  114.  
  115. ....
Advertisement
Add Comment
Please, Sign In to add comment