LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2018, 01:52 AM   #1
mydhily
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Rep: Reputation: Disabled
mail server problem


Hai,
I am trying to create a mailserver in centos7.
My ip got blacklisted and now i cannot send any messages to gmail etc.
The maillog is showing as follows.
" Our system has detected that this message is suspicious due to the very low reputation of the sending IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited. Please visit https://support.google.com/mail/answer/188131 for more information.gsmtp (in reply to end of DATA command)"
I can also see my ip got blacklisted when checked using mxtoolbox.
How to solve this issue?
How to whitelist my ip so that i can send mails again???
 
Old 02-08-2018, 03:18 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Quote:
Originally Posted by mydhily View Post
Hai,
I am trying to create a mailserver in centos7.
My ip got blacklisted and now i cannot send any messages to gmail etc.
The maillog is showing as follows.
" Our system has detected that this message is suspicious due to the very low reputation of the sending IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited. Please visit https://support.google.com/mail/answer/188131 for more information.gsmtp (in reply to end of DATA command)"
I can also see my ip got blacklisted when checked using mxtoolbox.
How to solve this issue?
How to whitelist my ip so that i can send mails again???
Who's your ISP? Where did you acquire your IP address? Is it a hosted server (ex. AWS, some VPS).
 
Old 02-08-2018, 04:26 AM   #3
mydhily
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes its a hosted server, hosted with digitalocean. Also till yesterday i could sent mails using my webmailclient roundcube but cannot receive any mails. But now i am facing a problem as mentioned above.
 
Old 02-08-2018, 05:01 AM   #4
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Quote:
Originally Posted by mydhily View Post
Yes its a hosted server, hosted with digitalocean. Also till yesterday i could sent mails using my webmailclient roundcube but cannot receive any mails. But now i am facing a problem as mentioned above.
How long have you been using your IP address? Since DigitalOcean is a hosting provider, most likely the IP address you are using was used before. When was the last time you used this IP when sending mail?
 
Old 02-08-2018, 05:04 AM   #5
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Why did you get blacklisted?
By who?

Some blacklists allow applying for delisting - lots don't.

There is likely no easy fix.
 
Old 02-08-2018, 05:42 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
It also helps if the IP of your mail server reverses "properly", for example to www.yourdomain.com or mail.yourdomain.com rather than the usual "generic" reverse that providers usually have.

If you've made it on to a blacklist then, as has been said above, your main hope is that the blacklists have a removal option.

You could also pay for an outbound e-mail service, in the past I've worked for companies that used https://www.fusemail.com/ to spam/virus scan and relay their outbound mail. Many of these services are generally "trusted" by many e-mail providers.
 
Old 02-08-2018, 06:26 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
It has become increasingly difficult to run your own mail server because of these often unjustified blockings. A few options:

Don't install your mail server manually. Use VirtualMin. It is FOSS. It provides an excellent interface to managing your mail server. I have been configuring my mail servers manually so I know what I am talking about. I don't feel a whimpy using VirtualMin. Complicated issues like SPF records and DKIM are made easy.

One you have VirtualMin, backups and restore become a breeze. You can afford to have another fully configured VPS host somewhere else. In case of problems you can restore your backups to the backup VPS, set the IP to the backup VPS and you are running again. Recommended to have the backup VPS with a different provider.

I have been using external SMTP providers like Mailgun. That is OK, but undelivery rate is 1-2%. Mailgun gets often blacklisted for some time because it is heavily used for sending advertisements. That is legitimate use, but it does not prevent blacklisting now and then. Mailgun themselves will work hard to get them unblacklisted so that burden is off your back.

A paid SMTP service might be a good solution as well. I had to laugh when I looked at TenTenths suggestion for www.fusemail.com. That is one of those websites showing that they "offer everything", but don't specify WHAT they offer. I could not even find out that they offer SMTP service. Not TenTenths fault, but what a terrible web site.

jlinkels
 
