Mail Integration with Reporting Module

Mail Integration with Reporting Module

Prerequisites

Before you get started with this guide, you have to complete some basic steps.
First, we'll assume that you have an access of SafeSquid server.
We are also assuming that you've Reporting Module set up. You can follow this guide to Setup Reporting Module and come back.

Mail Integration

Change directory to /usr/local/safesquid/api
  1. Command: cd /usr/local/safesquid/api
Open config.ini from SafeSquid console
  1. Command: vim config.ini
Find mail_details block and fill the mailing details. Refer the below table while filling the details.
useremail
Sender Email Address
userpaaswd
Password of the Sender Email
smtpserver
FQDN/IP of your SMTP server
smtpport
Port on which your SMTP server is listening on
toaddr
Reciever Email Addresses
ccinfo
Email addresses to cc, if any
Important Notes
  1. All the fields are mandatory except ccinfo. Set the value as none if you would like to leave the field empty.
  2. toaddr and ccinfo can have comma separated values
  3. Egadmin@safesquid.net,itsecurity@safesquid.net,manager@safesquid.net
Leaving any of the fields empty would lead to malfunctioning of the Reporting Module. So, make sure to set the value as none for empty fields.
The mail has been scheduled to be sent at 7am everyday using a cronjob which is configured automatically while installing the Reporting Module as shown below.
0 7     * * * root /bin/bash   /usr/local/safesquid/api/sendmail.py
The cronjob can be modified to reschedule the mailing as per your requirement by editing the file /etc/crontab


    • Related Articles

    • Setup Reporting Module

      Advantages of Reporting Module over the default Dashboard: Reduced Data Processing time More detailed reports Hour-wise reports More filtering options Deeper data analysis An automated data mining engine Exportable reports to PDF and Excel formats ...
    • Reporting (Dashboard)

      Overview SafeSquid gives you the ultimate visibility into your activities with detailed real-time reporting. SafeSquid Dashboard allows you to get real-time traffic running on your network (Internet Usage intelligence) as well as bandwidth ...
    • YouTube API Integration With SafeSquid To Allow Specific YouTube Videos

      Overview YouTube is a video-sharing website which provides a wide variety of videos. YouTube video content categories organize channels and videos on YouTube website. YouTube has lots of videos for entertainment like comedy, music, movies, web ...
    • A comprehensive guide on how to integrate Windows Active directory

      Active Directory (AD) services are crucial for network security and efficient user management within an organization. High Security: Active Directory services provide layered security, encompassing various policies and permissions to ensure security ...
    • Defend Against Internal Threats And Data Leakage

      Overview According to a recent survey of hundreds of IT security professionals, most organizations have major security holes when it comes to protecting themselves against insider threats. Not all data loss is the result of external, malicious ...