User Tools

Site Tools


shitbox:postfix_restrict

   smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/protected_destinations, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
   smtpd_restriction_classes = lsp_only, pzp_only
   lsp_only = check_sender_access hash:/usr/local/etc/postfix/lsp_only, reject
   pzp_only = check_sender_access hash:/usr/local/etc/postfix/pzp_only, reject

   # cat /usr/local/etc/postfix/protected_destinations
   [email protected]   lsp_only
   [email protected]   pzp_only
   
   
   # cat /usr/local/etc/postfix/lsp_only
   [email protected]            OK
   [email protected]      OK
   [email protected]            OK
   
   # cat /usr/local/etc/postfix/pzp_only
   [email protected]       OK
   [email protected]            OK
shitbox/postfix_restrict.txt · Last modified: 2011/02/04 08:24 by slayer