New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better defaults for smtp settings, fixes #24 #27
Conversation
Thanks for getting this done! However, I don't think we should add |
I removed the I fear that the risk for someone just trying Roundcube is high that he/she will send a plaintext password over an unsecure connection - without noticing it. (I don't know whether Roundcube refuses to use plaintext passwords without SSL/TLS.) |
Any more issues preventing the merge? |
As a sysadmin, I agree with this. That and smtp_user and smtp_pass should be configured to pass-through the login credentials. |
@thomascube Any movement/progress on this pull request? |
Sorry for the delay! Looks good now. |
Hi @aspettl , |
This PR contains the most simple implementation for #24: hardcode the defaults, no environment variable.
I tried it locally, it works for me. I modified the readme because the SMTP server has to be specified separately (otherwise it is localhost). And I added
tls://
to the example because (hopefully) SMTP servers will require TLS before they accept SMTP AUTH. Anyway, activating encryption should always be a good idea.