Skip to content

Commit f516e25

Browse files
committed
Address review comments
1 parent 8dc1989 commit f516e25

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# To force a vhost or user to one pool or the other, uncomment one of
22
# the below:
3+
# Vhost to another pool:
34
#/(.*)@vhost\.mit\.edu/ $1!vhost.mit.edu@[18.4.86.22]
5+
# User to another pool:
46
#/user(\+.*)?@scripts\.mit\.edu/ user$1!scripts.mit.edu@[18.4.86.22]
7+
# Vhost to this pool:
58
#/(.*)@vhost\.mit\.edu/ user+$1@localhost
9+
# User to this pool:
610
#/user(\+.*)?@scripts\.mit\.edu/ user$1@localhost
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Rewrite foo!bar.com@[18.4.86.200] to [email protected]
1+
# Rewrite foo!bar.com@[18.4.86.x] to [email protected]
22
# This happens after transport selection, so the message is still
3-
# delivered to 18.4.86.200
3+
# delivered to 18.4.86.x
44

5-
/(.*)!(.*)@\[[0-9.]+\]/ $1@$2
5+
/^(.*)!(.*)@\[[0-9.]+\]$/ $1@$2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Match @scripts.mit.edu addresses (but don't change them)
22
# This is chained with an LDAP lookup using pipemap
3-
/(.*)@scripts\.mit\.edu/ [email protected]
3+
/^(.*)@scripts\.mit\.edu$/ [email protected]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Match [email protected] and rewrite to quentin@+foo
22
# This allows the chained LDAP lookup to resolve quentin.scripts.mit.edu with %u
3-
/([^+]+)([^@]*)@scripts\.mit\.edu/ $1@$2
3+
/^([^+]+)([^@]*)@scripts\.mit\.edu$/ $1@$2

0 commit comments

Comments
 (0)