Old 02-08-2018, 06:33 AM   #8
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by jlinkels View Post
I had to laugh when I looked at TenTenths suggestion for www.fusemail.com. That is one of those websites showing that they "offer everything", but don't specify WHAT they offer. I could not even find out that they offer SMTP service. Not TenTenths fault, but what a terrible web site.
Laugh all you want

I mentioned them from experience, we used them to deliver millions of e-mails (I'm not exaggerating, one of our projects had 200,000+ users that had to be regularly mailshotted) with a very low bounce/undeliverable rate.

It also seems to be common for companies that provide multiple (expensive!) services to have that style of website.
 
Old 02-08-2018, 01:24 PM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
To the OP:
Have you done this?
Code:
Please visit https://support.google.com/mail/answer/188131
 
Old 02-08-2018, 03:01 PM   #10
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by TenTenths View Post
It also seems to be common for companies that provide multiple (expensive!) services to have that style of website.
Yes, I noticed that. I wonder which type of customer they are targeting at. I can tell you, I quickly click away if I cannot understand what product they are offering.

I mean, if you had not stated that they provide SMTP services, I could not have guessed it.

jlinkels
 
Old 02-08-2018, 08:54 PM   #11
mydhily
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
I am using that ip provided by digital ocean for nearly 2 weeks. i had also visited the link provided in maillog "https://support.google.com/mail/answer/188131" and made a request to unblock my ip address. I cannot use virtualmin, fusemail etc for mail server, since my task is to create a mailserver using postfix, dovecot and roundcube. I should manually create it. I had no issues in sending messages to my gmail accounts till 2 days before. I had sent a lot of mails to my gmail account from the mail server i created for testing purpose. I think thus my port got blocked.
 
Old 02-09-2018, 07:55 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mydhily View Post
I am using that ip provided by digital ocean for nearly 2 weeks. i had also visited the link provided in maillog "https://support.google.com/mail/answer/188131" and made a request to unblock my ip address. I cannot use virtualmin, fusemail etc for mail server, since my task is to create a mailserver using postfix, dovecot and roundcube. I should manually create it. I had no issues in sending messages to my gmail accounts till 2 days before. I had sent a lot of mails to my gmail account from the mail server i created for testing purpose. I think thus my port got blocked.
Unless you were sending THOUSANDS of emails per day, it wouldn't have been blocked, especially if your emails were all to the same address. What, exactly, were you sending out, and to how many folks??

Google doesn't blacklist mail servers without good reason. Were you running an open relay? That page they sent you to has several links on it...did you read them? Did you run the postmaster tools they provide? Read the "Bulk sender guidelines"? Read the "Mail forwarding best practices"???? You're asking us what you can do, and the answer is "nothing". Your Linux server and mail system are working...what do you think we'll be able to 'fix', to let you get around a blacklist? If that could be done, every spammer in the world would be doing it.

Read the Google docs, email them, and work with them. If you're a legitimate mailer, shouldn't be a problem.
 
Old 02-11-2018, 03:45 AM   #13
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by TB0ne View Post
Google doesn't blacklist mail servers without good reason.
Occasionally they (and Microsoft) will blacklist entire netblocks. I've had to deal with this before with Microsoft, where my hosting provider had a /24 blocked and unfortunately I had a /28 part of it.
 
Old 02-11-2018, 04:08 AM   #14
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
@OP

You can check your IP against known RBLs here

Regards
 
Old 02-11-2018, 07:03 AM   #15
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Personally, I use https://mxtoolbox.com/blacklists.aspx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to convert OSX 10.5 Mini Server's Mail & mailboxes to CentOS linux server mail? tstfortruth Linux - Server 4 06-23-2012 01:33 AM
[Ubuntu Server 11.10]Problem with mail server MarkoSan Linux - Server 12 05-24-2012 04:57 AM
Problem with Thunderbird and mail server on Ubuntu server dikon123 Linux - Server 16 11-18-2011 12:38 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration