Email Help Please

Ubuntu Server 20.04 LTS

So it’s all factory install that was redone by a fellow here. The only thing I’ve done is copy the SSL certificate from the domain to the Dovecot and Postfix servers. I installed Roundcube webmail, logged into it with the server name credentials and it loads up fine.

I then tried to send an email to my personal gmail account. I hit send, it goes through the motions, the green panel pops up “SENT” and that’s that.

The email never shows up in the gmail account. Looking at the log, this is posted:

Dec 2 10:34:35 vps postfix/smtp[552328]: 7C96E1600A36:,[]:25, delay=1.2, delays=0.05/0.01/0.78/0.33, dsn=5.7.1, status=bounced (host[] said: 550-5.7.1 [] The IP you’re using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 p4si2069787yba.101 - gsmtp (in reply to end of DATA command))

So if my server IP can’t be used to send mail, am I stuck with using a pay provider online or is there some way around this?

Thanks in advance for any help.

Hello :wave:

1 Like

That’s not it. In fact, it was you that fixed my server months ago.

I have my own Dell T140 Server in my house. I don’t use an online host for anything other than Email right now.

That’s correct. Hello.

If you wish to do so, we could work at configuring your server to send out email via a smarthost / mail relay on one of my servers at no charge, provided your requirement for sending email is not high volume.

Hi @Gomez_Adams ,
First of all your IP is blacklisted see not sure if google likes that.
many if not all ISP don’t allow use of port 25 to send email so use another port like 587 or 2525
Also do you have set-up SPF, DMARC ?


Sounds like a whole lot of trouble for not much use. I just shut both the mail servers down and am using my own personal SMTP from Charter for my mail service.

I was hoping for a simple fix but since it’s going to involve re-inventing the wheel I’ll give it a miss.


Sounds like your SPF record is wrong or missing.

in your dns make sure there’s a TXT record like this:

Type: TXT
Host/Name: your domain name here
Value: v=spf1 a mx a:your domain name here ip4:your public ip here ~all

you can also use this too to tailor the dns record for your specific need

It’s not really reinventing the wheel.

As background, most major email providers and spam detection systems flag residential dynamic IP ranges. Historically, people’s home computers get hijacked and were/are used to send spam. If you host a server at home, you either need to pay for a static, business IP, or use a sensible relay host such as that provided by your ISP to get around that stigma. This is easy to configure in postfix and is both normal and common.

Anyway, glad you found a solution that works for you. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.