LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-05-2009, 07:17 AM   #1
raghugs
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 7.10
Posts: 19

Rep: Reputation: 1
Question DKIM doesn't Sign emails from external hosts


Hello Everybody

I have recently configured DKIM in CentOS 5.3.
Using DKIM-milter for Sendmail to Sign and transfer e-mails.

DKIM correctly Signs mails that originate from the mail server.
But refuses to Sign mails that are sent from one of our Remote Server.
The remote server uses this mail server to relay mails.

I have added the remote server's IP in /etc/mail/dkim/trusted-hosts.
Configured /etc/mail/dkim/trusted-hosts as Internal Hosts list in /etc/dkim-milter.conf

I have provided below the DKIM errors i received in /var/log/maillog.

Code:
Oct  5 17:05:05 mailer dkim-filter[3761]: n95BZ1bf003801 no MTA name match
Oct  5 17:05:05 mailer dkim-filter[3761]: n95BZ1bf003801 external host [RemoteServerIP] attempted to send as mailer.mydomain.com
Oct  5 17:05:05 mailer dkim-filter[3761]: n95BZ1bf003801 not internal
Oct  5 17:05:05 mailer dkim-filter[3761]: n95BZ1bf003801 not authenticated
Oct  5 17:05:05 mailer dkim-filter[3761]: n95BZ1bf003801 mode select: verifying
Oct  5 17:05:06 mailer sendmail[3801]: n95BZ1bf003801: Milter insert (1): header: Authentication-Results: mailer.mydomain.com; dkim=none (no signature)\n\theader.i=unknown; x-dkim-adsp=fail
dkim-filter.conf contents can be found here http://pastebin.ca/1597498

Last edited by raghugs; 10-06-2009 at 05:46 AM.
 
Old 10-08-2009, 12:23 AM   #2
raghugs
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 7.10
Posts: 19

Original Poster
Rep: Reputation: 1
Question

Bump :
Can anybody shed some light?
 
Old 10-08-2009, 08:35 AM   #3
raghugs
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 7.10
Posts: 19

Original Poster
Rep: Reputation: 1
Hello Everybody

Just to let you know that i have resolved the Issue by enabling both InternalHost and ExternalIgnoreHost and pointing them to /etc/mail/dkim/trusted-host via /etc/dkim-milter.conf
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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
postfix not accepting external emails samnjugu Linux - Server 14 03-18-2007 06:04 AM
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 03:51 PM
no sign of external scsi hdd on boot takahaya Linux - Hardware 16 05-20-2005 05:20 AM

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

All times are GMT -5. The time now is 10:19 AM.

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