+ next if not /^uid:/;
+
+ # We don't skip invalid, deleted, revoked, expired and not-trusted UIDs to
+ # prevent sending an unencrypted mail when e.g. a key is revoked or
+ # expired; GnuPG will warn if we use any of them. If you really want to
+ # skip those UIDs (not recommended), uncomment the next line.
+ #next if /^uid:[idren]:/;
+
+ next if not /<(.+?@.+?)>:/;