Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
postfix complains about leading whitespace
« previous
next »
Print
Pages: [
1
]
Author
Topic: postfix complains about leading whitespace (Read 1753 times)
u.n.known
Newbie
Posts: 25
Karma: 0
postfix complains about leading whitespace
«
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
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: postfix complains about leading whitespace
«
Reply #1 on:
November 22, 2021, 06:44:25 am »
is smart host specified?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: postfix complains about leading whitespace
«
Reply #2 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
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
postfix complains about leading whitespace