Archetictural Design: Spammers are sending emails to me with module contactus!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hello,
After configuring my nopcommerce site emails contact, I am receiving undesirable emails
using http request.
Here is my log of my ubuntu machine:
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Request starting HTTP/1.1 GET http://www.variety-shoe-shop.com/contactus - -
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Executing endpoint 'Nop.Web.Controllers.CommonController.ContactUs (Nop.Web)'
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Route matched with {action = "ContactUs", controller = "Common", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ContactUs() on controller Nop.Web.Controllers.CommonController (Nop.Web).
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Executing ViewResult, running view ContactUs.
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Executed ViewResult - view ContactUs executed in 46.1518ms.
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Executed action Nop.Web.Controllers.CommonController.ContactUs (Nop.Web) in 96.3757ms
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Executed endpoint 'Nop.Web.Controllers.CommonController.ContactUs (Nop.Web)'
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Aug 04 22:49:03 vps-9bf4df4d variety_com_log[671]:       Request finished HTTP/1.1 GET http://www.variety-shoe-shop.com/contactus - - - 200 14424 text/html;+charset=utf-8 118.9334ms
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Request starting HTTP/1.1 POST http://www.variety-shoe-shop.com/contactus application/x-www-form-urlencoded 699
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Executing endpoint 'Nop.Web.Controllers.CommonController.ContactUsSend (Nop.Web)'
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Route matched with {action = "ContactUs", controller = "Common", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] ContactUsSend(Nop.Web.Models.Common.ContactUsModel, Boolean) on controller Nop.Web.Controllers.CommonController (Nop.Web).
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Executing ViewResult, running view ContactUs.
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Executed ViewResult - view ContactUs executed in 41.9263ms.
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Executed action Nop.Web.Controllers.CommonController.ContactUsSend (Nop.Web) in 119.9657ms
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Executed endpoint 'Nop.Web.Controllers.CommonController.ContactUsSend (Nop.Web)'
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]: info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Aug 04 22:49:04 vps-9bf4df4d variety_com_log[671]:       Request finished HTTP/1.1 POST http://www.variety-shoe-shop.com/contactus application/x-www-form-urlencoded 699 - 200 - text/html;+charset=utf-8 127.5740ms
1 year ago
This is an old post, but should still apply - i.e. captcha, honeypot, block IPs
https://www.nopcommerce.com/en/boards/topic/47810/how-can-we-stop-spam-from-contact-us-page
1 year ago
Thanks, signed for google recaptcha and configured it in general settings!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.