Piping to external perl then back.

2013-09-01 Thread Bruce Markey
I'm hoping someone on here can maybe point me in the right direction. I'm trying to simply pipe all incoming email to a perl script that then dumps back to postfix to deliver. Pipes in by STDIN and then hands it back via STDOUT. This is the script. https://grepular.com/Automatically_Encry

Re: Piping to external perl then back.

2013-09-01 Thread Bruce Markey
Viktor Thank you. I'm glad I asked before I spent any more time trying to make this work. I'll look at modifying the actual script for now. Viktor Dukhovni wrote: >On Sun, Sep 01, 2013 at 03:02:36PM -0400, Bruce Markey wrote: > >> I'm hoping someone on here can

Re: Anyone use this email server configuration ?

2013-09-02 Thread Bruce Markey
The only way to "nsa proof" is to encrypt end to end with pgp. I run postfix with gpg-mailgate. All incoming mail is encrypted with that users public key as it comes in for any mail that is not already encrypted client side using pgp. Bruce. -- Please use PGP, ENCRYPT everything. For informat

Handling quotas.

2013-09-05 Thread Bruce Markey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm running postfix/courier. Is it better to let postfix handle quotas or let courier do it, or is it just a matter of preference? I'm dealing with strictly virtual users here. From the articles I've come across having postfix handle it seems p

Gpg-mailgate

2013-09-05 Thread Bruce Markey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 If anyone is using mailgate I'm curious to know if/how you got it to work with anything but plaintext emails. If someone sends an html email for example all I get is a blank message. All headers intact, just no body to decrypt. I've patched mai

Chained filters.

2013-09-07 Thread Bruce Markey
I'm trying to run mail through amavis -> then through mailgate. Output of postconf -n alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = no config_directory = /etc/postfix content_filter = amavis:[127.0.

Re: Chained filters.

2013-09-07 Thread Bruce Markey
Petri, That did it, thank you. I thought it was going to be more complicated than that. Thanks Bruce -- Please use PGP, ENCRYPT everything. For information about acquiring a secryption.com account, email me. My public key: https://www.secryption.com/BruceMarkey.asc or http

Re: Chained filters.

2013-09-07 Thread Bruce Markey
Viktor, Which part? The amavis or the mailgate. The mailgate one isn't really a filter persay, it just encrypts. Is the chaining the issue or the implementation of one of the pieces. Thanks Bruce Viktor Dukhovni wrote: >On Sat, Sep 07, 2013 at 08:20:40AM -0400, Bruce Mark

Re: Handling quotas.

2013-09-08 Thread Bruce Markey
Sahil, Thanks for the link. I've been thinking moving to dovecot for a few reasons, this just adds to that. Bruce -- Please use PGP, ENCRYPT everything. For information about acquiring a secryption.com account, email me. My public key: https://www.secryption.com/BruceMarkey.asc or

Virtual domain loop

2013-09-25 Thread Bruce Markey
I'm getting a good number of bouces with the "loops back to itself" message. They are coming from r...@mail.secryption.com and sm...@mail.secryption.com. Since I am running virtual domains/users I can't add mail.secryption.com to my destination, so does that mean I need to add it to virtual

Re: Virtual domain loop

2013-09-25 Thread Bruce Markey
Ah ok. I was under the mistaken impression that there shouldn't be anything in mydestination when using virtual domains. So where would i add the alias to send the r...@mail.secryption.com mail to my account x...@secryption.com? Thanks Bruce DTNX Postmaster wrote: >-BEGIN PGP MESSAGE-

Re: Virtual domain loop

2013-09-25 Thread Bruce Markey
Makes sense now. Seperate alias tables for canonical and virtual domains. Thanks Jovi. DTNX Postmaster wrote: >-BEGIN PGP MESSAGE- >Version: GnuPG v1.4.14 (GNU/Linux) >Comment: Charset: us-ascii > >hQIMAydDBqzdFhNTAQ//WH6bKs+G7x1eL7VQxErV209ogFPh7hDSy59S0op7xRMV >MWmH1V9BACdxTlOM0Ps

Re: secure email server

2013-10-23 Thread Bruce Markey
Try postfix, dovecot, forced ssl/tls, with gpg-mailgate. I only allow imaps connections then gpg-mailgate encrypts all messages with the users public key. Works perfectly. Just my 2c. Bruce