Advertisement
Guest User

Untitled

a guest
Apr 19th, 2016
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. set smtp-use-starttls
  2. set ssl-verify=ignore
  3. set smtp=smtp://smtp.mail.com:587
  4. set smtp-auth=login
  5. set agent-shell-lookup-USER@HOST="gpg -d .password-store/smtp/smtp.mail.com.gpg"
  6. set smtp-auth-user=username
  7. set from="myname <username@mail.com>"
  8.  
  9. $ gpg -d .password-store/smtp/smtp.mail.com.gpg
  10. gpg: encrypted with 2048-bit RSA key, ID 2F46870C, created 2016-01-12
  11. "myname <username@mail.com>"
  12. PASSWORD
  13.  
  14. $ echo 'test' | mailx -s 'test' uesrname@mail.com
  15. Password: A password is necessary for SMTP authentication
  16. "/home/nori/dead.letter" 1/8
  17. ... message not sent
  18.  
  19. $ mailx -V
  20. v14.8.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement