Advertisement
Guest User

Untitled

a guest
Aug 14th, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. root@point:/etc/ssmtp# echo "test test test" | ssmtp -v -s yar1k01@ya.ru
  2. [<-] 220 smtp2o.mail.yandex.net ESMTP (Want to use Yandex.Mail for your domain? Visit http://pdd.yandex.ru)
  3. [->] EHLO localhost
  4. [<-] 250 ENHANCEDSTATUSCODES
  5. [->] AUTH LOGIN
  6. [<-] 334 VXNlcm5hbWU6
  7. [->] dmlkZW9hbGFybXNlcnZlckB5YS5ydQ==
  8. [<-] 334 UGFzc3dvcmQ6
  9. [<-] 535 5.7.8 Error: authentication failed:Invalid format.
  10. ssmtp: Authorization failed (535 5.7.8 Error: authentication failed:Invalid format.)
  11. root@point:/etc/ssmtp#
  12.  
  13.  
  14. root@point:/etc/ssmtp# cat /etc/ssmtp/ssmtp.conf
  15. hostname=localhost
  16. FromLineOverride=YES
  17. AuthUser=videoalarmserver@ya.ru
  18. AuthPass=passwd
  19. mailhub=smtp.yandex.ru:465
  20. rewriteDomain=yandex.ru
  21. UseTLS=YES
  22. Debug=YES
  23. TLS_CA_File=/etc/ssl/certs/ca-certificates.crt
  24. root@point:/etc/ssmtp#
  25.  
  26. root@point:/etc/ssmtp# cat revaliases
  27. # sSMTP aliases
  28. #
  29. # Format: local_account:outgoing_address:mailhub
  30. #
  31. # Example: root:your_login@your.domain:mailhub.your.domain[:port]
  32. # where [:port] is an optional port number that defaults to 25.
  33. root:videoalarmserver@yandex.ru:smtp.yandex.ru:465
  34. root@point:/etc/ssmtp#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement