dataset/seed/postfix-relay/templates/lmtp

10 lines
269 B
Text
Raw Normal View History

2022-03-08 19:42:28 +01:00
%for %%domain in %%lmtp.server_lmtp
%set %%name=%%normalize_family(%%domain)
%for %%lst in %%lmtp['lmtp_' + name]['criteria_' + %%name]
2022-03-20 21:14:13 +01:00
%if '@' not in %%lst
%set %%lst = '.*@' + %%lst
%end if
/^%%lst$/ lmtp:[%%domain]:8024
2022-03-08 19:42:28 +01:00
%end for
%end for