By stalcupt
Hi,
I’m wondering if you could install an SSL certificate and Webmin for me, as well as getting my mail working properly on my Apache server.
I spent days a couple years ago, and finally got a single email account working, which I simply forward to a PHP script. Now I need to install an SSL certificate, but I can’t do that without being able to access emails from “postmaster@datagarrison.net”. I worked on this for several hours today, and could not do it. I then tried installing Webmin, but no one seems to be able to do this at DigitOcean with Ubuntu 16.04, which is the version I have.
I paid for and initiated the SSL certificate at NameCheap.com, and so already generated the CSR on my server. But I cannot access the auto-generated email sent to postmaster, so can’t complete the SSL activation.
I’d be willing to pay to have you do all this, if necessary.
Best regards,
Tom 774-392-0856 stalcupt@gmail.com
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi Tom,
I dont know if you need it now,but i’d love to give you advice.For SSL,you can search acme.sh on GitHub.It’s readme document is very clear and i think you can easily make it.For mail,i dont know which mail program you want to install.Here i list senmail for you.
sudo apt-get install sendmail
sudo apt-get install mailutils
ps aux grep sendmail
Vi /etc/mail/sendmail.mc
DAEMON_OPTIONS (`Family = inet, Name = MTA-v4, Port = smtp, Addr = 0.0.0.0 ') dnl
DAEMON_OPTIONS (`Family = inet, Name = MSP-v4, Port = submission, M = Ea, Addr = 0.0.0.0 ') dnl
#Modify Addr = 0.0.0.0 to indicate that you can connect to any server.
cd /etc/mail
mv sendmail.cf backupmail.cf.bak backup
m4 sendmail.mc> sendmail.cf error prompt sendmail-cf is not installed
echo "test" | mail -s test ***********@qq.com
#Error My unqualified host name (rivamed) unknown; sleeping for retry
/etc/mail/local-host-names
127.0.0.1 localhost
127.0.0.1 {hostname}
#Same /etc/hosts
127.0.0.1 localhost
127.0.0.1 {hostname}
#Sent an e-mail and found that the e-mail was not received. View the log and find that an error was reported. DSN: Service unavailable
#Modify hostname test.com
#Since the mailbox mechanism has been placed in the trash, just add it to the whitelist
Then go for Webmin
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
sudo apt install webmin
After you install,it will show
Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
By default, Webmin listens for connections on port 10000 on all network interfaces. If your server is running a UFW firewall, you need to open the Webmin port. To allow traffic on port 10000, run the following command:
sudo ufw allow 10000/tcp
Then view your web mail GUI
https://your_server_ip_or_hostname:10000/
After you log in, you will be redirected to the Webmin dashboard, which provides basic information about the system.From here, you can start configuring and managing your Ubuntu 18.04 server as needed.
If you still have problems, please continue to reply.
Kind regards, Shiroka
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.