Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th March 2008, 05:37
chantown chantown is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default I finally got Domainkeys to sign my outgoing emails! BUT...

It's status is "bad" , according to gmail. It didn't pass the test for some reason.

I followed this tutorial by Topdog: http://howtoforge.com/how-to-impleme...lter-centos5.1

My signature is REALLY weird, can anyone tell me why?
Code:
DomainKey-Status: bad (test mode)
X-DomainKeys: Sendmail DomainKeys Filter v0.6.0 schoogo.com EE12C1A90063
DomainKey-Signature: a=rsa-sha1; s=default; d=schoogo.com; c=simple; q=dns;
	b=to6TQe3+wqNaDxD/jbDxKpbniHIpBtbqhpvppzS7iDknErZyxg/ggbNXYM3qImmzj
	UiHtOgcXVIRlTYa8jsG1w==
Why is the code so "short"? The other signatures I've seen have REALLY long codes (including the one that I generated in public Key.)

This is my public key:
-----BEGIN PUBLIC KEY-----
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANtFt3vFVex9aT9aRv x4vV7a7JOPXRs7
2ypS1s6LbqpD1h9a2U/vHC0MjQYJ7eR7s/QqMXiLkDzJIRqJpy1ThxECAwEAAQ==
-----END PUBLIC KEY-----

And this is my private key:
-----BEGIN RSA PRIVATE KEY-----
MIIBOgIBAAJBANtFt3vFVex9aT9aRvx4vV7a7JOPXRs72ypS1s 6LbqpD1h9a2U/v
HC0MjQYJ7eR7s/QqMXiLkDzJIRqJpy1ThxECAwEAAQJAZKyrw84k10H1crr2YLDm
8Yg+mrl2HCztQY9rRMXL96v4F5KYKk6bY8GCnHNuD2Qv6SHzHb mSf2ajLKc/Y5NV
CQIhAPROEe20iL20AqsSqpPfEIgAmLaFfBbvGUj5lny8W3PbAi EA5cTf5vQ/tk3p
0nMkdMv4yBexkdI7QM2m1o1jBq85GoMCIGflV6yOjWSXzFayjo ZqY95i2o8sv3QF
ZOxq8HvFouLnAiEApLH5zBJHmOVANRlTiGSsbsCNB3kp/8lpTWELGj9/LwECIGXz
+GuEtHS0+0vZ/ULNORI7cHFfSOB5aaznW0lw2ffY
-----END RSA PRIVATE KEY-----


My dk-milter config:
Code:
# Default values
#
USER="dk-milt"
PORT="local:/var/run/dk-milter/dk.sock"
SIGNING_DOMAIN="schoogo.com"
SELECTOR_NAME="default"
KEYFILE="/etc/mail/domainkeys/dk_${SIGNING_DOMAIN}.pem"
SIGNER=yes
VERIFIER=yes
CANON=simple
REJECTION="bad=r,dns=t,int=t,no=a,miss=r"
EXTRA_ARGS="-h -l -D"
MILTER_GROUP="mail"

This is my mail log:
Code:
Mar 17 23:40:45 schoogo dk-filter[30267]: Sendmail DomainKeys Filter: mi_stop=1
Mar 17 23:40:45 schoogo dk-filter[30267]: Sendmail DomainKeys Filter v0.6.0 terminating with status 0, errno = 0
Mar 17 23:40:49 schoogo dk-filter[30443]: Sendmail DomainKeys Filter v0.6.0 starting (args: -u dk-milt -p local:/var/run/dk-milter/dk.sock -d schoogo.com -s /etc/mail/domainkeys/dk_schoogo.com.pem -S default -b sv -c simple -C bad=r,dns=t,int=t,no=a,miss=r -h -l -D -P /var/run/dk-filter0.pid)
Mar 17 23:41:10 schoogo sendmail[30476]: m2I4fAds030476: from=apache, size=135, class=0, nrcpts=1, msgid=<200803180441.m2I4fAds030476@schoogo.com>, relay=apache@localhost
Mar 17 23:41:10 schoogo postfix/smtpd[30477]: connect from localhost.localdomain[127.0.0.1]
Mar 17 23:41:10 schoogo postfix/smtpd[30477]: 7D22D1A90063: client=localhost.localdomain[127.0.0.1]
Mar 17 23:41:10 schoogo postfix/cleanup[30481]: 7D22D1A90063: message-id=<200803180441.m2I4fAds030476@schoogo.com>
Mar 17 23:41:10 schoogo sendmail[30476]: m2I4fAds030476: to=skoogo@gmail.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30135, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 7D22D1A90063)
Mar 17 23:41:10 schoogo postfix/qmgr[30417]: 7D22D1A90063: from=<apache@schoogo.com>, size=582, nrcpt=1 (queue active)
Mar 17 23:41:10 schoogo postfix/smtpd[30477]: disconnect from localhost.localdomain[127.0.0.1]
Mar 17 23:41:13 schoogo postfix/smtp[30482]: 7D22D1A90063: to=<skoogo@gmail.com>, relay=smtp.charter.net[209.225.8.224]:25, delay=2.7, delays=0.12/0.01/0.14/2.5, dsn=2.0.0, status=sent (250 Message received: 20080318044109.SYUG11293.aarprv06.charter.net@schoogo.com)
I've tried multiple combinations of TLS/SMTPD-AUTH...disable/enable, but still the same thing exists. (Fail domain key)
I've also tried c=nofws.

I'm sending my mail through PHP mail(). Could this mess up the headers?

I've done everything in the tutorial, can someone tell me what's wrong?

Thanks!

Last edited by chantown; 18th March 2008 at 23:51.
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2008, 22:09
chantown chantown is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can somebody please help me!? I'm in an urgent hurry :/

Pleasee anyone have any ideas?
Reply With Quote
  #3  
Old 19th March 2008, 14:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Have you tried to send a test mail to autorespond+dk@dk.elandsys.com?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 19th March 2008, 20:48
chantown chantown is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, but I don't know how to accept incoming mail (My server is only setup to do outgoing mail), so I don't know what's the problem.
Reply With Quote
  #5  
Old 20th March 2008, 18:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by chantown
Yes, but I don't know how to accept incoming mail
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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
outgoing email spf question wherestheph Server Operation 2 7th March 2008 07:32
How can I forward both incoming and outgoing emails? roguemat Installation/Configuration 4 19th December 2007 21:04


All times are GMT +2. The time now is 17:09.


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