diff options
author | Taru Karttunen <taruti@taruti.net> | 2011-03-30 16:53:33 +0300 |
---|---|---|
committer | Taru Karttunen <taruti@taruti.net> | 2011-03-30 16:53:33 +0300 |
commit | e463eb40363ff4c68b1d903f4e0cdd0ac1c5977f (patch) | |
tree | d5e9f57c28f026cb21de3bd77cc10cd7f64aaa85 /sys/lib/sysconfig/auth/files/rewrite | |
parent | b41b9034225ab3e49980d9de55c141011b6383b0 (diff) |
Import sources from 2011-03-30 iso image - sys/lib
Diffstat (limited to 'sys/lib/sysconfig/auth/files/rewrite')
-rwxr-xr-x | sys/lib/sysconfig/auth/files/rewrite | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/lib/sysconfig/auth/files/rewrite b/sys/lib/sysconfig/auth/files/rewrite new file mode 100755 index 000000000..dd828fee5 --- /dev/null +++ b/sys/lib/sysconfig/auth/files/rewrite @@ -0,0 +1,11 @@ +# 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'" "'&'" |