Knowledge Base

Is there a script to configure postfix to work with GoodCrypto?

Yes.

  1. Verify your mail server has the requirements. If not, then use the cut and paste method to configure your server.
  2. Download the postfix configuration script. The program automatically makes a backup copy of your existing postfix configuration before making any changes to the configuration files. It also configures postfix to "soft bounce" any messages in case of unexpected issues.
  3. Verify the downloaded file:
    • Filesize: 26,445 bytes
    • SHA512(/var/local/projects/goodcrypto/website/src/server/goodcrypto-postfix.tgz)= 4f86f2fdf8ac00da8a4126e2e269c5d56b96d9f410d91af45b47f794c81242f831f81ab42a9dd7dd0251f0e43c5a807704fee76e915c716bba9eac020fb8cd28
    • SHA256(/var/local/projects/goodcrypto/website/src/server/goodcrypto-postfix.tgz)= 8d85dc214f50a32d98ce864dd58b310f7e64eab42b720887c5e78c7cb571ae47
    • MD5(/var/local/projects/goodcrypto/website/src/server/goodcrypto-postfix.tgz)= 3102f0409cd2e284798157272644b405
    • PGP signature: tgz sig
  4. Move the downloaded file to the computer that runs postfix for your mail server
  5. Expand the file using the command: tar xvzf goodcrypto-postfix.tgz
    You will see a new subdirectory named config-postfix.
  6. Change to the config-postfix subdirectory.
  7. The postfix-gc script makes a backup before changing anything. With root or admin privileges, run
    postfix-gc IP_ADDRESS_FOR_YOUR_PRIVATE_GOODCRYPTO_SERVER
    Replace IP_ADDRESS_FOR_YOUR_PRIVATE_GOODCRYPTO_SERVER with the IP address of your GoodCrypto private server.
  8. Review the postfix configuration files. If everything looks ok, then restart postfix. If you have any problems, you can restore your original configuration by copying the original files from the Backup directory in /etc/postfix.
  9. Send a message to someone outside of your domain to verify that postfix is working.
  10. Once you are comfortable, you can remove the "soft_bounce = yes" line from /etc/postfix/main.cf

We strongly recommend that you configure your SMTP/IMAP/POP servers and clients to default to TLS.

Requirements

  • a working postfix configuration with TLS support. Learn more at postfix.org
  • postfix's configuration files are in /etc/postfix. If your files are in a different location, let us know.
  • python 2.7 or later installed. If you're running on Windows and you do not have it installed already, then you can https://www.python.org/downloads/windows/ Unix and Mac users should already have python installed.
  • you can run the program with root or admin privileges