HereWeFix

Easy and Simple Solution

Tuesday, July 6, 2021

add dmarc record cpanel

 dmarc record is not found issue occurred due to invalid or no records found in hosting DNS. The below solutions will add the DMARC records and resolve your mail issues.
Error:
no dmarc record found
dmarc quarantine/reject policy not enabled
Solution:
1.Click DMARC Record Generator and copy the records.
2.Login to your Cpanel >> Open Zone Editor or Advanced Zone Editor >> Manage >> Add Record
3.Enter the generated DMARC records
Name  :_dmarc.domain.com.
Type   : TXT
TTL    :3600
Value (or) Record : v=DMARC1; p=none; rua=mailto:email@domain.com; ruf=mailto:email@domain.com; fo=1
4.Save the record.
5.The below is how you want the recipient server to handle email from the domain. Add anyone record either None/Reject/Quarantine
None: v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=3600
Reject: v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=3600
Quarantine: v=DMARC1; p=quarantine; sp=none; rf=afrf; pct=100; ri=3600
Alternate Add your email id to get failed DMARC reports.
None: v=DMARC1; p=none; sp=none; ruf=mailto:email@domain.com; rf=afrf; pct=100; ri=3600
Reject: v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ruf=mailto:email@domain.com; ri=3600
Quarantine: v=DMARC1; p=quarantine; sp=none; ruf=mailto:email@domain.com; rf=afrf; pct=100; ri=3600
6.Enter the record you choose. For example, I have chosen Reject
Name  :_dmarc.domain.com.
Type   : TXT
TTL    :3600
Value (or) Record :v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=3600
7.Save the record.
8.Check the status of the DMARC record  https://mxtoolbox.com/

NOTE:
Replace _dmarc.domain.com. with your domain name.
Replace email@domain.com with your domain email.

dmarc policy not enabled cpanel

 dmarc record is not found issue occurred due to invalid or no records found in hosting DNS.dmarc quarantine/reject policy not enabled

Error:
dmarc policy not enabled
Solution:
The below is how you want the recipient server to handle email from the domain. Add anyone record either None/Reject/Quarantine
None: v=DMARC1; p=none; sp=none; rf=afrf; pct=100; ri=3600
Reject: v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=3600
Quarantine: v=DMARC1; p=quarantine; sp=none; rf=afrf; pct=100; ri=3600
Alternate Add your email id to get failed DMARC reports.
None: v=DMARC1; p=none; sp=none; ruf=mailto:email@domain.com; rf=afrf; pct=100; ri=3600
Reject: v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ruf=mailto:email@domain.com; ri=
3600
Quarantine: v=DMARC1; p=quarantine; sp=none; ruf=mailto:email@domain.com; rf=afrf; pct=100; ri=
3600

1.Login to your Cpanel >> Open Zone Editor or Advanced Zone Editor >> Manage >> Add Record
2.Enter the record you choose. For example, I have chosen Reject
Name  :_dmarc.domain.com.
Type   : TXT
TTL    :3600
Value (or) Record :v=DMARC1; p=reject; sp=none; rf=afrf; pct=100; ri=3600
3.
Save the record.
4.Check the status of the DMARC record https://mxtoolbox.com/

NOTE:
Replace _dmarc.domain.com. with your domain name.

no dmarc record found cpanel

dmarc record is not found issue occurred due to invalid or no records found in hosting DNS.
Error:
no dmarc record found
Solution:
1.Click DMARC Record Generator and copy the record.
2.Login to your Cpanel >> Open Zone Editor or Advanced Zone Editor >> Manage >> Add Record
3.Enter the generated DMARC records
Name  :_dmarc.domain.com.
Type   : TXT
TTL    :3600
Value (or) Record : v=DMARC1; p=none; rua=mailto:email@domain.com; ruf=mailto:email@domain.com; fo=1
4.Save the record.
5.Check the status of the DMARC record  https://mxtoolbox.com/

NOTE:
Replace _dmarc.domain.com. with your domain name.
Replace email@domain.com with your domain email.


Thursday, May 27, 2021

Remove the application pools that have no domain from plesk database

Use the below command to remove the entries for application pools that have no domain-related from the Plesk database.
Solution:
1.If you have an issue on a remote server, connect your server through RDP.
2.Open the command prompt and run the below command.
DELETE i, ia FROM IisAppPools i LEFT JOIN IisAppPoolDomains ia ON i.id = ia.poolId LEFT JOIN domains d ON d.id = ia.domainId WHERE d.name IS NULL AND i.id != 1;


Unable to find row with id 1381 in domains table

The issue occurred while deleting the domain from the Plesk panel. It happens due to database inconsistency. Follow the below steps to resolve the issue.

Solution:
1.If you have an issue on a remote server, connect your server through RDP.
2.Open the command prompt and generate a backup for the Plesk database
  plesk db dump psa > C:\psa_dump.sql
3.Connect Plesk database
  plesk db
4.Check whether there is no domain associated with such ID in the Plesk database. Replace 1381 with your affected ID.
  select * from domains where id=1381;
NOTE: if you got the below output then the given ID is not available in the database.
              Empty set (0.00 sec)
5.Fix the inconsistency in the Plesk database.
  delete from IisAppPools where ownerId=1381;
6.If you disabled ModSecurity activate and check.