December 10, 20232 yr Hello, I started getting these emails: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful These seem completely useless. Can some one help me find why these are coming from my server and how to dissable them?
December 11, 20232 yr Community Expert These mails come from a cron job that seems to (re)start or test nginx on your box. The job lacks the usual rerouting of the terminal output to ">/dev/nul 2>&1" at the end of the line, so everything that would be printed on the terminal is packed into a mail and send to you. So, look for cronjobs / crontabs.
December 11, 20232 yr Author 5 hours ago, MAM59 said: These mails come from a cron job that seems to (re)start or test nginx on your box. The job lacks the usual rerouting of the terminal output to ">/dev/nul 2>&1" at the end of the line, so everything that would be printed on the terminal is packed into a mail and send to you. So, look for cronjobs / crontabs. Hello, I did look into the user scripts plugin however pressing run in background does not generate the email from any of my scrips. This email only appears during startup of my server. Anything else I could look into? I am not that experienced using linux so I would really appreciate detailed instructions.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.