OPNsense Forum

English Forums => General Discussion => Topic started by: fred.bloggs on August 11, 2022, 06:34:45 PM

Title: [Feature Request] Use certificate both for smtpd and smpt connections in postfix
Post by: fred.bloggs on August 11, 2022, 06:34:45 PM
Hi,

some smart host providers allow authentication via certificate instead of IP or user/password. E.g. O365 outlook connector supports this.

To make this work the following settings in postfix conf need to be set for outgoing connections:
postconf -e "smtp_tls_cert_file = <cert file>"
postconf -e "smtp_tls_key_file = <cert key>"

As I can see, currently the certificate selected in the GUI only applies to inbound connections:
postconf -e "smtpd_tls_cert_file = <cert file>"
postconf -e "smtpd_tls_key_file = <cert key>"

Am I missing something or may there be a chance to add this support?
Thank you.
Fred
Title: Re: [Feature Request] Use certificate both for smtpd and smpt connections in postfix
Post by: franco on August 12, 2022, 10:50:36 AM
Feature requests are best recorded on GitHub:

https://github.com/opnsense/plugins/issues/new?assignees=&labels=&template=feature_request.md&title=


Cheers,
Franco
Title: Re: [Feature Request] Use certificate both for smtpd and smpt connections in postfix
Post by: fred.bloggs on January 23, 2023, 11:04:52 PM
Feature request: https://github.com/opnsense/plugins/issues/3274 (https://github.com/opnsense/plugins/issues/3274)