Questions about signing Emails

View: New views
5 Messages — Rating Filter:   Alert me  

Questions about signing Emails

by Markus Stegmueller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Anubis Team,

I am trying to set up Anubis on my machine to sign my Emails before
sending them. But I just don't get it how to set it up with pgp Keys.

I am using Anubis v4.0 from the Ubuntu Repositories with gnupgp 1.4.6
(also from the Ubuntu Repositories).

My anubisrc looks like this:

gpg-passphrase 12345
gpg-sign YES
gpg-sign-encrypt anubistester

I also tried these:

gpg-passphrase 12345
gpg-sign YES
gpg-sign-encrypt test@...

gpg-passphrase 12345
gpg-sign YES
gpg-sign-encrypt 1024D/299C4BED (my public key)

But nothing works... I always get this:

Oct 12 09:11:13 test-desktop anubis[7483]: GPGME: Unerwartete Anzahl von
Signaturen erzeugt

(What means: GPGME: Unexpected Number of Signatures created)

I hope someone is able to tell me how this works... I've been working on
this for a while now...

Best Regards,
Markus

--

********************************************
in-put GbR - Das Linux-Systemhaus
Markus Stegmueller
Support & Consulting
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 99/93
http://www.in-put.de
********************************************
      Schulungen  Installationen
          Beratung   Support
       Voice-over-IP-Loesungen
********************************************



_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Questions about signing Emails

by Markus Stegmueller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, I guess I got it now to sign the Emails.

I think it was much more a problem of using pgp than from Anubis..

But now I've got another problem.

I want to the Emails to be PGP signed by the PGP Certificate of every User himself.

I think it works because, when I use the option: rule-prority user it works! But
then it stops using my /etc/anubisrc. But I want both to be readed and used! Even if I use
rule-priority system
it still doesn't use my /home/user/.anubisrc file. I can see in the Logfiles, that it will be read

Oct 14 17:21:20 test-desktop anubis[18001]: Reading user configuration file /home/heinz/.anubisrc...

But it totally ignores it...

Any Suggestion what I should do?

In the meantime I upgraded my Anubis Installation to 4.1. The rest is still the same...

Hope anybody can Help me :-)

best Regards,
Markus
--

********************************************
in-put GbR - Das Linux-Systemhaus
Markus Stegmueller
Support & Consulting
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 99/93
http://www.in-put.de
********************************************
     Schulungen  Installationen
         Beratung   Support
      Voice-over-IP-Loesungen
********************************************



_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Re: Questions about signing Emails

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Markus,

> I want to the Emails to be PGP signed by the PGP Certificate of every
> User himself.

If I get it correctly, you wish to create a single rule in the
/etc/anubis.rc file, which will make Anubis sign every outgoing
message with the key of its sender (as specified in the From:
header). Am I right? If so, what has ~/.anubisrc to do with this?

Regards,
Sergey


_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Parent Message unknown Re: Re: Questions about signing Emails

by Markus Stegmueller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Sergey,

You got it right. Is there any other way than doing this in the ~/.anubisrc? I thought, I would at least have to use this definitions:

gpg-passphrase "password"
gpg-sign-encrypt test@...
gpg-sign YES

But how could I use every user's own Email Address? Of course I could do a conditional statement for every user. But I thought it would be easier to
have just these three lines in the ~/.anubisrc of each user. Is this impossible? Or did I get something really wrong?

Best Regards,
Markus


>
> -------- Original-Nachricht --------
> Betreff: Re: [bug-anubis] Questions about signing Emails
> Datum: Wed, 14 Oct 2009 21:06:49 +0300
> Von: Sergey Poznyakoff <gray@...>
> Organisation: GNU.org.ua
> An: Markus Stegmueller <m.stegmueller@...>
> CC: <bug-anubis@...>
> Referenzen: <4AD5EE99.1040201@...>
>
> Hi Markus,
>
>> I want to the Emails to be PGP signed by the PGP Certificate of every
>> User himself.
>
> If I get it correctly, you wish to create a single rule in the
> /etc/anubis.rc file, which will make Anubis sign every outgoing
> message with the key of its sender (as specified in the From:
> header). Am I right? If so, what has ~/.anubisrc to do with this?
>
> Regards,
> Sergey
>
>
>

--

********************************************
in-put GbR - Das Linux-Systemhaus
Markus Stegmueller
Support & Consulting
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 99/93
http://www.in-put.de
********************************************
     Schulungen  Installationen
         Beratung   Support
      Voice-over-IP-Loesungen
********************************************



_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Re: Re: Questions about signing Emails

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Markus,

> But how could I use every user's own Email Address?

You can do it using a single conditional statement in your main
/etc/anubisrc, like that:

gpg-passphrase "password"
if command["mail from:] = "(.*)"
  gpg-sign-encrypt \1
fi

This will use the value of the SMTP `MAIL' command as the user ID.
You may also configure it to use the value of the `From' (or any
other) header, e.g.:

if header["From"] = ".*<(.*)>"
  gpg-sign-encrypt \1
fi

Regards,
Sergey

 


_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis