Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/lib/sysconfig/auth/files/rewrite

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# 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'" "'&'"

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.