Advertisement
Guest User

sendmail+gmail

a guest
Jan 16th, 2017
1,090
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. ; configuration for fake sendmail
  2.  
  3. ; if this file doesn't exist, sendmail.exe will look for the settings in
  4. ; the registry, under HKLM\Software\Sendmail
  5.  
  6. [sendmail]
  7.  
  8. ; you must change mail.mydomain.com to your smtp server,
  9. ; or to IIS's "pickup" directory. (generally C:\Inetpub\mailroot\Pickup)
  10. ; emails delivered via IIS's pickup directory cause sendmail to
  11. ; run quicker, but you won't get error messages back to the calling
  12. ; application.
  13.  
  14. smtp_server=smtp.gmail.com
  15.  
  16. ; smtp port (normally 25)
  17.  
  18. smtp_port=465
  19.  
  20. ; SMTPS (SSL) support
  21. ; auto = use SSL for port 465, otherwise try to use TLS
  22. ; ssl = alway use SSL
  23. ; tls = always use TLS
  24. ; none = never try to use SSL
  25.  
  26. smtp_ssl=auto
  27.  
  28. ; the default domain for this server will be read from the registry
  29. ; this will be appended to email addresses when one isn't provided
  30. ; if you want to override the value in the registry, uncomment and modify
  31.  
  32. ;default_domain=mydomain.com
  33.  
  34. ; log smtp errors to error.log (defaults to same directory as sendmail.exe)
  35. ; uncomment to enable logging
  36.  
  37. error_logfile=error.log
  38.  
  39. ; create debug log as debug.log (defaults to same directory as sendmail.exe)
  40. ; uncomment to enable debugging
  41.  
  42. debug_logfile=debug.log
  43.  
  44. ; if your smtp server requires authentication, modify the following two lines
  45.  
  46. auth_username= random@gmail.com
  47. auth_password= pawword
  48.  
  49. ; if your smtp server uses pop3 before smtp authentication, modify the
  50. ; following three lines. do not enable unless it is required.
  51.  
  52. pop3_server=
  53. pop3_username=
  54. pop3_password=
  55.  
  56. ; force the sender to always be the following email address
  57. ; this will only affect the "MAIL FROM" command, it won't modify
  58. ; the "From: " header of the message content
  59.  
  60. force_sender=
  61.  
  62. ; force the sender to always be the following email address
  63. ; this will only affect the "RCTP TO" command, it won't modify
  64. ; the "To: " header of the message content
  65.  
  66. force_recipient=
  67.  
  68. ; sendmail will use your hostname and your default_domain in the ehlo/helo
  69. ; smtp greeting. you can manually set the ehlo/helo name if required
  70.  
  71. hostname=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement