Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. remote_login:
  2. driver = plaintext
  3. public_name = LOGIN
  4. client_send = : user : password
  5.  
  6. ${extract{auth_pass}{${lookup{$sender_address_domain}wildlsearch{/etc/exim/smtp_auths}{$value}fail}}}
  7.  
  8. example.com: auth_pass=password
  9.  
  10. ${lookup mysql{SELECT users.remote_secret as secret FROM users WHERE users.domain='${quote_mysql:$sender_address_domain}'}{$value}}
  11.  
  12. [ec2-user@ip-172-31-16-5 exim]$ sudo exim -be -Mset <message-id>
  13. > ${extract{auth_pass}{${lookup{$sender_address_domain}wildlsearch{/etc/exim/smtp_auths}{$value}fail}}}
  14. password
  15. > ${lookup mysql{SELECT users.remote_secret as secret FROM users WHERE users.domain='${quote_mysql:$sender_address_domain}'}{$value}}
  16. password
  17. >
  18.  
  19. ${quote_mysql:$sender_address_domain}
  20.  
  21. example.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement