Hi @ll
the idea is to gpg sign archived mail only on the fly

current working

----------------------------------------------------------------------
main.cf

recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
sender_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre

backuplmtp_destination_recipient_limit = 1
lmtp_destination_recipient_limit = 1

master.cf

backuplmtp      unix  -       -       n       -       -       lmtp

/etc/postfix/backup_bcc.pcre
/^(.*)@example\.domainreal$/
example.domainreal+${1}@backup.example.domain

/etc/postfix/transport

[backup.example.domainreal] backuplmtp
----------------------------------------------------------------------

i found

http://code.google.com/p/gpg-mailgate/source/browse/INSTALL

1) Ensure that GPG is installed and configured.
        a) Make sure public keys for all of your potential recipients are
           available in the GPG home directory you use in step 2
2) Configure /etc/gpg-mailgate.conf based on the provided sample config
3) Place gpg-mailgate.py in /usr/local/bin/
4) Place the GnuPG directory in /usr/local/lib/python2.5/site-packages
5) Add the following to the end of /etc/postfix/master.cf

gpg-mailgate    unix    -       n       n       -       -       pipe
        flags= user=nobody argv=/usr/local/bin/gpg-mailgate.py

127.0.0.1:10028 inet    n       -       n       -       10      smtpd
        -o content_filter=
        -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o smtpd_helo_restrictions=
        -o smtpd_client_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8

6) Add the following to /etc/postfix/main.cf

content_filter = gpg-mailgate
--------------------------------------------------------------------------

what about idea to combine both to gpg sign all archived
mail i.e in this case only for archived mail recipient
[email protected]
reason notice if an archived mail wasnt changed in restore case etc

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to