Issue with Receive signed only (Only accept validly signed messages) configuration option
I am seeing an issue in Schleuder 3.2.2-1~bpo9+1 (+ manual patches as noted in issue #331 (closed)) when I set the configuration option "Receive signed only". Received messages from non-list members that are GPG signed are getting bounced with a message implying they are not signed.
Steps to reproduce:
-
Create a list
-
Enable "Receive signed only" configuration option (my list also has "Receive encrypted only" set, but that doesn't seem to come into play)
-
Send a signed (and encrypted) message to the list by a non-member of the list
Expected behavior:
- GPG signature is validated by schleuder and message is re-sent to the list members
Actual behavior:
- Message is bounced back to sender and admins are notified
Bounce message sent to sender:
Command died with status 1: "/usr/bin/schleuder".
Command output: Error: Schleuder::Errors::MessageUnsigned Kind regards,
Your Schleuder system.
Notice sent to admins:
The attached message was bounced with the following notice:
Schleuder::Errors::MessageUnsigned
Kind regards,
Your Schleuder system.
Debug log of one such message:
D, [2018-09-08T00:44:39.897159 #10749] DEBUG -- : Setting GNUPGHOME to /var/lib/schleuder/lists/list.domain.com/testdl1
I, [2018-09-08T00:44:39.897415 #10749] INFO -- : Parsing incoming email.
D, [2018-09-08T00:44:40.089003 #10749] DEBUG -- : Calling filter forward_bounce_to_admins
D, [2018-09-08T00:44:40.091492 #10749] DEBUG -- : Calling filter forward_all_incoming_to_admins
D, [2018-09-08T00:44:40.091646 #10749] DEBUG -- : Calling filter send_key
D, [2018-09-08T00:44:40.091754 #10749] DEBUG -- : Calling filter fix_exchange_messages!
D, [2018-09-08T00:44:40.099622 #10749] DEBUG -- : Calling filter strip_html_from_alternative!
D, [2018-09-08T00:44:40.211891 #10749] DEBUG -- : Calling filter request
D, [2018-09-08T00:44:40.212113 #10749] DEBUG -- : Calling filter max_message_size
D, [2018-09-08T00:44:40.212245 #10749] DEBUG -- : Calling filter forward_to_owner
D, [2018-09-08T00:44:40.212324 #10749] DEBUG -- : Calling filter receive_admin_only
D, [2018-09-08T00:44:40.212457 #10749] DEBUG -- : Calling filter receive_authenticated_only
D, [2018-09-08T00:44:40.212555 #10749] DEBUG -- : Calling filter receive_signed_only
I, [2018-09-08T00:44:40.212683 #10749] INFO -- : Rejecting mail as unsigned
D, [2018-09-08T00:44:40.212929 #10749] DEBUG -- : Bouncing message>