#### Die Ulitimative Regensburger Version speziell fuer NGATE ################################################################# ### #### Changed when by why? #### 17.02.94 Edmund Kalles routing scheme #### 01.03.94 Edmund Test with rrznw1-3 via dawn #### 08.03.94 Edmund schoene Namen .... #### 08.04.94 Edmund alles ausser rklnw1 in SubDom. klinik #### via kgate #### 05.07.94 Edmund loop erkennung !!!! #### 28.09.94 Uli,Edmund urv (hurra!) #### 10.10.94 Edmund,Peter fridolin -> mars #### #### #### #### Part 1 #### #### Accepts and Denies should go here #### # Prevent all shell meta-characters # '.+' '.*[`;&|^<>()].*' 'Deny No Shell Metacharacters' '.+' '!*#.*' 'Deny No Shell Metacharacters' '.+' '.+@-.+' 'Deny No Shell Metacharacters' #### #### Part 2 #### #### Address translations should go here. #### Do the appropriate mapping between various addressing sche mes. #### All remote mail should leave this section in RFC822 format #### # # Collapse bang address loops that go through two or more hops # '.+' '[^!@%]+![^@%]+![^@%]+' 'Translate T=1;B=*; R=|uucollapse' '%n' # # Map all bang style Addresses to RFC822 # The default is to give @ precedence over anything else. # ! and @ may not be present in the same address # '.+' '([^!]*)!([^!]+)!([^!]+)!([^!]+)!([^!]+)' 'Translate R=\\5%%\\4%%\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)!([^!]+)!([^!]+)' 'Translate R=\\4%%\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)!([^!]+)' 'Translate R=\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)' 'Translate R=\\2@\\1' # # Map all names of the form user%host (without any other @) -> user@host # '.+' '(.*)%%([^@%]+)' 'Translate R=\\1@\\2' # # Map all names of the form user@host1@host2 -> user@host1 '.+' '(.+)@(.+)@.+' 'Translate R=\\1@\\2' # # Map all names of the form user@local-machine -> user # Map all names of the form user@uname -> user # Then loop back through from the top. # %L is the network node name # %U is the uname (if set) # %D is the domain # '.+' '(.+)@%U\.rz\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%U\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%U' 'Translate R=\\1' '.+' '(.+)@%L\.rz\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%L\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%L' 'Translate R=\\1' # # # Additional Translations .................................................. # # Server with only the virtual Domain -> add uni-regensburg.de # '.+' '(.+)@bibliothek' 'Translate R=\\1@bibliothek.uni- regensburg.de' '.+' '(.+)@biologie' 'Translate R=\\1@biologie.uni-regens burg.de' '.+' '(.+)@chemie' 'Translate R=\\1@chemie.uni-regens burg.de' '.+' '(.+)@extern' 'Translate R=\\1@extern.uni-regens burg.de' '.+' '(.+)@geographie' 'Translate R=\\1@geographie.uni- regensburg.de' '.+' '(.+)@geschichte' 'Translate R=\\1@geschichte.uni- regensburg.de' '.+' '(.+)@jura' 'Translate R=\\1@jura.uni-regens burg.de' '.+' '(.+)@klinik' 'Translate R=\\1@klinik.uni-regens burg.de' '.+' '(.+)@mathematik' 'Translate R=\\1@mathematik.uni- regensburg.de' '.+' '(.+)@paedagogik' 'Translate R=\\1@paedagogik.uni- regensburg.de' '.+' '(.+)@physik' 'Translate R=\\1@physik.uni-regens burg.de' '.+' '(.+)@psk' 'Translate R=\\1@psk.uni-regensburg.de' '.+' '(.+)@psychologie' 'Translate R=\\1@psychologie.uni- regensburg.de' '.+' '(.+)@rz' 'Translate R=\\1@rz.uni-regensburg.de' '.+' '(.+)@soziologie' 'Translate R=\\1@soziologie.uni- regensburg.de' '.+' '(.+)@sprachlit' 'Translate R=\\1@sprachlit.uni-regens burg.de' '.+' '(.+)@student' 'Translate R=\\1@student.uni-regens burg.de' '.+' '(.+)@theologie' 'Translate R=\\1@theologie.uni-regens burg.de' '.+' '(.+)@verwaltung' 'Translate R=\\1@verwaltung.uni- regensburg.de' '.+' '(.+)@vkl' 'Translate R=\\1@vkl.uni-regensburg.de' '.+' '(.+)@wiwi' 'Translate R=\\1@wiwi.uni-regens burg.de' # Server with the wrong virtual Domain '.+' '(.+)@bibliothek\.ngate\.uni-regensburg\.de' 'Translate R=\\1@bibliothek.uni-regensburg.de' '.+' '(.+)@biologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@biologie.uni-regensburg.de' '.+' '(.+)@chemie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@chemie.uni-regensburg.de' '.+' '(.+)@extern\.ngate\.uni-regensburg\.de' 'Translate R=\\1@extern.uni-regensburg.de' '.+' '(.+)@geographie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@geographie.uni-regensburg.de' '.+' '(.+)@geschichte\.ngate\.uni-regensburg\.de' 'Translate R=\\1@geschichte.uni-regensburg.de' '.+' '(.+)@jura\.ngate\.uni-regensburg\.de' 'Translate R=\\1@jura.uni-regensburg.de' '.+' '(.+)@klinik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@klinik.uni-regensburg.de' '.+' '(.+)@mathematik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@mathematik.uni-regensburg.de' '.+' '(.+)@paedagogik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@paedagogik.uni-regensburg.de' '.+' '(.+)@physik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@physik.uni-regensburg.de' '.+' '(.+)@psk\.ngate\.uni-regensburg\.de' 'Translate R=\\1@psk.uni-regensburg.de' '.+' '(.+)@psychologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@psychologie.uni-regensburg.de' '.+' '(.+)@rz\.ngate\.uni-regensburg\.de' 'Translate R=\\1@rz.uni-regensburg.de' '.+' '(.+)@soziologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@soziologie.uni-regensburg.de' '.+' '(.+)@sprachlit\.ngate\.uni-regensburg\.de' 'Translate R=\\1@sprachlit.uni-regensburg.de' '.+' '(.+)@student\.ngate\.uni-regensburg\.de' 'Translate R=\\1@student.uni-regensburg.de' '.+' '(.+)@theologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@theologie.uni-regensburg.de' '.+' '(.+)@verwaltung\.ngate\.uni-regensburg\.de' 'Translate R=\\1@verwaltung.uni-regensburg.de' '.+' '(.+)@vkl\.ngate\.uni-regensburg\.de' 'Translate R=\\1@vkl.uni-regensburg.de' '.+' '(.+)@wiwi\.ngate\.uni-regensburg\.de' 'Translate R=\\1@wiwi.uni-regensburg.de' # # Server without a domain -> add ngate.uni-regensburg.de # '.+' '(.+)@([^.]+)' 'Translate R=\\1@\\2.ngate.uni-regens burg.de' # Server with ngate.uni-regensburg.d400.de '.+' '(.+)@([^.]+)\.ngate\.uni-regensburg\.d400\.de' 'Trans late R=\\1@\\2.ngate.uni-regensburg.de' # Server with ngate.uni-regensburg.dbp.de '.+' '(.+)@([^.]+)\.ngate\.uni-regensburg\.dbp\.de' 'Trans late R=\\1@\\2.ngate.uni-regensburg.de' # rklrz -> rklnw1 '.+' '(.+)@rklrz\.ngate\.uni-regensburg\.de' 'Translate R=\\1@rklnw1.ngate.uni-regensburg.de' # fridolin -> mars (bis mitte november) '.+' '(.+)@fridolin\.ngate\.uni-regensburg\.de' 'Translate R=\\1@mars.ngate.uni-regensburg.de' # # Run all (apparently) local names through the mail alias proces sor. # '.+' '[^!@%]+' 'Translate T=1;B=*; R=|mailalias - P%L! -P%U! -P%L\%D! -P%U\%D! -S@%U\%D -S@%L\%D -S@%L -S@%U -r -p' '%n' # #### #### Part 3 #### #### Delivery commands should go here. #### # # Check for binary mail. Uncomment this if you want to use it. # #'.+' '!([^!]+)!.+' '< F=*;C=0; ckbinarsys -t %C -s \\1' # # The mail transports go here. # %X is the smarterhost # %R is the receiver address # # all servers in subdomain rz # '.+' '(.+)@rzi\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rzi.rz.uni-regensburg.de' '\\1@rzi.ngate.uni-regensburg.de' '.+' '(.+)@rio\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rio.rz.uni-regensburg.de' '\\1@rio.ngate.uni-regensburg.de' '.+' '(.+)@edi\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R edi.rz.uni-regensburg.de' '\\1@edi.ngate.uni-regensburg.de' # Testhalber via dawn '.+' '(.+)@(rrznw.|dawn)\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R dawn.rz.uni-regensburg.de' '\\1@\\2.ngate.uni-regensburg.de' '.+' '(.+)@mhs\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu - u %R dawn.rz.uni-regensburg.de' '\\1@mhs.ngate.uni- regensburg.de' '.+' '(.+)@(.+)\.mhs\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R dawn.rz.uni-regensburg.de' '\\1@\\2.mhs.ngate.uni-regensburg.de' '.+' '(.+)@mars\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R mars.rz.uni-regensburg.de' '\\1@mars.ngate.uni- regensburg.de' '.+' '(.+)@rzbnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rzbnw1.rz.uni-regensburg.de' '\\1@rzbnw1.ngate.uni-regensburg.de' # # all servers in subdomain alf (don't make a MX-query) # '.+' '(.+)@alf1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf1.alf.uni-regensburg.de' '\\1@alf1.ngate.uni-regensburg.de' '.+' '(.+)@alf2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf2.alf.uni-regensburg.de' '\\1@alf2.ngate.uni-regensburg.de' '.+' '(.+)@alf3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf3.alf.uni-regensburg.de' '\\1@alf3.ngate.uni-regensburg.de' '.+' '(.+)@alf4\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf4.alf.uni-regensburg.de' '\\1@alf4.ngate.uni-regensburg.de' '.+' '(.+)@alf5\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf5.alf.uni-regensburg.de' '\\1@alf5.ngate.uni-regensburg.de' # # all servers in subdomain cip # '.+' '(.+)@cip6\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R cip6.cip.uni-regensburg.de' '\\1@cip6.ngate.uni-regensburg.de' # # all servers in subdomain physik # '.+' '(.+)@rphnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw1.physik.uni-regensburg.de' '\\1@rphnw1.ngate.uni-regensburg.de' '.+' '(.+)@rphnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw2.physik.uni-regensburg.de' '\\1@rphnw2.ngate.uni-regensburg.de' '.+' '(.+)@rphnw3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw3.physik.uni-regensburg.de' '\\1@rphnw3.ngate.uni-regensburg.de' # # all servers in subdomain chemie # '.+' '(.+)@rchnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rchnw2.chemie.uni-regensburg.de' '\\1@rchnw2.ngate.uni-regensburg.de' # # all servers in subdomain klinik # '.+' '(.+)@rklnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rklnw1.klinik.uni-regensburg.de' '\\1@rklnw1.ngate.uni-regensburg.de' # remaining Stuff for subdomain klinik to kgate without MX-Query '.+' '(.+)@(rk.+)\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R kgate.klinik.uni-regensburg.de' '\\1@\\2.ngate.uni-regensburg.de' '.+' '(.+)@kgate\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R kgate.klinik.uni-regensburg.de' '\\1@kgate.ngate.uni-regensburg.de' # # all servers in subdomain wiwi # '.+' '(.+)@rrwnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rrwnw1.wiwi.uni-regensburg.de' '\\1@rrwnw1.ngate.uni-regensburg.de' '.+' '(.+)@rrwnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rrwnw2.wiwi.uni-regensburg.de' '\\1@rrwnw2.ngate.uni-regensburg.de' # # all servers in subdomain sprachlit # '.+' '(.+)@rlirnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rlirnw1.sprachlit.uni-regensburg.de' '\\1@rlirnw1.ngate.uni-regensburg.de' # # all servers in subdomain vkl # '.+' '(.+)@rvklnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rvklnw1.vkl.uni-regensburg.de' '\\1@rvklnw1.ngate.uni-regensburg.de' # # # all servers in subdomain fh (don't make a MX-query) # '.+' '(.+)@rfhnw7006\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u -N %R rfhnw7006.fh-regensburg.de' '\\1@rfhnw7006.ngate.uni-regensburg.de' # # all servers in subdomain verwaltung (don't make a MX-query, pfui!!!) # '.+' '(.+)@urv\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u -N %R urv.verwaltung.uni-regensburg.de' '\\1@urv.ngate.uni-regensburg.de' # # '.+' '(.+)@deep3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R deepthought3.rz.uni-regensburg.de' '\\1@deepthought3.rz.uni-regensburg.de' # # # anything left for *.ngate -> deny transfer !!! '.+' '(.+)@(.+)\.ngate\.uni-regensburg\.de' 'Deny Host unknown!' # # # anything left to Smarterhost.... # '.+' '([^@,:]+)@(.+)' '< B=4096; smtpneu -u %R %X' '\\1@\\2' # #### #### Part 4 #### #### Postprocessing commands should go here. #### # # Log mail delivery # '.+' '.+' '> W=1;B=*; maillog -o /var/mail/:log' '- O %O %R %n %S %l --' # '.+' '.+' 'Errors W=1;B=*; maillog -o /var/mail/ :errors' '-O %O %R %n %l --' '.+' '.+' '> smtpsched' #'.+' '.+' '> smtpsched_neu' '%l 10000'
#### Die Ulitimative Regensburger Version speziell fuer NGATE ################################################################# ### #### Changed when by why? #### 17.02.94 Edmund Kalles routing scheme #### 01.03.94 Edmund Test with rrznw1-3 via dawn #### 08.03.94 Edmund schoene Namen .... #### 08.04.94 Edmund alles ausser rklnw1 in SubDom. klinik #### via kgate #### 05.07.94 Edmund loop erkennung !!!! #### 28.09.94 Uli,Edmund urv (hurra!) #### 10.10.94 Edmund,Peter fridolin -> mars #### 10.10.94 Hubert Mail-Routing fuer MHS/NGM #### #### #### #### Part 1 #### #### Accepts and Denies should go here #### # Prevent all shell meta-characters # '.+' '.*[`;&|^<>()].*' 'Deny No Shell Metacharacters' '.+' '!*#.*' 'Deny No Shell Metacharacters' '.+' '.+@-.+' 'Deny No Shell Metacharacters' #### #### Part 2 #### #### Address translations should go here. #### Do the appropriate mapping between various addressing sche mes. #### All remote mail should leave this section in RFC822 format #### # # Collapse bang address loops that go through two or more hops # '.+' '[^!@%]+![^@%]+![^@%]+' 'Translate T=1;B=*; R=|uucollapse' '%n' # # Map all bang style Addresses to RFC822 # The default is to give @ precedence over anything else. # ! and @ may not be present in the same address # '.+' '([^!]*)!([^!]+)!([^!]+)!([^!]+)!([^!]+)' 'Translate R=\\5%%\\4%%\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)!([^!]+)!([^!]+)' 'Translate R=\\4%%\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)!([^!]+)' 'Translate R=\\3%%\\2@\\1' '.+' '([^!]*)!([^!]+)' 'Translate R=\\2@\\1' # # Map all names of the form user%host (without any other @) -> user@host # '.+' '(.*)%%([^@%]+)' 'Translate R=\\1@\\2' # # Map all names of the form user@host1@host2 -> user@host1 '.+' '(.+)@(.+)@.+' 'Translate R=\\1@\\2' # # Map all names of the form user@local-machine -> user # Map all names of the form user@uname -> user # Then loop back through from the top. # %L is the network node name # %U is the uname (if set) # %D is the domain # '.+' '(.+)@%U\.rz\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%U\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%U' 'Translate R=\\1' '.+' '(.+)@%L\.rz\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%L\.uni-regensburg\.de' 'Translate R=\\1' '.+' '(.+)@%L' 'Translate R=\\1' # # # Additional Translations .................................................. # # Server with only the virtual Domain -> add uni-regensburg.de # '.+' '(.+)@bibliothek' 'Translate R=\\1@bibliothek.uni- regensburg.de' '.+' '(.+)@biologie' 'Translate R=\\1@biologie.uni-regens burg.de' '.+' '(.+)@chemie' 'Translate R=\\1@chemie.uni-regens burg.de' '.+' '(.+)@extern' 'Translate R=\\1@extern.uni-regens burg.de' '.+' '(.+)@geographie' 'Translate R=\\1@geographie.uni- regensburg.de' '.+' '(.+)@geschichte' 'Translate R=\\1@geschichte.uni- regensburg.de' '.+' '(.+)@jura' 'Translate R=\\1@jura.uni-regens burg.de' '.+' '(.+)@klinik' 'Translate R=\\1@klinik.uni-regens burg.de' '.+' '(.+)@mathematik' 'Translate R=\\1@mathematik.uni- regensburg.de' '.+' '(.+)@paedagogik' 'Translate R=\\1@paedagogik.uni- regensburg.de' '.+' '(.+)@physik' 'Translate R=\\1@physik.uni-regens burg.de' '.+' '(.+)@psk' 'Translate R=\\1@psk.uni-regensburg.de' '.+' '(.+)@psychologie' 'Translate R=\\1@psychologie.uni- regensburg.de' '.+' '(.+)@rz' 'Translate R=\\1@rz.uni-regensburg.de' '.+' '(.+)@soziologie' 'Translate R=\\1@soziologie.uni- regensburg.de' '.+' '(.+)@sprachlit' 'Translate R=\\1@sprachlit.uni-regens burg.de' '.+' '(.+)@student' 'Translate R=\\1@student.uni-regens burg.de' '.+' '(.+)@theologie' 'Translate R=\\1@theologie.uni-regens burg.de' '.+' '(.+)@verwaltung' 'Translate R=\\1@verwaltung.uni- regensburg.de' '.+' '(.+)@vkl' 'Translate R=\\1@vkl.uni-regensburg.de' '.+' '(.+)@wiwi' 'Translate R=\\1@wiwi.uni-regens burg.de' # Server with the wrong virtual Domain '.+' '(.+)@bibliothek\.ngate\.uni-regensburg\.de' 'Translate R=\\1@bibliothek.uni-regensburg.de' '.+' '(.+)@biologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@biologie.uni-regensburg.de' '.+' '(.+)@chemie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@chemie.uni-regensburg.de' '.+' '(.+)@extern\.ngate\.uni-regensburg\.de' 'Translate R=\\1@extern.uni-regensburg.de' '.+' '(.+)@geographie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@geographie.uni-regensburg.de' '.+' '(.+)@geschichte\.ngate\.uni-regensburg\.de' 'Translate R=\\1@geschichte.uni-regensburg.de' '.+' '(.+)@jura\.ngate\.uni-regensburg\.de' 'Translate R=\\1@jura.uni-regensburg.de' '.+' '(.+)@klinik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@klinik.uni-regensburg.de' '.+' '(.+)@mathematik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@mathematik.uni-regensburg.de' '.+' '(.+)@paedagogik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@paedagogik.uni-regensburg.de' '.+' '(.+)@physik\.ngate\.uni-regensburg\.de' 'Translate R=\\1@physik.uni-regensburg.de' '.+' '(.+)@psk\.ngate\.uni-regensburg\.de' 'Translate R=\\1@psk.uni-regensburg.de' '.+' '(.+)@psychologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@psychologie.uni-regensburg.de' '.+' '(.+)@rz\.ngate\.uni-regensburg\.de' 'Translate R=\\1@rz.uni-regensburg.de' '.+' '(.+)@soziologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@soziologie.uni-regensburg.de' '.+' '(.+)@sprachlit\.ngate\.uni-regensburg\.de' 'Translate R=\\1@sprachlit.uni-regensburg.de' '.+' '(.+)@student\.ngate\.uni-regensburg\.de' 'Translate R=\\1@student.uni-regensburg.de' '.+' '(.+)@theologie\.ngate\.uni-regensburg\.de' 'Translate R=\\1@theologie.uni-regensburg.de' '.+' '(.+)@verwaltung\.ngate\.uni-regensburg\.de' 'Translate R=\\1@verwaltung.uni-regensburg.de' '.+' '(.+)@vkl\.ngate\.uni-regensburg\.de' 'Translate R=\\1@vkl.uni-regensburg.de' '.+' '(.+)@wiwi\.ngate\.uni-regensburg\.de' 'Translate R=\\1@wiwi.uni-regensburg.de' # # Server without a domain -> add ngate.uni-regensburg.de # '.+' '(.+)@([^.]+)' 'Translate R=\\1@\\2.ngate.uni-regens burg.de' # Server with ngate.uni-regensburg.d400.de '.+' '(.+)@([^.]+)\.ngate\.uni-regensburg\.d400\.de' 'Trans late R=\\1@\\2.ngate.uni-regensburg.de' # Server with ngate.uni-regensburg.dbp.de '.+' '(.+)@([^.]+)\.ngate\.uni-regensburg\.dbp\.de' 'Trans late R=\\1@\\2.ngate.uni-regensburg.de' # rklrz -> rklnw1 '.+' '(.+)@rklrz\.ngate\.uni-regensburg\.de' 'Translate R=\\1@rklnw1.ngate.uni-regensburg.de' # fridolin -> mars (bis mitte november) '.+' '(.+)@fridolin\.ngate\.uni-regensburg\.de' 'Translate R=\\1@mars.ngate.uni-regensburg.de' # # Run all (apparently) local names through the mail alias proces sor. # '.+' '[^!@%]+' 'Translate T=1;B=*; R=|mailalias - P%L! -P%U! -P%L\%D! -P%U\%D! -S@%U\%D -S@%L\%D -S@%L -S@%U -r -p' '%n' # #### #### Part 3 #### #### Delivery commands should go here. #### # # Check for binary mail. Uncomment this if you want to use it. # #'.+' '!([^!]+)!.+' '< F=*;C=0; ckbinarsys -t %C -s \\1' # # The mail transports go here. # %X is the smarterhost # %R is the receiver address # # all servers in subdomain rz # '.+' '(.+)@rzi\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rzi.rz.uni-regensburg.de' '\\1@rzi.ngate.uni-regensburg.de' '.+' '(.+)@rio\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rio.rz.uni-regensburg.de' '\\1@rio.ngate.uni-regensburg.de' '.+' '(.+)@edi\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R edi.rz.uni-regensburg.de' '\\1@edi.ngate.uni-regensburg.de' # Testhalber via dawn #'.+' '(.+)@(rrznw.|dawn)\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R dawn.rz.uni-regensburg.de' '\\1@\\2.ngate.uni-regensburg.de' #'.+' '(.+)@mhs\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R dawn.rz.uni-regensburg.de' '\\1@mhs.ngate.uni- regensburg.de' #'.+' '(.+)@(.+)\.mhs\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R dawn.rz.uni-regensburg.de' '\\1@\\2.mhs.ngate.uni-regensburg.de' '.+' '(.+)@mars\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u %R mars.rz.uni-regensburg.de' '\\1@mars.ngate.uni- regensburg.de' '.+' '(.+)@rzbnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rzbnw1.rz.uni-regensburg.de' '\\1@rzbnw1.ngate.uni-regensburg.de' # # all servers in subdomain alf (don't make a MX-query) # '.+' '(.+)@alf1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf1.alf.uni-regensburg.de' '\\1@alf1.ngate.uni-regensburg.de' '.+' '(.+)@alf2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf2.alf.uni-regensburg.de' '\\1@alf2.ngate.uni-regensburg.de' '.+' '(.+)@alf3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf3.alf.uni-regensburg.de' '\\1@alf3.ngate.uni-regensburg.de' '.+' '(.+)@alf4\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf4.alf.uni-regensburg.de' '\\1@alf4.ngate.uni-regensburg.de' '.+' '(.+)@alf5\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R alf5.alf.uni-regensburg.de' '\\1@alf5.ngate.uni-regensburg.de' # # all servers in subdomain cip # '.+' '(.+)@cip6\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R cip6.cip.uni-regensburg.de' '\\1@cip6.ngate.uni-regensburg.de' # # all servers in subdomain physik # '.+' '(.+)@rphnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw1.physik.uni-regensburg.de' '\\1@rphnw1.ngate.uni-regensburg.de' '.+' '(.+)@rphnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw2.physik.uni-regensburg.de' '\\1@rphnw2.ngate.uni-regensburg.de' '.+' '(.+)@rphnw3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rphnw3.physik.uni-regensburg.de' '\\1@rphnw3.ngate.uni-regensburg.de' # # all servers in subdomain chemie # '.+' '(.+)@rchnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rchnw2.chemie.uni-regensburg.de' '\\1@rchnw2.ngate.uni-regensburg.de' # # all servers in subdomain klinik # '.+' '(.+)@rklnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rklnw1.klinik.uni-regensburg.de' '\\1@rklnw1.ngate.uni-regensburg.de' # remaining Stuff for subdomain klinik to kgate without MX-Query '.+' '(.+)@(rk.+)\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R kgate.klinik.uni-regensburg.de' '\\1@\\2.ngate.uni-regensburg.de' '.+' '(.+)@kgate\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u -N %R kgate.klinik.uni-regensburg.de' '\\1@kgate.ngate.uni-regensburg.de' # # all servers in subdomain wiwi # '.+' '(.+)@rrwnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rrwnw1.wiwi.uni-regensburg.de' '\\1@rrwnw1.ngate.uni-regensburg.de' '.+' '(.+)@rrwnw2\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rrwnw2.wiwi.uni-regensburg.de' '\\1@rrwnw2.ngate.uni-regensburg.de' # # all servers in subdomain sprachlit # '.+' '(.+)@rlirnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rlirnw1.sprachlit.uni-regensburg.de' '\\1@rlirnw1.ngate.uni-regensburg.de' # # all servers in subdomain vkl # '.+' '(.+)@rvklnw1\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R rvklnw1.vkl.uni-regensburg.de' '\\1@rvklnw1.ngate.uni-regensburg.de' # # # all servers in subdomain fh (don't make a MX-query) # '.+' '(.+)@rfhnw7006\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u -N %R rfhnw7006.fh-regensburg.de' '\\1@rfhnw7006.ngate.uni-regensburg.de' # # all servers in subdomain verwaltung (don't make a MX-query, pfui!!!) # '.+' '(.+)@urv\.ngate\.uni-regensburg\.de' '< B=4096; smtpneu -u -N %R urv.verwaltung.uni-regensburg.de' '\\1@urv.ngate.uni-regensburg.de' # # '.+' '(.+)@deep3\.ngate\.uni-regensburg\.de' '< B=4096; smt pneu -u %R deepthought3.rz.uni-regensburg.de' '\\1@deepthought3.rz.uni-regensburg.de' # # MHS/NGM subdomain # # %R: <Absender> # %L: ngate # %D: ngate.uni-regensburg.de # %g: mhs # #'[^@]+' '([^@,:]+)@%g' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R.%L%D ' '\\1@%g' # #'.+' '([^@,:]+)@%g' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R ' '\\1@%g' # '[^@]+' '([^@,:]+)@%g%D' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R.%L%D ' '\\1@%g%D' # '.+' '([^@,:]+)@%g%D' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R ' '\\1@%g%D' # '[^@]+' '([^@,:]+)@(.+)\.%g' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R.%L%D ' '\\1@\\2' # '.+' '([^@,:]+)@(.+)\.%g' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R ' '\\1@\\2' # '[^@]+' '([^@,:]+)@(.+)\.%g%D' '< B=4096; /usr/lib/mail/surrcmd/ smfqueue -h 0 -r %R.%L%D ' '\\1@\\2' # '.+' '([^@,:]+)@(.+)\.%g%D' '< B=4096; /usr/lib/mail/surrcmd/smf queue -h 0 -r %R ' '\\1@\\2' # #'.+' '([^@,:]+)@%g' 'Deny smf-out failed (1)' '.+' '([^@,:]+)@%g%D' 'Deny smf-out failed (2)' '.+' '([^@,:]+)@(.+).%g%D' 'Deny smf-out failed (3)' '.+' '([^@,:]+)@(.+).%g' 'Deny smf-out failed (4)' # # anything left for *.ngate -> deny transfer !!! '.+' '(.+)@(.+)\.ngate\.uni-regensburg\.de' 'Deny Host unknown!' # # # anything left to Smarterhost.... # '.+' '([^@,:]+)@(.+)' '< B=4096; smtpneu -u %R %X' '\\1@\\2' # #### #### Part 4 #### #### Postprocessing commands should go here. #### # # Log mail delivery # '.+' '.+' '> W=1;B=*; maillog -o /var/mail/:log' '- O %O %R %n %S %l --' # '.+' '.+' 'Errors W=1;B=*; maillog -o /var/mail/ :errors' '-O %O %R %n %l --' '.+' '.+' '> smtpsched' #'.+' '.+' '> smtpsched_neu' '%l 10000'
Table of Contents Next Chapter