Control Web Panel

WebPanel => E-Mail => Topic started by: brijendrasial on February 27, 2015, 10:53:11 PM

Title: DKIM and SPF Issue
Post by: brijendrasial on February 27, 2015, 10:53:11 PM
Explanation of error

I always had a domain on the server, then I went ahead in postfix manager and there check only "Install DKIM & SPF:" and then clicked on "Rebuild Mail Server". The process got completed and then I "Restarted all mail services."

Then I went to "DKIM & SPF Manager" and there I choose domain and "Add DKIM" and also checked "enable SPF". When the process got completed only DKIM was added into DNS record with TTL "0". May I know why TTL? Then I checked for SPF but no record was added for it.

I manually added SPF and changed TTL for DKIM and used an email to check if they were enabled and the result was failure.

May I know what is wrong with the panel?
Title: Re: DKIM and SPF Issue
Post by: brijendrasial on February 27, 2015, 11:52:36 PM
After manually adding spf it got detected by email providers but DKIM is not getting detected.
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 05, 2015, 04:57:15 AM
i have the same issue
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 05, 2015, 07:25:09 AM
i read a lot in google and apparently is a rDNS issue but i dont know how to fix it.

my mail tester http://www.mail-tester.com/web-ox1Kz9 (http://www.mail-tester.com/web-ox1Kz9)

spamasassin say:

X-Spam-Last-External-IP: 162.252.57.189
X-Spam-Last-External-HELO: server.sergiosarcos.com.ve
X-Spam-Last-External-rDNS:

and

Received: from server.sergiosarcos.com.ve (unknown [162.252.57.189])

maybe is a rDNS problem.

Title: Re: DKIM and SPF Issue
Post by: brijendrasial on March 06, 2015, 01:45:40 AM
DKMI is not being used on email. Admin you need to fix it.
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 06, 2015, 02:19:59 AM
hi brijendrasial, i guess the problem is reffer to the webmail url because im sending mails from ip/webmail and server.hostname/webmail but when i use domain/webmail the mail use server.hostname to send not domain and ofcourse not get DKIM sign
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 06, 2015, 05:24:39 AM
ok i set the rDNS but Dkim keep failing.

Mail test result http://www.mail-tester.com/web-ox1Kz9 (http://www.mail-tester.com/web-ox1Kz9)
Title: Re: DKIM and SPF Issue
Post by: brijendrasial on March 06, 2015, 08:06:28 AM
The same thing I was trying to explain. Between rNDS has nothing to do with DKIM key :)
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 06, 2015, 08:14:24 AM
The same thing I was trying to explain. Between rNDS has nothing to do with DKIM key :)

i keep trying to set DKIM propertly if you found a solution please help me
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 06, 2015, 08:47:36 AM
The same thing I was trying to explain. Between rNDS has nothing to do with DKIM key :)

i keep trying to set DKIM propertly if you found a solution please help me

i add this lines in postfix/main.cf

smtpd_milters           = inet:127.0.0.1:8891
non_smtpd_milters       = $smtpd_milters
milter_default_action   = accept

an now mail tester is 7/10 instead 9/10 but i recibe DKIM NOT valid and amil has Dkim signature
http://www.mail-tester.com/web-ox1Kz9
Title: Re: DKIM and SPF Issue
Post by: aeanez on March 07, 2015, 09:56:00 PM
solved.

http://www.mail-tester.com/web-ox1Kz9
Title: Re: DKIM and SPF Issue
Post by: lee069 on May 14, 2015, 12:53:17 PM
Hi, can I please ask how you "Solved it".

Every time I run the test I get back DKIM signature not found.

Thanks Lee.