2. Configure `/etc/gpg-mailgate.conf` based on the provided
`gpg-mailgate.conf.sample`
3. install some python dependencies `apt-get install python-m2crypto python-markdown python-requests`
3. Install some python dependencies `apt-get install python-m2crypto python-markdown python-requests python-mysqldb` (for linux distributions based on Debian. If you have a non Debian based distribution, the install command might be different)
4. Place `gpg-mailgate.py` and `register-handler.py` in `/usr/local/bin/`
@ -31,21 +31,36 @@
content_filter = gpg-mailgate
8. Add `register: |/usr/local/bin/register_handler.py` to `/etc/aliases`
8. Add `register: |/usr/local/bin/register-handler.py` to `/etc/aliases`
9. Update postfix's alias database with `postalias /etc/aliases`
9. Restart postfix.
10. Restart postfix.
10. create a dedicated user to store the public keys with these example commands:
11. Create a dedicated user to store the public keys with these example commands: