File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
ansible/roles/real-postfix/files/postfix Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1- # Rewrite foo!bar.com@[18.4.86.200 ] to foo@bar.com
1+ # Rewrite foo!bar.com@[18.4.86.x ] to foo@bar.com
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
Original file line number Diff line number Diff line change 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/ $1@scripts.mit.edu
3+ /^ (.*)@scripts\.mit\.edu$ / $1@scripts.mit.edu
Original file line number Diff line number Diff line change 11# Match quentin+foo@scripts.mit.edu 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
You can’t perform that action at this time.
0 commit comments