Install Postal Server (on Ubuntu 20.04 - AutoInstall didn't work) Where is Ruby 2.3?)
I tried to install postal via autoinstall, but since I installed Ubuntu 20.04 the command didn't work, so I tried this way:
The following step didn't work:
sudo apt install ruby2.3 ruby2.3-dev build-essential
Ruby2.3 cannot be found
It looks like this - It says:
E: Package 'ruby2.3' has no installation candidate
E: Package 'ruby2.3-dev' has no installation candidate)
What can I do?
Update: I installed Ubuntu 16.04 now and ran the command.
Now I get this:
I'm almost done now, but at the end the tutorial says this:
Also, we need to edit the default file for NGINX using WINSCP as well.
go to: /etc/nginx/sites-available Directory. Then Open the default file.
Replace yourdomain.com with your domain name.
What does that mean "Go to"? Go where?!? How?
Nevermind I figured it out. I used filezilla...
I set everything up now, but I have a new problem:
Everything worked just fine, postal even showed that I set DKIM and all other values correctly.
Now I wanted to add https. I did everything as you said in the tutorial, but I get this error now when I try to restart nginx:
root@hwsrv-872121:~# systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
Just to be sure:
If I use this:
It shows the domain "deemailer.com" which I set up for my server. This is also what I set in cloudflare. It redirects to the IP of my VPS.
In your tutorial you set
So do I need to set "deemailer.com" or do I need to set "postal.deemailer.com" in the text files?
Ok. I changed everything now to deemailer.com
Now, I get this:
502 Bad Gateway. Why is that?
When I run this command
I get this: Error: Procodile supervisor isn't running
Try this command:
sudo -u postal postal start
Ok. I did it:
root@deemailer:~# sudo -u postal postal start
...and I got this message now:
`/root` is not writable.
Bundler will use `/tmp/bundler20210502-19852-17ujwwc19852' as your home directory temporarily.
Started Procodile supervisor with PID 19857
But I have access now...
What about the error?
CHECK THIS OUT, GUYS!!!! Yeeehaaa!!!
As I installed everything I didn't realize that I need one domain for the server and one or more domains for sending.
I want to use deemailer.com for sending. That's where my server is at now.
Can I move the server to a different domain? Or can I send with it and have the server installed there also?
Also, what happens if I blow this domain up? Can I have a new one on that same server and make it to the inboxes with it? Or do I need to install a new server and a new domain?
@timodee You can use the same domain for the server and to send emails.
If your domain get's blacklisted, the IP will get blacklisted, which means even if you add other domains, they will have the same issue.
Just to be 100% sure:
Here's my new plan:
I will install postal again here:
My sending domain on that postal server will then be:
Now, if I have it that way and my sending domain deemailer.com gets blacklisted I can start all over again with a new domain without having to install mailwizz and postal again...
I just use the server "postal.timodeemail.com" with a new domain and warm it up again?