summaryrefslogtreecommitdiff
path: root/sendmailadvanced.in
diff options
context:
space:
mode:
Diffstat (limited to 'sendmailadvanced.in')
-rwxr-xr-xsendmailadvanced.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index 4afcf05..e61a896 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -48,6 +48,9 @@ gpgAdressaten() {
if \
(
gpg --with-colons --list-public-keys "${adressat}" 2> /dev/null | \
+ sed -n '
+ /^pub\(:[^:]*\)\{10\}:[^:]*E[^:]*:/,/^tru:/ p
+ ' | \
grep '^uid:[mfuw]:' | \
cut -d: -f10 | \
tr '<>' '\n' | \