Forum

forum guidelines

Notifications
Clear all

Install Postal Server (on Ubuntu 20.04 - AutoInstall didn't work) Where is Ruby 2.3?)

Page 1 / 2
timodee
(@timodee)
Active Member

Hey Hassan,

I tried to install postal via autoinstall, but since I installed Ubuntu 20.04 the command didn't work, so I tried this way:

https://h-educate.com/postal-smtp-manual-installation/

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)

image

What can I do?

Thanks,
Timo

 

Quote
Topic starter Posted : 28/04/2021 3:51 pm
timodee
(@timodee)
Active Member

Update: I installed Ubuntu 16.04 now and ran the command.

Now I get this:

image

Any Idea?

ReplyQuote
Topic starter Posted : 28/04/2021 4:12 pm
Abdallah Taleb
(@abdallahtaleb)
Prominent Member

The quick installation command is not working. You can use this article instead: 

https://h-educate.com/postal-smtp-manual-installation/

ReplyQuote
Posted : 30/04/2021 12:37 pm
timodee
(@timodee)
Active Member

Hey everyone,

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?

 

Thanks,
Timo

ReplyQuote
Topic starter Posted : 30/04/2021 4:21 pm
timodee
(@timodee)
Active Member

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.

Any idea? 

Thanks,
Timo

This post was modified 2 months ago by timodee
ReplyQuote
Topic starter Posted : 30/04/2021 7:09 pm
Abdallah Taleb
(@abdallahtaleb)
Prominent Member

@timodee this happens if there is a mistake in the NGINX file you create. Check your domain name inside the file. 

ReplyQuote
Posted : 30/04/2021 10:11 pm
timodee
(@timodee)
Active Member

Just to be sure:

If I use this:

hostname -f

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

postal.xmailing.me

So do I need to set "deemailer.com" or do I need to set "postal.deemailer.com" in the text files?

Thanks,
Timo

 

ReplyQuote
Topic starter Posted : 01/05/2021 6:31 am
Abdallah Taleb
(@abdallahtaleb)
Prominent Member

@timodee we are using a subdomain to install postal which is why we have set it postal.xmailing.me. 

ReplyQuote
Posted : 01/05/2021 2:50 pm
timodee
(@timodee)
Active Member

Ok. I changed everything now to deemailer.com

Now, I get this:
https://deemailer.com/

502 Bad Gateway. Why is that?

When I run this command

postal restart

I get this: Error: Procodile supervisor isn't running

ReplyQuote
Topic starter Posted : 01/05/2021 4:39 pm
Hasan AboulHasan
(@admin)
Illustrious Member

Try this command:

sudo -u postal postal start

ReplyQuote
Posted : 02/05/2021 4:10 pm
timodee
(@timodee)
Active Member

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?

This post was modified 2 months ago by timodee
ReplyQuote
Topic starter Posted : 02/05/2021 5:50 pm
timodee
(@timodee)
Active Member
image

CHECK THIS OUT, GUYS!!!! Yeeehaaa!!!

ReplyQuote
Topic starter Posted : 02/05/2021 5:57 pm
timodee
(@timodee)
Active Member

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?

Thanks,
Timo  

ReplyQuote
Topic starter Posted : 03/05/2021 5:47 pm
Abdallah Taleb
(@abdallahtaleb)
Prominent Member

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

ReplyQuote
Posted : 04/05/2021 9:44 pm
timodee
(@timodee)
Active Member

Just to be 100% sure:

Here's my new plan:

I have installed mailwizz here:
mailwizz.timodeemail.com

I will install postal again here:
postal.timodeemail.com

My sending domain on that postal server will then be:
deemailer.com

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

Correct?

I just use the server "postal.timodeemail.com" with a new domain and warm it up again?

Thanks,
Timo

ReplyQuote
Topic starter Posted : 05/05/2021 7:26 am
Page 1 / 2
Share: