简体   繁体   English

如何在Joomla中控制表单中的垃圾邮件

[英]How to control spam in Forms in Joomla

I have a website running in Joomla 2.5.9. 我有一个在Joomla 2.5.9中运行的网站。

On a particular page I have create a simple form which retrieves certain information from the user and sends the information via Email to admin. 在特定的页面上,我创建了一个简单的表单,该表单从用户那里检索某些信息,然后通过电子邮件将信息发送给管理员。

This form is using math captcha. 此表格正在使用数学验证码。

I have added a hidden field to this form and checking if this hidden field is filled. 我已在此表单中添加了一个隐藏字段,并检查是否已填充该隐藏字段。 If yes then reject the form. 如果是,则拒绝该表格。

The problem is that the admin is receiving at least 200 spam Emails ( per day ) from this particular form. 问题在于,管理员每天从该特定表单接收至少200封垃圾邮件(每天)。

No other form on that website is getting spam Email. 该网站上没有其他表格收到垃圾邮件。

Can anyone tell me know how I can reduce the number of spam Emails. 谁能告诉我如何减少垃圾电子邮件的数量。 OR Is there any free plugin which handles form creation + spam handling + math captcha in Joomla? 还是在Joomla中有任何免费的插件可以处理表单创建+垃圾邮件处理+数学验证码?

Any kind of help will be appreciated. 任何帮助将不胜感激。

Thank You. 谢谢。

  1. Use session token in form (see docs: How to add CSRF anti-spoofing to forms ) 在表单中使用会话令牌(请参阅文档: 如何向表单添加CSRF反欺骗
  2. Check out Captcha plugins in Extensions directory 在扩展目录中查看Captcha插件
  3. Best anti-spam is a custom solution. 最佳反垃圾邮件是一种自定义解决方案。 I added mechanisms to check for duration in which form has been filled in and submitted, set maximum retries and added backend form validation. 我添加了一些机制来检查表单填写和提交的持续时间,设置最大重试次数并添加了后端表单验证。 This reduced spam to 0, but I'm aware I'll have to come with additional things when situation changes. 这样可以将垃圾邮件数量减少到0,但是我知道当情况发生变化时,我将不得不添加其他内容。

Key question is: What is are the differences in behavior between a person that wants to contact you and a spambot script? 关键问题是:想要联系您的人与垃圾邮件程序脚本在行为上有什么区别?

Is this the only form using math captcha? 这是唯一使用数学验证码的形式吗? If your using anti-spam-'tools' and get a lot of spam, than the tools seem to be bad. 如果您使用反垃圾邮件“工具”并收到大量垃圾邮件,那么这些工具似乎是不好的。

It also often helps to add a small, static question, which can simply be answered by the users like ie 'every 2nd letter of the domain' or 'name of the headcoach'. 它还通常有助于添加一个小的静态问题,用户可以简单地回答该问题,例如“域的每个第二个字母”或“负责人的姓名”。 This is so specific, that bots normally don't know, what to insert. 这是如此具体,以至于机器人通常不知道要插入什么。 This should just be an addon to the normal anti-spam! 这应该只是正常的反垃圾邮件的附件!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM