diff --git a/roles/mail/templates/postfix-out/transport.pcre b/roles/mail/templates/postfix-out/transport.pcre index fc96b4019cd58adf412879ee3ad5202ec160b5b1..883a6e66f9a4610ffb5ea00d1b8d2a0eb83ca33b 100644 --- a/roles/mail/templates/postfix-out/transport.pcre +++ b/roles/mail/templates/postfix-out/transport.pcre @@ -1,4 +1,6 @@ # Send high-volume, high-spam traffic onto the lower-priority # smtp transport. /(yahoo|hotmail|live)(\.[a-z]{2,3}){1,2}$/ smtp-lowpri: -/tiscali\.it$/ smtp-lowpri: +{% for pattern in postfix_low_priority_domains | default([]) %} +/{{ pattern }}/ smtp-lowpri: +{% endfor %}