Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

Error email sent through SMTP protocol

Started by Pedro M 6 years ago · 2 replies · 501 views
6 years ago

Hi,

I'm trying to send the contact information through email and form plugins. I think my configuration is ok, both email plugin and form plugin. However when I try to send any form from my hosting, it shows me this error:

Expected response code 220 but got code "", with message "rblsmtpd: 86.109.170.96 pid 83451: 451 Blocked - see https://www.spamcop.net/bl.shtml?86.109.170.96

I hope your help, this is the only error I have, at the momento, in my grav site.

Thanks so much.

6 years ago

Well, just guessing because there isn't much about your hosting setup in your post.

The core message of that error is that the IP address of your server has been used in the past to send spam-emails, and that this IP has consequently been blacklisted on SpamCop, one the bigger spam-monitoring players.

This often happens when you buy a new server (VPS or not) and the operator assigns a free IP from his pool. It can happen that you inherit an IP address from a former spammer.

You basically have a couple of options:

  • cancel you server and create a new one, praying for a more healthy IP address
  • wait a couple of days/weeks, and it should be whitelisted again (unused IP addresses get automatically whitelisted after some time)
  • contact the SBL companies to have it whitelisted. That takes some time and effort, but is overall doable.

Looking at your specific IP address, I would go with the first option. Your IP address is listed all over the place, and that will make it pretty hard to send emails from there.

http://multirbl.valli.org/lookup/86.109.170.96.html

6 years ago

Thank you, so much for your help.
I've configured my email.yaml file with the following:

YAML
mailer:
  engine: smtp
  smtp:
server: caslasgabias.com
port: 25
encryption: none
user: --------
password: --------
  sendmail:
bin: '/usr/sbin/sendmail -bs'
content_type: text/html
debug: false
charset: utf-8

My website ip is 87.109.170.19, however the output message when I try to send email from the grav form, is 87.109.170.96, that's very strange. Despite this, I'll contact with my hosting provider and I'll tell them this problem.

Again, thank you so much.

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1136 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 61 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 134 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 110 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 129 7 months ago