-2007-03-31 16:07 -0700 Brendan Cully <brendan@kublai.com> (bf208df92829)
+2007-04-01 14:59 -0700 Brendan Cully <brendan@kublai.com> (c01a36ebe339)
+
+ * doc/muttbug.man, muttbug.sh.in: Restore muttbug
+
+2007-03-31 18:50 -0700 Brendan Cully <brendan@kublai.com> (f467353f5657)
+
+ * bcache.c, bcache.h, imap/message.c, pop.c, pop.h: Add tmp flag
+ to bcache_put, create bcache_commit.
* imap/command.c, imap/imap.c: Allow IMAP FCC to reconnect if
append fails (closes: #890)
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-SUBMIT="submit@bugs.guug.de"
+SUBMIT="fleas@mutt.org"
DEBIAN_SUBMIT="submit@bugs.debian.org"
prefix=@prefix@
EMAIL="`mutt -Q from 2> /dev/null | sed -e 's/^from=.\(.*\).$/\1/'`"
fi
-echo "Please enter your e-mail address [$EMAIL]:"
-echo $n "> $c"
-read EMAILTMP
+EMAILTMP=''
+while test -z "$EMAILTMP"
+do
+ echo "Please enter your e-mail address [$EMAIL]:"
+ echo $n "> $c"
+ read EMAILTMP
-if test -n "$EMAILTMP" ; then
- EMAIL="$EMAILTMP"
-fi
+ if test -z "$EMAILTMP"; then EMAILTMP="$EMAIL"; fi
+
+ if ! echo "$EMAILTMP" | grep -q @
+ then
+ echo "$EMAILTMP does not appear to be a valid email address"
+ EMAILTMP=''
+ continue
+ fi
+
+ EMAIL="$EMAILTMP"
+done
echo "Please enter a one-line description of the problem you experience:"
echo $n "> $c"