Git Product home page Git Product logo

docker-mail-relay's Issues

TLS issue

Hi,

Neither alpine nor ca-certificates package provide ssl certificate and private key used in your postfix main.cf template

Since smtpd_use_tls is set to true, the postfix daemon reply with :

454 4.7.0 TLS not available due to local problem

to a STARTLS command, which may fool some SMTP client libraries.

Without any ssl certificates, you should defaultly set smtpd_use_tls to false, in order to have Postfix reply with a proper

502 5.5.1 Error: command not implemented

to STARTLS

Can't relay on sendgrid using TLS

I can't relay messages to Sendgrid using TLS, I get this error in the mailllog

2017-07-31T19:25:14.229313+00:00 smtp postfix/smtpd[312]: warning: cannot get RSA certificate from file "/etc/ssl/certs/ssl-cert-snakeoil.pem": disabling TLS support
2017-07-31T19:25:14.229345+00:00 smtp postfix/smtpd[312]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:bio/bss_file.c:255:fopen('/etc/ssl/certs/ssl-cert-snakeoil.pem', 'r'):
2017-07-31T19:25:14.229369+00:00 smtp postfix/smtpd[312]: warning: TLS library problem: error:20074002:BIO routines:FILE_CTRL:system lib:bio/bss_file.c:257:
2017-07-31T19:25:14.229390+00:00 smtp postfix/smtpd[312]: warning: TLS library problem: error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:723:

Later, When I'm trying to send I get this other error.

2017-07-31T19:31:10.154432+00:00 smtp postfix/smtp[537]: SSL_connect error to smtp.sendgrid.net[167.89.125.25]:587: Operation timed out
2017-07-31T19:31:10.155469+00:00 smtp postfix/smtp[537]: C9D798162B: Cannot start TLS: handshake failure
2017-07-31T19:36:10.358940+00:00 smtp postfix/smtp[537]: SSL_connect error to smtp.sendgrid.net[108.168.183.160]:587: Operation timed out
2017-07-31T19:36:10.363822+00:00 smtp postfix/smtp[537]: C9D798162B: to=[email protected], relay=smtp.sendgrid.net[108.168.183.160]:587, delay=640, delays=40/0.04/600/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure)

Any Ideas ?

Thanks, Pablo

License?

I'd love to use this, but without an open source license I'm in grey territory. Could I encourage you to put a license in? (I tend to prefer Apache or MIT, myself.)

Typo in run.sh

#! /usr/bin/env ash

I think it should be bash not ash. Am I right ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.