no_more
<%- end -%>
-<%=
-out = ""
-if nodeinfo['bugsmaster'] or nodeinfo['bugsmx']
- domain = 'bugs.debian.org'
- if nodeinfo['bugsmaster']
- domain = 'bugs-master.debian.org'
- end
- out = '
-# This router delivers for bugs.d.o
-bugs:
- debug_print = "R: bugs for $local_part@$domain"
- driver = accept
- transport = bugs_pipe
- domains = ' + domain + '
- cannot_route_message = Unknown or archived bug
- require_files = /org/bugs.debian.org/mail/run-procmail
- no_more
- local_parts = ${if match\
- {$local_part}\
- {\N^(\d+)(\d{2})(?:-(?:(?:submit|maintonly|quiet|forwarded|done|close|request|submitter)|(?:unsubscribe|ignore|help|(?:sub(?:scribe|help|yes|approve|reject))|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*))?$\N}\
- {${if exists{/org/bugs.debian.org/spool/db-h/$2/$1$2.summary}\
- {$local_part}fail}}fail}
-'
-end
-out
-%>
<%- if nodeinfo['rtmaster'] -%>
# This router delivers for rt.d.o
rt_force_new_verbose:
local_part_suffix_optional
retry_use_local_part
+<%=
+out = ""
+if nodeinfo['bugsmaster'] or nodeinfo['bugsmx']
+ domain = 'bugs.debian.org'
+ if nodeinfo['bugsmaster']
+ domain = 'bugs-master.debian.org'
+ end
+ out = '
+# This router delivers for bugs.d.o
+bugs:
+ debug_print = "R: bugs for $local_part@$domain"
+ driver = accept
+ transport = bugs_pipe
+ domains = ' + domain + '
+ cannot_route_message = Unknown or archived bug
+ require_files = /org/bugs.debian.org/mail/run-procmail
+ no_more
+ local_parts = ${if match\
+ {$local_part}\
+ {\N^(\d+)(\d{2})(?:-(?:(?:submit|maintonly|quiet|forwarded|done|close|request|submitter)|(?:unsubscribe|ignore|help|(?:sub(?:scribe|help|yes|approve|reject))|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*))?$\N}\
+ {${if exists{/org/bugs.debian.org/spool/db-h/$2/$1$2.summary}\
+ {$local_part}fail}}fail}
+'
+end
+out
+%>
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################