Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.31 KB | None | 0 0
  1. root@N40L:/etc/ssmtp# echo "test" | mailx -vvv -s "test" [email protected]
  2. [<-] 220 h******.stratoserver.net ESMTP Postfix (Debian/GNU)
  3. [->] EHLO example.com
  4. [<-] 250 DSN
  5. [->] AUTH LOGIN
  6. [<-] 535 5.7.8 Error: authentication failed: Invalid authentication mechanism
  7. send-mail: Server didn't like our AUTH LOGIN (535 5.7.8 Error: authentication failed: Invalid authentication mechanism)
  8.  
  9. mailhub=example.com:465
  10. rewriteDomain=example.com
  11. hostname=example.com
  12. FromLineOverride=YES
  13. UseTLS=YES
  14. AuthPass=correctpassword
  15.  
  16. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  17. biff = no
  18. append_dot_mydomain = no
  19. readme_directory = no
  20. smtpd_tls_cert_file=/etc/letsencrypt/live/example.com/fullchain.pem
  21. smtpd_tls_key_file=/etc/letsencrypt/live/example.com/privkey.pem
  22. smtpd_use_tls=yes
  23. smtpd_tls_auth_only = yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  27. myhostname = ********.stratoserver.net
  28. myorigin = /etc/mailname
  29. mydestination = localhost.stratoserver.net, localhost
  30. relayhost =
  31. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  32. mailbox_command = procmail -a "$EXTENSION"
  33. mailbox_size_limit = 0
  34. recipient_delimiter = +
  35. inet_interfaces = all
  36. message_size_limit=20480000
  37. virtual_mailbox_domains = a.bunch.of names.here.and example.com
  38. virtual_mailbox_base = /var/mail/vmail
  39. virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
  40. virtual_gid_maps = static:5000
  41. virtual_uid_maps = static:5000
  42. virtual_minimum_uid = 5000
  43. virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
  44. virtual_transport = lmtp:unix:private/dovecot-lmtp
  45. smtpd_sasl_auth_enable = yes
  46. smtpd_sasl_type = dovecot
  47. smtpd_sasl_path = private/auth
  48. content_filter = scan:127.0.0.1:10026
  49. receive_override_options = no_address_mappings
  50.  
  51. smtp inet n - - - - smtpd -v
  52. -o content_filter=spamassassin
  53. submission inet n - - - - smtpd
  54. -o syslog_name=postfix/submission
  55. -o smtpd_tls_security_level=encrypt
  56. -o smtpd_sasl_auth_enable=yes
  57. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  58. -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  59. smtps inet n - - - - smtpd
  60. -o syslog_name=postfix/smtps
  61. -o smtpd_tls_wrappermode=yes
  62. -o smtpd_sasl_auth_enable=yes
  63. pickup unix n - - 60 1 pickup
  64. cleanup unix n - - - 0 cleanup
  65. qmgr unix n - n 300 1 qmgr
  66. tlsmgr unix - - - 1000? 1 tlsmgr
  67. rewrite unix - - - - - trivial-rewrite
  68. bounce unix - - - - 0 bounce
  69. defer unix - - - - 0 bounce
  70. trace unix - - - - 0 bounce
  71. verify unix - - - - 1 verify
  72. flush unix n - - 1000? 0 flush
  73. proxymap unix - - n - - proxymap
  74. proxywrite unix - - n - 1 proxymap
  75. smtp unix - - - - - smtp
  76. relay unix - - - - - smtp
  77. showq unix n - - - - showq
  78. error unix - - - - - error
  79. retry unix - - - - - error
  80. discard unix - - - - - discard
  81. local unix - n n - - local
  82. virtual unix - n n - - virtual
  83. lmtp unix - - - - - lmtp
  84. anvil unix - - - - 1 anvil
  85. scache unix - - - - 1 scache
  86. maildrop unix - n n - - pipe
  87. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  88. uucp unix - n n - - pipe
  89. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  90. ifmail unix - n n - - pipe
  91. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  92. bsmtp unix - n n - - pipe
  93. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  94. scalemail-backend unix - n n - 2 pipe
  95. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  96. mailman unix - n n - - pipe
  97. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  98. ${nexthop} ${user}
  99. spamassassin unix - n n - - pipe
  100. user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
  101. scan unix - - n - 16 smtp
  102. -o smtp_send_xforward_command=yes
  103.  
  104. 127.0.0.1:10025 inet n - n - 16 smtpd
  105. -o content_filter=
  106. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  107. -o smtpd_helo_restrictions=
  108. -o smtpd_client_restrictions=
  109. -o smtpd_sender_restrictions=
  110. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  111. -o mynetworks_style=host
  112. -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  113.  
  114. # 2.2.13: /etc/dovecot/dovecot.conf
  115. auth_debug = yes
  116. auth_debug_passwords = yes
  117. auth_verbose = yes
  118. mail_debug = yes
  119. mail_plugins = " quota"
  120. mail_privileged_group = vmail
  121. managesieve_notify_capability = mailto
  122. }
  123. passdb {
  124. args = /etc/dovecot/dovecot-sql.conf.ext
  125. driver = sql
  126. }
  127. protocols = " imap lmtp sieve"
  128. service auth {
  129. unix_listener /var/spool/postfix/private/auth {
  130. group = postfix
  131. mode = 0666
  132. user = postfix
  133. }
  134. }
  135. service imap-login {
  136. inet_listener imaps {
  137. port = 993
  138. ssl = yes
  139. }
  140. }
  141. service lmtp {
  142. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  143. group = postfix
  144. mode = 0666
  145. user = postfix
  146. }
  147. }
  148. ssl = required
  149. ssl_cert = </etc/letsencrypt/live/example.com/fullchain.pem
  150. ssl_key = </etc/letsencrypt//live/example.com/privkey.pem
  151. userdb {
  152. args = /etc/dovecot/dovecot-sql.conf.ext
  153. driver = sql
  154. }
  155. verbose_ssl = yes
  156. protocol lmtp {
  157. mail_plugins = " quota sieve"
  158. postmaster_address = [email protected]
  159. }
  160.  
  161. Jan 16 10:29:54 postfix/smtps/smtpd[13601]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
  162. Jan 16 10:29:54 postfix/smtps/smtpd[13601]: connect from ******.upc-h.chello.nl[62.194.***.***]
  163. Jan 16 10:29:54 dovecot: auth: Debug: auth client connected (pid=0)
  164. Jan 16 10:29:54 postfix/smtps/smtpd[13601]: warning: ******.upc-h.chello.nl[62.194.***.***]: SASL LOGIN authentication failed: Invalid authentication mechanism
  165. Jan 16 10:29:54 postfix/smtps/smtpd[13601]: lost connection after AUTH from ******.upc-h.chello.nl[62.194.***.***]
  166. Jan 16 10:29:54 postfix/smtps/smtpd[13601]: disconnect from ******.upc-h.chello.nl[62.194.***.***]
  167.  
  168. send-mail: Cannot open example.com:465
  169. Can't send mail: sendmail process failed with error code 1
  170.  
  171. Jan 16 10:46:01 postfix/smtps/smtpd[14047]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
  172. Jan 16 10:46:01 postfix/smtps/smtpd[14047]: connect from ******.upc-h.chello.nl[62.194.***.***]
  173. Jan 16 10:46:12 dovecot: imap-login: Debug: SSL: elliptic curve secp384r1 will be used for ECDH and ECDHE key exchanges
  174. Jan 16 10:46:12 dovecot: imap-login: Debug: SSL: elliptic curve secp384r1 will be used for ECDH and ECDHE key exchanges
  175. Jan 16 10:46:12 dovecot: auth: Debug: auth client connected (pid=14049)
  176. Jan 16 10:46:12 dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011session=***************AAAAAAAAAAB#011lip=::1#011rip=::1#011lport=143#011rport=60112#011resp=AG40MGxAd*****************QzE3MDE= (previous base64 data may contain sensitive data)
  177. Jan 16 10:46:12 dovecot: auth-worker(14017): Debug: sql([email protected],::1): query: SELECT email as username, pwd AS password FROM addresses WHERE email = '[email protected]'
  178. Jan 16 10:46:12 dovecot: auth: Debug: client passdb out: OK#0111#[email protected]
  179. Jan 16 10:46:12 dovecot: auth: Debug: master in: REQUEST#011154140673#01114049#0111#0114d206d2a85468af9af75b8538aab7485#011session_pid=14050#011request_auth_token
  180. Jan 16 10:46:12 dovecot: auth-worker(14017): Debug: sql([email protected],::1): SELECT 5000 AS uid, 5000 as gid, email, '/var/mail/vmail/example.com/n40l' AS home FROM addresses WHERE email = '[email protected]'
  181. Jan 16 10:46:12 dovecot: auth: Debug: master userdb out: USER#011154140673#[email protected]#011uid=5000#011gid=5000#[email protected]#011home=/var/mail/vmail/example.com/n40l#011auth_token=ff5b12*****************aedf315ac08e
  182. Jan 16 10:46:12 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=14050, secured, session=<0pDTDTNG0AAAAAAAAAAAAAAAAAAAAAAB>
  183. Jan 16 10:46:12 dovecot: imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
  184. Jan 16 10:46:12 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
  185. Jan 16 10:46:12 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
  186. Jan 16 10:46:12 dovecot: imap: Debug: Added userdb setting: plugin/[email protected]
  187. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Effective uid=5000, gid=5000, home=/var/mail/vmail/example.com/n40l
  188. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Quota root: name=User quota backend=maildir args=
  189. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Quota rule: root=User quota mailbox=* bytes=10737418240 messages=0
  190. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Quota rule: root=User quota mailbox=Trash bytes=+104857600 messages=0
  191. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Quota grace: root=User quota bytes=536870912 (5%)
  192. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/mail/vmail/example.com/n40l
  193. Jan 16 10:46:12 dovecot: imap([email protected]): Debug: maildir++: root=/var/mail/vmail/example.com/n40l, index=, indexpvt=, control=, inbox=/var/mail/vmail/example.com/n40l, alt=
  194. Jan 16 10:46:12 dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement