James Robertson a écrit :
> Hi, 
> 
> If I have:
> 
> relay_recipient_maps = hash:/etc/postfix/recipients
> 
> which is populated with addresses accepted for delivery on my server and have:
> 
> smtpd_recipient_restrictions = reject_unlisted_recipient,
> 
> Can I safely set:
> 
> relay_domains = *
> 

do you mean
relay_domains = static:all
?

why would you do that? I mean what is the (real, business) problem you
are trying to solve?

since you update the list of recipients, you can also update the list of
relay domains, with something like:

sed 's/^...@]*@/@/' relay_recipients |sort|uniq > relay_domains


Reply via email to