Guest User

Untitled

a guest
Feb 14th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. smtpd_restriction_classes = all_class
  2. all_class = check_sender_access hash:/etc/postfix/all-senders, reject
  3.  
  4. smtpd_recipient_restrictions =
  5. reject_non_fqdn_recipient,
  6. reject_non_fqdn_sender,
  7. reject_unknown_sender_domain,
  8. reject_unknown_recipient_domain,
  9. check_recipient_access hash:/etc/postfix/all-recipient,
  10. permit_mynetworks,
  11. permit_sasl_authenticated,
  12. reject_unauth_destination,
  13. check_recipient_access hash:/etc/postfix/recipient_access,
  14. reject_rbl_client zombie.dnsbl.sorbs.net,
  15. reject_rbl_client cbl.abuseat.org,
  16. reject_rbl_client zen.spamhaus.org,
  17. reject_rbl_client bl.spamcop.net,
  18. reject_rbl_client multihop.dsbl.org,
  19. reject_rbl_client work.rsbs.express.ru,
  20. reject_rbl_client dnsbl.sorbs.net,
  21. permit
  22.  
  23. user1@mydomain.com OK
  24. user2@mydomain.com OK
  25.  
  26. all@mydomain.com permit_mynetworks all_class
  27.  
  28. check_recipient_access hash:/etc/postfix/recipient_access
  29. all@mydomain.com permit_mynetworks, reject
Add Comment
Please, Sign In to add comment