shithub: riscv

ref: 0ab5d34be4b8b9faa96d4691de95d6ae8c691f0b
dir: /sys/lib/sysconfig/auth/files/rewrite/

View raw version
# convert source domain address to a chain a@b@c@d...
@([^@!,]*):([^!@]*)@([^!]*)		alias	\2@\3@\1
@([^@!]*),@([^!@,]*):([^!@]*)@([^!]*)	alias	@\1:\3@\4@\2

# convert a chain a@b@c@d... to ...d!c!b!a
([^@]+)@([^@]+)@(.+)	alias	\2!\1@\3
([^@]+)@([^@]+)		alias	\2!\1

# all mail
plan9\.bell-labs\.com!(.*) |	"/mail/lib/qmail '\s' 'net!plan9\.bell-labs\.com'" "'\1'"
.*			 |	"/mail/lib/qmail '\s' 'net!plan9\.bell-labs\.com'" "'&'"