Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. ==> /var/log/mail.log <==
  2. Jan 9 11:18:51 smail spamd[18014]: spamd: result: . 0 - ALL_TRUSTED,HTML_MESSAGE scantime=0.1,size=4279,user=debian-spamd,uid=113,required_score=5.0,rhost=localhost,raddr=::1,rport=57414,mid=<001a01d26a50$fc7ffd60$f57ff820$@mail.bfm>,autolearn=ham autolearn_force=no
  3.  
  4. ==> /var/log/mail.info <==
  5. Jan 9 11:18:51 smail spamd[18014]: spamd: result: . 0 - ALL_TRUSTED,HTML_MESSAGE scantime=0.1,size=4279,user=debian-spamd,uid=113,required_score=5.0,rhost=localhost,raddr=::1,rport=57414,mid=<001a01d26a50$fc7ffd60$f57ff820$@mail.bfm>,autolearn=ham autolearn_force=no
  6.  
  7. ==> /var/log/mail.log <==
  8. Jan 9 11:18:51 smail spamd[18013]: prefork: child states: II
  9.  
  10. ==> /var/log/mail.info <==
  11. Jan 9 11:18:51 smail spamd[18013]: prefork: child states: II
  12.  
  13. ==> /var/log/mail.log <==
  14. Jan 9 11:18:51 smail postfix/pipe[1960]: 910D221F870: to=<admin@localdomain.lan>, relay=spamassassin, delay=0.32, delays=0.08/0/0/0.24, dsn=2.0.0, status=sent (delivered via spamassassin service)
  15.  
  16. ==> /var/log/mail.info <==
  17. Jan 9 11:18:51 smail postfix/pipe[1960]: 910D221F870: to=<admin@localdomain.lan>, relay=spamassassin, delay=0.32, delays=0.08/0/0/0.24, dsn=2.0.0, status=sent (delivered via spamassassin service)
  18.  
  19. ==> /var/log/mail.log <==
  20. Jan 9 11:18:51 smail postfix/cleanup[1958]: DE51C21F8AC: message- id=<001a01d26a50$fc7ffd60$f57ff820$@mail.bfm>
  21.  
  22. ==> /var/log/mail.info <==
  23. Jan 9 11:18:51 smail postfix/cleanup[1958]: DE51C21F8AC: message-id=<001a01d26a50$fc7ffd60$f57ff820$@mail.bfm>
  24.  
  25. ==> /var/log/mail.log <==
  26. Jan 9 11:18:51 smail postfix/qmgr[1864]: DE51C21F8AC: from=<admin@localdomain.lan>, size=4738, nrcpt=1 (queue active)
  27.  
  28. ==> /var/log/mail.info <==
  29. Jan 9 11:18:51 smail postfix/qmgr[1864]: DE51C21F8AC: from=<admin@localdomain.lan>, size=4738, nrcpt=1 (queue active)
  30.  
  31. ==> /var/log/mail.log <==
  32. Jan 9 11:18:52 smail postfix/local[1964]: DE51C21F8AC: to=<admin@localdomain.lan>, relay=local, delay=0.24, delays=0.15/0/0/0.08, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
  33.  
  34. ==> /var/log/mail.info <==
  35. Jan 9 11:18:52 smail postfix/local[1964]: DE51C21F8AC: to=<admin@localdomain.lan>, relay=local, delay=0.24, delays=0.15/0/0/0.08, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSIO
  36.  
  37. **postconf -n**
  38. alias_database = hash:/etc/aliases
  39. alias_maps = hash:/etc/aliases
  40. append_dot_mydomain = no
  41. biff = no
  42. config_directory = /etc/postfix
  43. inet_interfaces = all
  44. mailbox_command = procmail -a "$EXTENSION"
  45. mailbox_size_limit = 0
  46. mydestination = $myhostname, localhost.$mydomain, localhost
  47. myhostname = smail.localdomain.lan
  48. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
  49. readme_directory = no
  50. recipient_delimiter = +
  51. relayhost =
  52. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  53. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  54. smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
  55. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  56. smtpd_sasl_auth_enable = yes
  57. smtpd_sasl_path = private/auth
  58. smtpd_sasl_type = dovecot
  59. smtpd_tls_auth_only = yes
  60. smtpd_tls_cert_file = /etc/dovecot/dovecot.pem
  61. smtpd_tls_key_file = /etc/dovecot/private/dovecot.pem
  62. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  63. smtpd_use_tls = yes
  64. virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
  65. virtual_gid_maps = static:5000
  66. virtual_mailbox_base = /var/mail/
  67. virtual_mailbox_domains = $mydomain
  68. virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf
  69. virtual_minimum_uid = 5000
  70. virtual_transport = lmtp:unix:private/dovecot-lmtp
  71. virtual_uid_maps = static:5000
  72.  
  73. # 2.2.13: /etc/dovecot/dovecot.conf
  74. # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6 ext4
  75. auth_mechanisms = plain ntlm login
  76. auth_use_winbind = yes
  77. mail_location = maildir:/var/mail/%u
  78. mail_privileged_group = vmail
  79. namespace inbox {
  80. inbox = yes
  81. location =
  82. mailbox Drafts {
  83. special_use = Drafts
  84. }
  85. mailbox Junk {
  86. special_use = Junk
  87. }
  88. mailbox Sent {
  89. special_use = Sent
  90. }
  91. mailbox "Sent Messages" {
  92. special_use = Sent
  93. }
  94. mailbox Trash {
  95. special_use = Trash
  96. }
  97. prefix =
  98. }
  99. passdb {
  100. args = /etc/dovecot/dovecot-ldap.conf
  101. driver = ldap
  102. }
  103. passdb {
  104. args = /etc/dovecot/dovecot-sql.conf.ext
  105. driver = sql
  106. }
  107. protocols = imap lmtp
  108. service auth-worker {
  109. user = vmail
  110. }
  111. service auth {
  112. unix_listener /var/spool/postfix/private/auth {
  113. group = postfix
  114. mode = 0666
  115. user = postfix
  116. }
  117. unix_listener auth-userdb {
  118. mode = 0666
  119. user = vmail
  120. }
  121. user = root
  122. }
  123. service imap-login {
  124. inet_listener imap {
  125. port = 0
  126. }
  127. }
  128. service lmtp {
  129. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  130. group = postfix
  131. mode = 0666
  132. user = postfix
  133. }
  134. }
  135. ssl = required
  136. ssl_cert = </etc/dovecot/dovecot.pem
  137. ssl_key = </etc/dovecot/private/dovecot.pem
  138. userdb {
  139. args = uid=5000 gid=5000 home=/var/mail/%u
  140. driver = static
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement