hardcoded list
* Use add_keyrings from config file in ud-useradd instead of a
hardcoded list
+ * Use ud-config to get the emailappend value in ud-replicate, no longer
+ hardcoding @debian.org
-- Joerg Jaspert <joerg@debian.org> Sun, 18 May 2008 13:32:01 +0200
HOST=`hostname -f`
SYNCHOST=`ud-config synchost`;
LOCALSYNCON=`ud-config localsyncon`;
+EMAILAPPEND=`ud-config emailappend`;
cd /tmp/
cd /var/lib/misc || cd /var/state/glibc/ || cd /var/db/
lockfile -r 1 -l 3600 lock
fi
fi
if [ -d "/etc/postfix" -a -f "$HOST/forward-alias" ]; then
- sed -e 's/:/@debian.org/' $HOST/forward-alias > /etc/postfix/debian
+ sed -e "s/:/@$EMAILAPPEND/" $HOST/forward-alias > /etc/postfix/debian
/usr/sbin/postmap hash:/etc/postfix/debian < /etc/postfix/debian || true
fi