On 8/5/21 9:56 AM, Vigneshwaran Ravichandran wrote:
Hi Thomas,
I am attaching my log file for reference.
-Original Message-
From: Thomas Bohl
Sent: Thursday, 5 August, 2021 10:24 PM
To: misc@opensmtpd.org
Subject: Re: Syntax Error
I am Vigneshwaran R @ vgnshlvnz. I am a FreeBSD OS enthusiast. Recently I tried
to deploy opensmtpd in FreeBSD 12.2-RELEASE, I get syntax error when I run
`smtpd -n`. I have attached the file for reference. Can someone point out the
issue?
Probably because you are using the old syntax. Not sure how its even
starting up though. Also the maillog shows multiple permission errors
early on and one of the daemons closes its socket if I'm reading
correctly. I would do a `pgrep smtpd` and make sure all the daemons are
still running. Off the top of my head I think there should be 4 or 5 going.
Edgar
Since you didn't show your error message, I got to assume its the fact that the
file has CR LF at the end of a line (Windows encoding for a new
line) instead of just LF (What a *nix systems expects).