OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: u.n.known on November 21, 2021, 07:11:07 PM

Title: postfix complains about leading whitespace
Post by: u.n.known on November 21, 2021, 07:11:07 PM
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
Title: Re: postfix complains about leading whitespace
Post by: Fright on November 22, 2021, 06:44:25 AM
is smart host specified?
Title: Re: postfix complains about leading whitespace
Post by: mimugmail on November 22, 2021, 09:35:00 AM
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