Skip to content

UPGRADE MAUTIC ON UBUNTU 20.04

Quick how-to on the way I upgraded mautic, since upgrading through the web breaks my installations every time.

Login into your Virtualmin

Backup all of your virtual servers

Download the backups to your pc

Open Putty

SSH to Server

sudo su –

cd to your mautic directory (/home/user/html)

php bin/console mautic:update:find

php bin/console mautic:update:apply

php bin/console mautic:update:apply –finish

Open your mautic installation, refresh the web page, check the bottom right, and you will see the latest version. In my case it is 4.4.8

MAUTIC – VIEW ALL CONTACTS IN A SEGMENT

  • Mautic

Here is a quick and easy way to view all the contacts in a segment. Lets use the Bounced Emails segment.

Navigate to Contacts

In the filter box at the top, write:
segment:bounced-emails

Press Enter

All of your bounced emails will show. Now you can select the person, and Add them to another segment, or remove them completely from a segment.

MAUTIC – RESET BOUNCED EMAIL FLAG

Mautic has a feature where not only is a bounced email added to the bounced-emails segment, it also has a Bounced Flag, that has to be reset for you to email a user again. You can remove it one by one for each user, however if you have hundreds of thousands of users, you will need a more efficient way.

Here is that way

Log into your Mautic Server

Log into your Webmin Server

Click Servers

Click MariaDB Database Server

Select the Database

Click the Execute SQL button at the bottom

Execute:
DELETE FROM lead_donotcontact WHERE reason = 2

The flag will be reset

Back in Mautic..

Go into Contacts

In the Filter box enter in:
segment:bounced-emails

Press Enter

Select All contacts and remove them from the segment (DO NOT DELETE THEM)

and you can now email them again….

HOW TO UPDATE PI-HOLE

Quick How-To for updating pihole on Ubuntu

Open a terminal

Type:
sudo apt-get update
Enter in your password

Type
sudo apt-get dist-upgrade
Enter in your password

Type
pihole -up
Enter in your password

Pihole updates

That is it!

EMAIL WARMING USING POWER AUTOMATE – SENDING FROM DOMAIN

For those of you who need to get a positive reputation on your domain for email campaigns, you first need to warm up the domain. Here is a simple power automate flow to assist with the task.

Login into Office.com

Click on the Menu to the Top Left of the screen

Select Power Automate

Click My Flows

Click +New Flow

Select Scheduled Cloud Flow

Give it a Name, Start Date, and Interval on how often you want it to run

Click Next

Click + Next Step

Type in mail and press Enter

Select Send EMAIL V3

Put in the FROM address of a user for the new domain you want to send email to
ex: user@tacticalware.com

Enter in a To Address for another email you own, that is off domain from the domain you are warming up.
ex: tacticalwarexyz123@gmail.com

Enter in a Subject

Add some Text to the Body

Click Save

Test your Flow, and email should go though now.

Next you will want to setup an auto reply on the receiving email address, and also setup a power automate flow from the email domain so you can generate content coming out of it.

EMAIL WARMING USING POWER AUTOMATE – SENDING TO DOMAIN

For those of you who need to get a positive reputation on your domain for email campaigns, you first need to warm up the domain. Here is a simple power automate flow to assist with the task.

Login into Office.com

Click on the Menu to the Top Left of the screen

Select Power Automate

Click My Flows

Click +New Flow

Select Scheduled Cloud Flow

Give it a Name, Start Date, and Interval on how often you want it to run

Click Next

Click + Next Step

Type in mail and press Enter

Select Send an Email V2

Put in the address of a user for the new domain you want to send email to
ex: user@tacticalware.com

Enter in a Subject

Add some Text to the Body

Click Save

Test your Flow, and email should go though now.

Next you will want to setup an auto reply on the receiving email address, and also setup a power automate flow from the email domain so you can generate content coming out of it.

HOW TO CHECK A DKIM RECORD

This one is quick and easy. You need to know the record info that was setup with the DNS Provider to do it

Go to https://MXToolBox.com/NetworkTools.aspx

Find the DKIM Box

Enter in the domain:selector info
Example – tacticalware.com:mydkim

Press the DKIM Lookup button

If it is setup properly you will see in green, the dkim information. If it is setup improperly, you will see an error, as you would see if you searched for the dkim tacticalware.com:mydkim

GODADDY – BACKUP DNS ZONE

Here is how to backup your DNS information in GoDaddy

Login into your account

Navigate to https://dcc.godaddy.com/control/portfolio

Identify the Domain name you want to backup

Click the three dots next to it “

Select Edit DNS

On the DNS MANAGEMENT page, next to the ADD button, click the Three Dots “

Select Export Zone File

Your DNS will backup to your computer.

Save it to somewhere special, and go on your merry way

CREATE SPF RECORD

This is a quick how-to on setting up the SPF record for those of us not using Microsoft 365. They have a different record type If you want a more in-depth one, there are many available elsewhere. So for now, here it is

Login into your DNS Provider
Ex – Network Solutions, Hostgator, ENOM

Navigate to the area to Manage DNS records

Create a TXT record

Name will be
@

Value will be:
v=spf1 a mx ip4:xxx.xxx.xxx.xxx ~all
Be sure to change xxx.xxx.xxx.xxx with the actual IP of your mail server

Save the record

Go to MXToolbox.com and enter your domain name

You should see a green box with your SPF record info contained inside

CREATE DMARC RECORD

This is a quick how-to on setting up the record. If you want a more in-depth one, there are many available elsewhere. So for now, here it is

Login into your Email Server

Create a new email address. Something like dns@tacticalware.com

Next, Login into your DNS Provider
Ex – Network Solutions, Hostgator, ENOM

Navigate to the area to Manage DNS records

Create a TXT record

Name will be
_dmarc

Value will be:
v=DMARC1; p=reject; rua=mailto:dns@tacticalware.com; ruf=mailto:dns@tacticalware.com; fo=1;

Make sure you change dns@tacticalware.com to whatever the email address is that you created in the first step

Save the record

Go to MXToolbox.com and enter your domain name

You should see a green checkmark next to DMARC