# 启用TLS支持,确保邮件传输的安全性 smtpd_tls_loglevel = 1 smtpd_tls_cert_file = "/etc/certificates/smtpd.crt" smtpd_tls_key_file = "/etc/certificates/smtpd.key" # 定义虚拟用户域,使用MySQL数据库存储用户信息 virtual_mailbox_domains = mysql:/etc/smtpd/mysql-virtual-mailbox-domains.cf virtu...
For TLS support, add the paths to the certificate and key files as for the HTTP server. funcListenAndServeTLS(addrstring,certFilestring,keyFilestring,handlerHandler,appnamestring,hostnamestring)error The handler function must have the following definition: ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
> -DPATH_LIBEXEC=\"/usr/libexec/opensmtpd\" -DHAVE_CONFIG_H -DIO_SSL > -DCA_FILE=\"/etc/pki/tls/cert.pem\" -O2 -g -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS > -fexceptions -fstack-protector-strong -grecord-gcc-switches > -specs...
* Added TLS options `cafile=(path)`, `nosni`, `noverify` and `servername=(name)` to smtp(1). * Allowed specification of TLS ciphers and protocols in smtp(1). - OpenBSD 7.1: * Stop verifying the cert or CA for a relay using opportunistic TLS. ...