This was added after discovering that, while the maintainers file and
regular email lists were screened for validity, the addresses reported
by GPG were not. Tests for this will soon be added to the testsuite.
# maintainer.
shift(@email_list) if ($send_to_user);
+ # At minimum, an Internet email address must contain an @ character.
+ @email_list = grep m/@/, @email_list;
+
if ($#email_list == -1) {
# Something went wrong, but we can't figure out which package this
# upload belongs to. Mention that in the logs, and then mail this to