Skip to content
Snippets Groups Projects
Verified Commit bd44a4e1 authored by Karl Kornel's avatar Karl Kornel
Browse files

Postfix: Change transport to only use relayhost

The stanford.edu MXes are almost all moved off-campus, and the one that's
left will be going away soon, as well!

That means we need to update the transport file, so that stanford.edu (and
sub-domains) begin being handled by smtp.stanford.edu again, since
smtp.stanford.edu still has an on-campus presence.
parent 84cb7107
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,11 @@ unreleased (2017-??-??) ...@@ -8,6 +8,11 @@ unreleased (2017-??-??)
[ssh] Add $extra_gssapi_only_users parameter listing any extra [ssh] Add $extra_gssapi_only_users parameter listing any extra
accounts that should skip Duo (i.e., service accounts). [adamhl] accounts that should skip Duo (i.e., service accounts). [adamhl]
[postfix] Remove the transport lines which allowed stanford.edu mail
to route via published MX records, because that is moving entirely
off-campus Instead, just have everything go through smtp.stanford.edu
(which still has an on-campus presence). [akkornel]
release/005.009 (2017-07-07) release/005.009 (2017-07-07)
[ntp] Push "tinker-panic 0" to the top of the ntp.conf file to help [ntp] Push "tinker-panic 0" to the top of the ntp.conf file to help
......
# Postfix transport definitions. -*- conf -*- # Postfix transport definitions. -*- conf -*-
# #
# Off-campus mail has to go through smtp.stanford.edu. Currently we # This file is maintained by Puppet, as part of base::postfix.
# manually list the stanford.edu hosts that have off-campus MX records. # You can override it in your code, if you like! Just be sure to use the
# base::postfix::map type, to ensure that `postmap` is run when this file
stanford.edu : # changes.
.stanford.edu :
alumni.stanford.edu smtp:smtp.stanford.edu # By default, relay all email through the campus mail gateway.
law.stanford.edu smtp:smtp.stanford.edu # This is basically the same as using the relayhost option in main.cf,
sls.stanford.edu smtp:smtp.stanford.edu # but using the transport map gives us more flexibility!
* smtp:smtp.stanford.edu * smtp:smtp.stanford.edu
# The only time you should remove the above line is (a) you are using this code
# to push to a cloud (or other non-on-Stanford-network system), or (b) your
# system has an exemption to send mail directly to the outside world.
# (Or, you might be like SoM, and have your own mail gateways!)
# If you have a host or domain where you want to use the MX records returned by
# DNS, then use lines like the following:
#stanford.edu :
#.stanford.edu :
# ... but! If you use lines like the above, then you'd have to put in
# additional lines for any sub-domains where you want to use the mail gateway.
#alumni.stanford.edu smtp:smtp.stanford.edu
#law.stanford.edu smtp:smtp.stanford.edu
#sls.stanford.edu smtp:smtp.stanford.edu
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment