Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. #main.cf
  2. header_checks = pcre:/etc/postfix/header_dependent_relay
  3.  
  4. #/etc/postfix/header_dependent_relay
  5.  
  6. /^From:.*specialsender1@example.com/ smtp1:[host1.example.com]
  7. /^From:.*specialsender2@example.com/ smtp2:[host2.example.com]
  8. /^From:.*specialsender3@example.com/ smtp3:[host3.example.com]
  9.  
  10. #master.cf
  11. smtp1 unix - - - - 10 smtp
  12. -o smtp_sasl_password_maps=hash:/etc/postfix/smtp1.relay
  13. smtp2 unix - - - - 10 smtp
  14. -o smtp_sasl_password_maps=hash:/etc/postfix/smtp2.relay
  15. smtp3 unix - - - - 10 smtp
  16. -o smtp_sasl_password_maps=hash:/etc/postfix/smtp3.relay
  17.  
  18. [hostX.example.com] userX:passwordX
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement