Mailing List Archive

virtualdomains before smtproute?
Hi!

I'm still struggling with our X.400 support. A short reminder: we have
some X.400 domains (.uni-kiel.d400.de) which we map to the internet
names (.uni-kiel.de). I accomplished this with virtualdomains. However,
now I have to route the rest of those domains (not all of the
.uni-kiel.d400.de can be treated that way, they receive only mail by
X.400) to our X.400 gateway. So I added in smtproutes:
.uni-kiel.d400.de:x400-gate.informatik.uni-kiel.de
But: now all mail is routed there, which I don't want of course. Did I
miss some document which explains the "priorities" of the different
control files? It would be nice if someone had a (complete?)
description how all these files (and environment variables) interact,
including their relative priority ("if X isn't set/available, then Y is
consulted."). I've already seen this for qmail-inject (sender address),
but not for "all" programs, esp. not their interaction.

BTW: is this "safe/correct":
qmail-inject -f "$SENDER" -a "`echo "$RECIPIENT" |\
sed -e 's/^fixup-//' -e 's/\.uni-kiel\.d400\.de$/.uni-kiel.de/'`"
where virtualdomains contains (among others):
theo-physik.uni-kiel.d400.de:fixup

Thanks in advance,

Claus Assmann