3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: cf_email.U,v $
12 ?RCS: Revision 3.0.1.1 1994/01/24 14:05:06 ram
13 ?RCS: patch16: created
16 ?MAKE:cf_email: cat cf_by test myhostname mydomain Oldconfig Myread
17 ?MAKE: -pick add $@ %<
19 ?S: Electronic mail address of the person who ran Configure. This can be
20 ?S: used by units that require the user's e-mail, like MailList.U.
23 ?LINT:extern MAILDOMAIN
24 : determine the e-mail address of the user who is running us
27 I need to get your e-mail address in Internet format if possible, i.e.
28 something like user@host.domain. Please answer accurately since I have
29 no easy means to double check it. The default value provided below
30 is most probably close to reality but may not be valid from outside
35 while test "$cont"; do
38 if $test -s /etc/mailname; then
39 maildomain=`$cat /etc/mailname`
41 maildomain="$myhostname$mydomain"
44 *) maildomain="$MAILDOMAIN";;
47 '') dflt="$cf_by@$maildomain";;
50 rp='What is your e-mail address?'
56 rp='Address does not look like an Internet one. Use it anyway?'