User avatar
johan
GpsGate
Posts: 14291
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

FEATURE: Spam block

Tue Jul 01, 2014 7:01 pm

FEATURE: Spam block

"Spam block" prevents a faulty Event Rule to send to many emails or SMS messages to one single recipient.

A typical scenario you want to avoid is that larger email providers like GMail, Yahoo and Hotmail will block your email server if you start to send hundreds of emails to one address during a shorter period of time.

Another scenario to be careful with is sending larger number of SMS, which is both annoying and expensive.

Install

Make sure all plugins are up to date "green" under SiteAdmin -> Plugins
"Spam block" is enabled by default.

Settings

Email Under SiteAdmin -> Settings -> Email you can set the number of emails per 60 minutes that are allowed to be sent to one email address. Default is 30. If more then 30 email notifications are sent, no more emails are sent for one hour. GpsGate will also send a notification to the SiteAdmin's email address with information.

SMS Under SiteAdmin -> Settings -> SMS you can set the number of SMS per 60 minutes that are allowed to be sent to one phone number. Default is 10. If more then 10 SMS messages are sent, no more SMS messages are sent for one hour. GpsGate will also send a notification to the SiteAdmin's email address with information.

How to fix the problem

In the spam block notification email you will also see which email address or phone number that is temporary blocked. You can search for it in the Terminal under SiteAdmin -> System Tools to find out which username and application it belongs to.

Under SiteAdmin -> System Tools -> Profiler -> CommandNotifier you can see which event rule in which application is causing all SMS/emails to be sent. Login to the application and disable the event rule, or change it to generate less notifications.

Make sure you do not give your end users more privileges than what the can handle!

SMS & Email quota per application. http://forum.gpsgate.com/topic.asp?TOPIC_ID=17600

A server with many applications and event rules can generate a large number of email notifications. For best performance and to avoid being black-listed for spam, it is recommended that you setup multiple SMTP servers. Based on application tag or email domain. http://gpsgate.com/blogComment/configuring_email_providers

How to setup multiple SMS providers http://gpsgate.com/blogComment/configuring_sms_providers

Use Roles and Features/Privileges http://gpsgate.com/blogComment/roles_and_features

Overview of all common privileges http://forum.gpsgate.com/topic.asp?TOPIC_ID=15102

Redesign the Event Rules or consider using reports instead. E.g EV100x http://gpsgate.com/reports

If you want to integrate Event Rules to another system. Notify your custom server over HTTP when an Event Rule is true:
http://gpsgate.com/blogComment/notify_custom_server

Alerts when server uses excessive resources http://forum.gpsgate.com/topic.asp?TOPIC_ID=17693

Here is a topic in the forum about recommended email providers (recommended by other GpsGate users, which sends many emails)
http://forum.gpsgate.com/topic.asp?TOPIC_ID=18266

Regards,
Johan

GpsGate Support

john.survey.2010
Posts: 178
Joined: Sat Sep 03, 2011 10:47 am

RE: FEATURE: Spam block

Sat Aug 09, 2014 9:25 am

Hi,
I am not sure if this feature works.
I installed this plugin and set message limit to 10.
However, 139 sms were sent to one number in past 1 hour.
Thanks

User avatar
johan
GpsGate
Posts: 14291
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: FEATURE: Spam block

Sat Aug 09, 2014 9:59 am

There was an issue in the last Patch.v4 release that only made the SMS block work if you used GpsGate SMS Proxy.

If you upgrade Patch.v4 from beta.gpsgate.com this issue is resolved and the Spam Block works for SMS also for web service based SMS providers.

Regards,
Johan

GpsGate Support

john.survey.2010
Posts: 178
Joined: Sat Sep 03, 2011 10:47 am

RE: FEATURE: Spam block

Mon Nov 17, 2014 8:23 am

Kindly make remove GPSGATE from subject and body to make it branding friendly.

User avatar
johan
GpsGate
Posts: 14291
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: FEATURE: Spam block

Mon Nov 17, 2014 10:29 am

The email is sent to the site administrator, which typically is you.

Regards,
Johan

GpsGate Support

Strack01
Posts: 27
Joined: Thu Jun 09, 2016 7:02 pm

Re: FEATURE: Spam block

Thu Aug 10, 2017 8:43 am

HI,

i have had the spam blocker block reports from reaching my clients for the last two days. Nothing has changed, in terms of the number of reports, and I keep getting alerts such as this:

private data is marked as [removed]

Host: [removed]
Message Type: Email
Target: [removed]
Limit: 20 message(s) per hour
Delivered: 20 messages since 10/08/2017 06:56:44 [removed]

Please advise how I can stop the spam blocker from stopping these reports to reach the client, it is starting to cause a lot of problems. I have set all limits under the application tracker to 0 (unlimited) but still getting these errors.

User avatar
johan
GpsGate
Posts: 14291
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

Re: FEATURE: Spam block

Thu Aug 10, 2017 9:18 am

It is the Email Notifiers in Event Rules that can casue this many emails. You can identify which application and which event rule(s) are sending the emails by checking the Profiler (SiteAdmin -> System Tools -> Profiler) under "CommandNotifier".

The problem is that if you send many emails to the same email address the email server will be rejected for spam.

Why do you need to send more than 20 emails per hour to one and the same email address?

If you need to notify another system in real time about events, please consider using a Command Notifier instead:

Notify your custom server over HTTP when an Event Rule is true:
http://gpsgate.com/blogComment/notify_custom_server

Or if you just want a list of all events, please use a EV1000 report instead:
http://gpsgate.com/reports/ev1000
Regards,
Johan

GpsGate Support

Return to “GpsGate Server - How to setup and use”