Prev Previous Post   Next Post Next
  #1  
Old 19th July 2010, 20:52
krdzal krdzal is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix and DKIM

Im trying to set up Postfix with DKIM for a 2 days now, but now luck

Postfix is UP and runing ans DKIM is UP and runing

i have followed this tutorial
http://www.howtoforge.com/postfix-dk...lter-centos5.1

But when i test the emails for verification they are not passing

Im using this tool http://www.mailradar.com/domainkeys/

When i send email to Yahoo this are the haedares

From dkim-milt@avtomakedonija.com Mon Jul 19 18:49:40 2010
X-Apparently-To: krdzal21@yahoo.com via 69.147.75.20; Mon, 19 Jul 2010 11:47:01 -0700
Return-Path: <dkim-milt@avtomakedonija.com>
X-YahooFilteredBulk: 64.191.67.124
Received-SPF: pass (mta1027.mail.sk1.yahoo.com: domain of dkim-milt@avtomakedonija.com designates 64.191.67.124 as permitted sender)
X-YMailISG: 16nU4JwcZAoebsfTagOTWi6CHEdkOeUA4XezWAnjROIMbq9w ShTd8SDKTgVwEKosYw.3CfNV5l1FduzE8tMN25XFAuiBuoEeqW V3w3AR0pEt s2SOYo.IlWsYG0whm.bj3ftstccYK4XRlDpwBV177ZJSssnp2G m4lUcdcQaN jMu2T1NvBlAiIXy8bykK7PlRNIHN77VhSREa3k3T5v7GXONl.P C.FdUbMuCl 3DUmUhJ1ekNviAi2jGwHSN9gbPbjBAKsQc9vCMGJoxYIrvrVCp IpPSdYuwyv mVsDhWlZMmD9Sf47HVbOXgc_YZk4VHfsQiUbpwp3gk4wy4_bO7 Ey_3fuxCYb lHtJDYCjOoJUKgAgWAdDux4iMq17uGwCVvgzNE7efEozkA_i1X 2ZmJmW6eJn GJ5J_mNegeYwgMVoiOGXhwUPk30948jXeVcnzurlKI9tKndIo7 mOxzqgwTxm VE4p4o6NSOBh_8IyW8sy9lY5c3cFII_nx2tvQ9gzRg--
X-Originating-IP: [64.191.67.124]
Authentication-Results: mta1027.mail.sk1.yahoo.com from=avtomakedonija.com; domainkeys=neutral (no sig); from=avtomakedonija.com; dkim=permerror (bad sig)
Received: from 127.0.0.1 (EHLO avtomakedonija.com) (64.191.67.124) by mta1027.mail.sk1.yahoo.com with SMTP; Mon, 19 Jul 2010 11:47:01 -0700
Received: by avtomakedonija.com (Postfix, from userid 0) id 783A78718A2A; Mon, 19 Jul 2010 22:49:40 +0400 (MSD)
X-DKIM: Sendmail DKIM Filter v2.2.1 avtomakedonija.com 783A78718A2A
DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=avtomakedonija.com; s=default2; t=1279565380; bh=2jmj7l5rSw0yVb/vlWAYkK/YBwk=; h=From: Subject:To:Cc:Message-Id:X-Originating-IP:X-Mailerate: Content-Type; b=J/FVS8TLq1C6GA/CKhRRuCgEbmfi1N0vCh9IimhWjkO1OZE8Dt gutNWn3HBT1c4sBtYSWHLAkGs9ZXHSGan1bcCzbimJL+CrUZTc Vv4tonRiRDnwagoBP a0UM6jiOZ1lxHEsMkRXGWdNr2KXTl229vKploMIjpnt4fFRYNB yACk=
From:
dkim-milt@avtomakedonija.com
Add sender to Contacts
Subject:
To: krdzal21@yahoo.com
Cc:
Message-Id: <1279565380.11401@avtomakedonija.com>
X-Originating-IP: 85.187.227.155
X-Mailer: Webmin 1.510
Date: Mon, 19 Jul 2010 22:49:40 +0400 (MSD)
Content-Type: text/plain
Content-Length: 0

This i have put in main.cf

smtpd_milters = unix:/var/run/dkim-milter/dkim.sock
non_smtpd_milters = unix:/var/run/dkim-milter/dkim.sock



and this is dkim-milter config
USER="dkim-milt"
PORT=local:/var/run/dkim-milter/dkim.sock
SIGNING_DOMAIN="avtomakedonija.com"
SELECTOR_NAME="default2"
KEYFILE="/etc/dkim-milter/${SIGNING_DOMAIN}_${SELECTOR_NAME}.key.pem"
SIGNER=yes
VERIFIER=yes
CANON=simple
SIGALG=rsa-sha1
REJECTION="bad=r,dns=t,int=t,no=a,miss=r"
EXTRA_ARGS="-h -l -D"


And this is in BIND DNS for my domain zone

default2._domainkey IN TXT "v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDNreverFSF 609QD5ggU7dmWwW4TEJSLEWvzEm9ROcGWKR3Ec4K/y9Qgat1z6vvyBw3Ko38E2iDkgrqw+854Sg31IXiExCGHy11CVV Gbs3LXN1zwf0czHU4BSUSCgAvPj07ejJ5+CAhQBhQy+4SogJE2 oXkwxtC8T0l61UkL3hrlQIDAQAB" ; ----- DKIM default for avtomakedonija.com


I have domain form another hosting company and hosting from another? The above default2._domainkey is in the DNS zone which is created in the hosting company, not where the domain is hosted (maybe that is the problem)

Please help
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dkim with postfix for CentOS 5.2 - sometimes works, sometimes hardfail minimumnz HOWTO-Related Questions 2 3rd May 2009 17:40
Set Up Postfix DKIM With dkim-milter: glibc error savetz HOWTO-Related Questions 1 6th March 2009 14:18
DKIM With dkim-milter & Domainkeys In Postfix Using dk-milter pg001 Server Operation 17 31st July 2008 08:48
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
my problems with postfix dkim tutorial wherestheph HOWTO-Related Questions 4 8th March 2008 08:44


All times are GMT +2. The time now is 19:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.