On 11/28/2018 4:02 PM, Fazzina, Angelo wrote:
> Hi, I am still lost with how this all works together, sadly.  Do you see 
> obvious errors or am I misunderstanding the limits of what can be done ?
> 
> I am not sure yet what is relevant 
> My current settings:
> relay_recipient_maps = mysql:/etc/postfix/files/mysql_pn.cf
> smtpd_recipient_restrictions =  reject_unknown_recipient_domain,  
>                               check_recipient_access 
> hash:/etc/postfix/files/sender_relay_domains, 
>                               reject_unverified_recipient, 
>                               permit_mynetworks, 
>                               permit_sasl_authenticate

This should look like:
smtpd_recipient_restrictions =
  reject_unknown_recipient_domain
  check_recipient_access hash:/etc/postfix/maps/block_to
  check_recipient_access hash:/etc/postfix/files/sender_relay_domains


> smtpd_relay_restrictions =  check_recipient_access 
> hash:/etc/postfix/maps/block_to, permit_mynetworks, 
> permit_sasl_authenticated, defer_unauth_destination

smtpd_relay_restrictions =
  permit_mynetworks
  permit_sasl_authenticated
  reject_unauth_destination


> 
> [root@mta5 files]# more sender_relay_domains
> ## -ALF This should allow Listerv addresses even though they are not in 
> PerName DB
> listserv.uconn.edu      DUNNO


# sender_relay_domains
listserv.uconn.edu  DUNNO
uconn.edu  reject_unverified_recipient





  -- Noel Jones

Reply via email to