Skip to content
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

Problem with sending email (encryption: none) #180

Open
martinknor opened this issue Jan 17, 2024 · 1 comment
Open

Problem with sending email (encryption: none) #180

martinknor opened this issue Jan 17, 2024 · 1 comment

Comments

@martinknor
Copy link

After update from version 3.2 to 4.x is not possible to send emails without encryption.

On smtp i have this log:

Jan 17 12:38:45 secos postfix/smtpd[25651]: error: unsupported dictionary type: hash
Jan 17 12:38:45 secos postfix/smtpd[25651]: warning: cannot get RSA certificate from file "/etc/ssl/certs/ssl-cert-snakeoil.pem": disabling TLS support
Jan 17 12:38:45 secos postfix/smtpd[25651]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:288:fopen('/etc/ssl/certs/ssl-cert-snakeoil.pem','r'):
Jan 17 12:38:45 secos postfix/smtpd[25651]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:290:
Jan 17 12:38:45 secos postfix/smtpd[25651]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:ssl/ssl_rsa.c:596:
Jan 17 12:38:45 secos postfix/smtpd[25651]: warning: hostname xxxx does not resolve to address xxx.xxx.xxx.xxx: Name does not resolve
Jan 17 12:38:45 secos postfix/smtpd[25651]: connect from unknown[xxx.xxx.xxx.xxx]
Jan 17 12:38:45 secos postfix/smtpd[25651]: lost connection after STARTTLS from unknown[xxx.xxx.xxx.xxx]

It seems that grav ignore no encryption option.

image

@rhukster
Copy link
Member

I can send email without encryption via SMTP. Are you sure its not a requirement your SMTP daemon side?

mailer:
  engine: smtp
  smtp:
    server: localhost
    port: 2525
    encryption: none

Works with my local testing proxy without issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants