Re: Syntax Error

2021-08-05 Thread Edgar Pettijohn



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).





Re: Syntax Error

2021-08-05 Thread Thomas Bohl

I am attaching my log file for reference.


Which is not really helping. It has over 7000 lines. It clearly shows 
that the daemon is running, so there can't be a syntax error.


Please be more specific. Show the commands you enter and the output that 
is generates. Try to use smtpd -d


There are a lot of "Connection timeout"-Errors in the maillog. Are you 
sure you can connect to port 25?




Re: Syntax Error

2021-08-05 Thread Thomas Bohl

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?


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).