LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-17-2017, 03:19 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
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.
 
Old 11-19-2017, 02:47 PM   #2
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
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.
 
Old 04-08-2024, 09:09 PM   #3
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,214

Rep: Reputation: 298Reputation: 298Reputation: 298
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 ?
 
  


Reply

Tags
dikm, postfix, slackware 14.2, spf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DKIM for Postfix, Ubuntu 14.04 Pekeltje Linux - Server 0 11-05-2014 08:44 PM
postfix with DKIM support Prabhpal S. Mavi Linux - Newbie 4 05-02-2012 12:19 PM
dkim-milter and postfix on CentOS 5.6 fantasygoat Linux - Server 1 07-21-2011 01:58 AM
LXer: Set Up DKIM For Multiple Domains On Postfix With dkim-milter 2.8.x (CentOS 5.3) LXer Syndicated Linux News 0 09-07-2009 06:20 PM
LXer: Set Up DKIM On Postfix With dkim-milter (CentOS 5.2) LXer Syndicated Linux News 0 04-06-2009 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration