Topic: Help about SPF
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi all. I need a help about SPF record becouse my mails goes non stop to GMAIL spam.
What is situatuon.
iRedMail for Mail Server. pfSense with haProxy for firewall. Proxmox Mail Gateway for mailgateway only incoming trafic (use port 25)
5 domains. 3 are somedomain.bg , somedomain2.bg, somedomain3.bg one is somedomain.eu and somedomain.com. All five are different. Let say that smtp.domain.bg is my mail server. I want to send mail trought my mail server for all 5.
I create following records:
MX:
domain.bg smtp.domain.bg TTL=Auto Priority=0
SPF:
v=spf1 mx ip4:xx.xx.xx.xx include:_xxxxx.net -all where ip4 = is mail server (smtp.domain.bg)
_dmark
v=DMARC1; p=reject; rua=mailto:no-reply@domain.bg;
dkim._domainkey
(created via iRedMail tutorials) everything is OK with dkim
For all other domains my records are:
MX:
domain2.bg smtp.domain.bg TTL=Auto Priority=5
SPF:
domain2.bg v=spf1 mx ~all
_dmark
v=DMARC1; p=reject; rua=mailto:no-reply@domain.bg;
Are I am wrong somewhere? All mails in google is in spam. All report on MxToolbox is fine. I am not blacklisted anywhere. How to properly set it up this records people? I am in big stuck here.
10x in advance.
p.p. I work in education software company and we send to our customers over 30k emails with absence, marks and other pupils info. Maybe here is the problem.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.