Hey there,
I am trying to fight spam, like we all do. I have a few questions which i hope to get answered here:
Question 1: VSPF record.
I have 2 domains with both a v=spf1 record. One is on my main domain (on which the mailserver is running) and the other one is on one of my customers domain.
On my main domain (webunity.nl); the VSPF contains ALL IPs assigned to my server
On my customers domain, the VSPF contains only the HTTPS ip (for sending email from the website) and the main IPV4 IP from the mailserver itself (which is mail.maindomain.com) which is a CNAME for mail.webunity.nl
The question is: "What is needed in the VSPF record?"
Isn't the following SPF record enough (for my main domain):
And this one for all domains that use thesame mailserver?
Question 2: _dmarc and _domainkey
My second domain has DNS entries for _dmarc and _domainkey. This makes spamassassin flag SPAM as ***SPAM*** which it doesn't on the main domain. It has been too long to know how i configured it. By looking at custombuild and versions, i have Exim and clamAV but i really don't know where to look further.
Question 3: Move my spam to the INBOX.Junk folder
Related to the above, i want to move all spam to the junk folder. Any pointers for me?
I am trying to fight spam, like we all do. I have a few questions which i hope to get answered here:
Question 1: VSPF record.
I have 2 domains with both a v=spf1 record. One is on my main domain (on which the mailserver is running) and the other one is on one of my customers domain.
On my main domain (webunity.nl); the VSPF contains ALL IPs assigned to my server
Code:
v=spf1 mx a ip4:141.138.194.220/32 ip4:80.69.85.202/32 ip4:80.69.85.201/32 ip4:24.132.30.124/32 ip4:80.69.85.200/32 ip4:80.69.85.171/32 ip6:2a02:348:78:c2dc::1/48 a:pyrus.webunity.nl -all
On my customers domain, the VSPF contains only the HTTPS ip (for sending email from the website) and the main IPV4 IP from the mailserver itself (which is mail.maindomain.com) which is a CNAME for mail.webunity.nl
Code:
v=spf1 mx a ip4:141.138.194.14/32 ip4:141.138.194.220/32 ip6:2a02:348:78:c2dc::1/48 a:pyrus.webunity.nl -all
The question is: "What is needed in the VSPF record?"
Isn't the following SPF record enough (for my main domain):
Code:
v=spf1 a:pyrus.webunity.nl ip4:141.138.194.220/32 ip6:2a02:348:78:c2dc::1/48 -all
And this one for all domains that use thesame mailserver?
Code:
v=spf1 redirect=webunity.nl
Question 2: _dmarc and _domainkey
My second domain has DNS entries for _dmarc and _domainkey. This makes spamassassin flag SPAM as ***SPAM*** which it doesn't on the main domain. It has been too long to know how i configured it. By looking at custombuild and versions, i have Exim and clamAV but i really don't know where to look further.
Question 3: Move my spam to the INBOX.Junk folder
Related to the above, i want to move all spam to the junk folder. Any pointers for me?