From: Brendan Cully Date: Sun, 1 Apr 2007 22:26:52 +0000 (-0700) Subject: Adjust flea to use new submission address; check email for @ X-Git-Tag: mutt-1-5-15-rel~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=503000c9d60c28b7298d2bbaf913b9656fe6e180;p=mutt Adjust flea to use new submission address; check email for @ --- diff --git a/ChangeLog b/ChangeLog index e874f1e2..28512138 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2007-03-31 16:07 -0700 Brendan Cully (bf208df92829) +2007-04-01 14:59 -0700 Brendan Cully (c01a36ebe339) + + * doc/muttbug.man, muttbug.sh.in: Restore muttbug + +2007-03-31 18:50 -0700 Brendan Cully (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) diff --git a/muttbug.sh.in b/muttbug.sh.in index 1d95a644..f4059fee 100644 --- a/muttbug.sh.in +++ b/muttbug.sh.in @@ -27,7 +27,7 @@ # 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@ @@ -101,13 +101,24 @@ if test -z "$EMAIL" ; then 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"