From: of mail gets set to $user@localhost
As discussed in #39 (closed), on my machine the From:
gets set to georg@localhost
. The uid
of the key looks fairly standard:
uid georg@riseup.net <georg@riseup.net>```
Should I try to debug this further?
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
here's the logic of the chosen
From:
header:if self.options.user is not None and '@' in self.options.user: from_user = self.options.user else: from_user = self.signing_key.uidslist[0].uid
in other words, it's fairly straightforward: see if you can fix your problem with
--user "anotheremail@example.com"
. then you could try the following patch to see a bit more what's going on:diff --git a/monkeysign/ui.py b/monkeysign/ui.py index 2b49bf2..8cc2f61 100644 --- a/monkeysign/ui.py +++ b/monkeysign/ui.py @@ -372,6 +372,7 @@ def export_key(self): from_user = self.options.user else: from_user = self.signing_key.uidslist[0].uid + self.warn(_('invalid user option: %s, chosen %s instead') % (self.options.user, from_user)) if len(self.signed_keys) < 1: self.warn(_('no key signed, nothing to export'))
so yes, please debug this further. nowhere in the monkeysign code is the
localhost
string mentionned, so something is feeding that in the email.providing a full
--debug
output along with the actual email sent with full headers would be useful.- anarcat Milestone changed to %Monkeysign 2.1.0
Milestone changed to %Monkeysign 2.1.0
- anarcat Added Priority: Normal Testing bug moreinfo labels
Added Priority: Normal Testing bug moreinfo labels
- anarcat Milestone changed to %Monkeysign 2.1.2
Milestone changed to %Monkeysign 2.1.2
- anarcat Milestone changed to %Monkeysign 2.2.0
Milestone changed to %Monkeysign 2.2.0
- anarcat Milestone changed to %Monkeysign 2.2.2
Milestone changed to %Monkeysign 2.2.2
- anarcat changed milestone to %Monkeysign 2.2.3
changed milestone to %Monkeysign 2.2.3
- anarcat changed milestone to %Monkeysign 2.3.0
changed milestone to %Monkeysign 2.3.0