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

SMTP server doesn't work. #1180

Open
ghost opened this issue Jun 1, 2022 · 2 comments
Open

SMTP server doesn't work. #1180

ghost opened this issue Jun 1, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2022

Hello,

I run an OpenSMTPD server on Debian Sid (because I wanted to have php 8) and it worked until now, but recently, it has stopped working.

When I run sudo systemctl status opensmtpd.service it all seems good, until I try to send an e-mail or log-in into my account. If I try, it doesn't work and I get this error:

smtpd[1333]: 017194843bc503fd smtp connected address=91.92.24.203 host=dhcp-91-92-24-203.net1.bg
smtpd[1333]: 017194843bc503fd smtp disconnected reason="io-error: error:0A080006:SSL routines::EVP lib"

My smtpd.conf:

table aliases "/etc/smtpd/aliases"
table passwds "/etc/smtpd/passwds"

action "relay" relay

pki "aaa.a.bg" cert "/etc/letsencrypt/live/aaa.a.bg/fullchain.pem"
pki "aaa.a.bg" key "/etc/letsencrypt/live/aaa.a.bg/privkey.pem"

srs key "D/MysPgdKwq43iDot+9+bwUdSrePQb/9nG5ObpeS"

filter   "rdns" phase connect match   !rdns disconnect "550 DNS error"
filter "fcrdns" phase connect match !fcrdns disconnect "550 DNS error"
filter "rspamd" proc-exec "/usr/libexec/opensmtpd/filter-rspamd"

# Inbound
listen on 0.0.0.0 port 25 tls pki "aaa.a.bg" filter { "rdns", "fcrdns", "rspamd" }
action "RECV" lmtp "/var/run/dovecot/lmtp" rcpt-to virtual <aliases>
match from any for domain "aaa.a.bg" action "RECV"

# Outbound
listen on 0.0.0.0 port 465 smtps       pki "aaa.a.bg" auth <passwds> filter "rspamd"
listen on 0.0.0.0 port 587 tls-require pki "aaa.a.bg" auth <passwds> filter "rspamd"
action "SEND" relay srs
match from any auth for any action "SEND"
@BirdMosaic
Copy link

@whataboutpereira
Copy link

Duplicate of #1171 ?

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

No branches or pull requests

2 participants