[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [bug-anubis] Questions about signing Emails
From: |
Sergey Poznyakoff |
Subject: |
Re: Re: [bug-anubis] Questions about signing Emails |
Date: |
Thu, 15 Oct 2009 12:30:57 +0300 |
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