+2002-06-07 Bruno Haible <bruno@clisp.org>
+
+ * user-email.in: Look at /etc/mailname, found on Debian systems.
+ Suggested by Mark W. Eichin <eichin@thok.org>.
+
2002-06-07 Bruno Haible <bruno@clisp.org>
* msgfmt.c (install_sigfpe_handler): Assume the signal is always
fi
+# Some Debian systems have a file /etc/mailname.
+if test -r /etc/mailname; then
+ hostmailname=`cat /etc/mailname`
+ if test -n "$hostmailname"; then
+ addresses="$addresses ${user}@$hostmailname"
+ fi
+fi
+
# elm has no user-defined addresses.
# mailx has no user-defined addresses.
# mh has no user-defined addresses.