LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Implementing DKIM and SPF: Postfix and Slackware (https://www.linuxquestions.org/questions/linux-server-73/implementing-dkim-and-spf-postfix-and-slackware-4175617839/)

rshepard 11-17-2017 03:19 PM

Implementing DKIM and SPF: Postfix and Slackware
 
I have two domains: one for business, one for personal. I installed (but not yet activated) opendkim for postfix on my slackware-14.2 server. I have a question on /etc/opendkim.conf (there is no /etc/default/opendkim), and another question on syntax for adding a SPF record in my DNS server.

DKIM:
/etc/opendkim.conf has the work domain entered for Domain and Report address. Do I add a second Domain line with the name of my personal domain?

SPF:
I understand that the syntax, 'v=spf1 mx -all' allows all messages from my DNS MX record to be sent and those from all other domains to be rejected. I think this is the syntax I want since the DNS A record for my personal domain points to the work domain name. So, if I use the syntax of 'v=spf1 a -all' then only messages from my work domain (with the main A record) will be sent and those from my personal domain will be rejected. Am I correct?

I run a sole practitioner professional services business and I'm not a professional network admin so I appreciate learning from all of you who know much more than I do about mail servers and networking.

rshepard 11-19-2017 02:47 PM

Update:

openSPF is fully compliant with the port25.com verifier after additional records on my DNS server. Needs no more attention.

openDKIM was installed using the SlackBuilds.org package and configured following a blog written using CentOS. OpenDKIM starts without error but verifier.port25.com does not see it. Test messages report 'none' for DKIM. How do I diagnose where the problem(s) are located? I have 2 domains sending mail from the same IP address and am not sure how to handle this in /etc/opendkim.conf.

saxa 04-08-2024 09:09 PM

Hi, I would like to understand if you have been able to set this up correctly and if you
could maybe share the configs for slackware 15 ?


All times are GMT -5. The time now is 12:37 PM.