Forum

Thread tagged as: Question, Problem, Forms

Spam filter not working

Hi All

I have a contact form using the forms app

but spam is not going in the spam folder or being detected by Akismet

this is my template

<perch:form id="contact" method="post" app="perch_forms" class="contact_form">
    <div class="row collapse">
    <perch:content id="intro" type="textarea" label="Intro" textile="true" editor="markitup" size="m" />

    <div class="small-12 columns">
        <perch:label for="name">Name</perch:label>
        <perch:input type="text" id="name" required="true" label="Name" antispam="name" />
        <perch:error for="name" type="required">Please add your name</perch:error>
    </div>

    <div class="small-12 columns">
        <perch:label for="email">Email</perch:label>
        <perch:input type="email" id="email" required="true" label="Email" antispam="email"/>
        <perch:error for="email" type="required">Please add your email address</perch:error>
        <perch:error for="email" type="format">Please check your email address</perch:error>
    </div>

    <div class="large-12 columns">
        <perch:label for="message">Message</perch:label>
        <perch:input type="textarea" id="message" required="true" label="Message" antispam="body" />
        <perch:error for="message" type="required">Please add a message</perch:error>
    </div>

    <div class="small-4 medium-4 columns">
        <perch:input type="submit" id="submit" class="postfix button" value="Send Message" />
    </div>

    </div>
</perch:form>
Anthony Elleray

Anthony Elleray 2 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is Askismet active? Have you checked its reports?

Yes fresh subscription Key is in settings

But reports all say 0

I cant see anything that says i need to activate

Subscription is 100% active

The site is a recent runway upgrade for swanagelifeboat.org.uk

Its getting 5 - 10 spam emails per day that are being emaild

Nothing in the spam folder

Drew McLellan

Drew McLellan 2638 points
Perch Support

Anything in the error logs?

nope error logs are fine

only thing i see is this

www.swanagelifeboat.org.uk 95.147.183.178 - - [03/Mar/2017:22:16:12 +0000] "POST /contact HTTP/1.1" 302 20 "https://www.swanagelifeboat.org.uk/contact" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" 95.147.183.178

Rachel Andrew

Rachel Andrew 394 points
Perch Support

That is not your error log, that's the HTTP log. You need to find your PHP error log, your host should be able to help with this.

ok i will send them a request

Just found the error log and its all clean so not sure what the issue is

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, me neither.

Abby Larsen

Abby Larsen 0 points
Registered Developer

If the mystery still persists, I heartily endorse the honeypot method for dealing with spam. Even with Akismet working, a few will still slip through unflagged. Adding a honeypot field to my forms has completely changed that. No false positives, either!

Yes akismet still not working at all so will be going back to honey pot