postfix complains about leading whitespace

Started by u.n.known, November 21, 2021, 07:11:07 PM

Previous topic - Next topic
When enabling auth in the postfix service, it complains about:

warning: /usr/local/etc/postfix/smtp_auth: logical line must not start with whitespace: " username:password"

when looking into the file, there is a leading whitespace.

When I'm looking in the config.xml there is no leading whitespace (as well as in the gui of opnsense)

I think it looks like a but

cheers

marc


This is to authenticate postfix itself to a relay, it wont work if you dont specify it:
https://github.com/opnsense/plugins/blob/master/mail/postfix/src/opnsense/service/templates/OPNsense/Postfix/smtp_auth#L5
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/