-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script does not print the DNS records #259
Comments
Did it give an error message? What is the last output?
…On 23/01/31 06:54AM, Arth Patel wrote:
Hello, I just ran this script today on a fresh Debian 11 instance. It installed the required utilities for the mailserver but never printed the DNS records at the end. It also did not create a file called dns_emailwiz to save the records. I ran the script as root. Any thoughts on could be wrong here?
Arth
--
Reply to this email directly or view it on GitHub:
#259
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
It runs as normal trying to install and configure the utilities, and then stops at this output: I am thinking it never gets to the end of the script where you echo the DNS entry variables. FYI - I already set up SSL cert before running the script. Maybe a recent commit broke something? |
Found it, on line 70, the 'esac || exit $1' command tries to exit the script with the exit status passed as argument $1, only if the previous case statement has failed. And somehow the SSL code block is failing. You need to check the lines 51-70 again. I removed '|| exit $1' for debugging, and the script worked as expected. Line 70 in 768baa3
|
The Did you get your SSL with certbot or some other service? |
Hello, I just ran this script today on a fresh Debian 11 instance. It installed the required utilities for the mailserver but never printed the DNS records at the end. It also did not create a file called dns_emailwiz to save the records. I ran the script as root. Any thoughts on could be wrong here?
Arth
The text was updated successfully, but these errors were encountered: