Exim, domainkeys and Yahoo

DirectAdmin Support

Administrator
Staff member
Hello,

I've just read over the documentation on this feature and it seems like a good one. The problem is in it's delivery. We could no longer use rpms unless all binaries are static, which new systems don't allow due to the /etc/passwd interface with the system/kernel. If exim were to be compiled in the build script, like apache, php, dovecot, etc.. then it would be fine, but to do this at install time would probably double the time installs take to do. One option is to just add a 2nd install option into the build script and maintin the current way of doing it. Another is to figure out a way to include the c libraries for this module into the rpm so that a static binary would still work, on the assumption that the library linker (ldconfig, etc) on the other end uses the same paths (if not, the library wouldn't be found for the exim binary, thus not working at all)..

So it's an interesting problem, but the domainkey's idea itself does seem sound. Suggestions on a packaging method are welcome.. this needs to be chewed on for a while ;)

John
 

narwold

New member
I need this!

I am in desperate need of the ability to set up DomainKeys. All of my e-mails are ending up in people's Yahoo junk mail folders. I'm not on any blacklists, and I also use SPF. Just about the only thing I try now is DomainKeys. If there's no installer for it, I'll need to have someone give me step-by-step instructions so that I don't break something else in DA. Any thoughts?
 

smtalk

Verified User
Staff member
There are some instructions in google (they work on DirectAdmin servers too). :)
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
This is the best I've been able to find so far.

If the world is headed towards domainkeys, then perhaps we need to have available the option of a local on-server build of exim with domainkeys support, at least on a test basis.

John?

Warning: installing exim on a less than well-endowed server will result in a lengthy compile.

Jeff
 

DirectAdmin Support

Administrator
Staff member
If we go that route, we are not permitted to distribute it. It's not GPL, so has so be done by the admin.
http://wiki.exim.org/DomainKeys
It is available at http://domainkeys.sf.net - this library is licensed with a licence that is incompatible with the GPL which means that you may not distribute copies of Exim linked against libdomainkeys (and you will also not be able to obtain pre-compiled packages for this reason).
Anyway, you'd compile exim with this guide:
http://help.directadmin.com/item.php?id=125
but you'd make the Makefile changes they instruct..
You'd have to download the source from here as well:
http://domainkeys.sourceforge.net/

Perhaps it could be something to be added into custombuild 1.2.

John
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Thanks, John. I was so busy catching up the other day when i wrote my response I didn't take time to track that down.

Jeff
 

hci

Verified User
It is available at http://domainkeys.sf.net - this library is licensed with a licence that is incompatible with the GPL which means that you may not distribute copies of Exim linked against libdomainkeys (and you will also not be able to obtain pre-compiled packages for this reason).
What about Sendmail's implementation?

http://sourceforge.net/projects/dk-milter/

http://wiki.exim.org/DKIM

Also, it would be nice to have SPF support compiled into Exim.

http://wiki.exim.org/SPF

Matt
 
Last edited:

bataviahost

New member
For those who use Directadmin and haven't installed Domainkeys, there is solution to pass Yahoo filter.

Until now, our server with Directadmin hasn't used Domainkeys, but e-mails from our server are not placed at bulk folder by Yahoo. We don't know what method(s) exactly pass the Yahoo filter, but our server can pass the filter by following combination:
- Make sure the IP isn't in Spam List
- Make sure that the server isn't Open Relay and has proper DNS setting (check with dnsreport.com)
- Install SSL (private or shared) for every domain(s) that you want to pass Yahoo filter
- Set Reversed DNS according to the Server host name and domain name
- Set the SPF key in the DNS

On the other hand, using Domainkeys doesn't guarantee that you will pass Yahoo filter, not if you missing those above. One of our cPanel servers wasn't installed proper SSL, although has Domainkeys, SPF, Reversed DNS, clear IP, still didn't pass Yahoo filter. When we installed proper SSL, the next day it already passed Yahoo filter.

Jahja
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
bataviahost,

I'm not sure what you mean by
Install SSL (private or shared) for every domain(s) that you want to pass Yahoo filter
Could you please explain.

Thanks.

Jeff
 

halsoft

New member
Can someone assist me with yahoo domainkeys and exim?

Domainkeys and Exim with CPANEL

I need some assistance here and will be glad to pay for it.

Hal E. Halvorson
321-445-0803x1
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
You do realize we're the DirectAdmin forum and that CPanel is the competiton, right ;) ?

Have you asked on a CPanel forum?

Jeff
 

Yolte

Verified User
option "dk_selector" unknown

I am trying to compile exim with domainkey support;

Everything seem ok but when i try to restart exim it returns;

Starting exim: 2008-05-24 08:19:08 Exim configuration error in line 835 of /etc/exim.conf:
option "dk_selector" unknown

My Local/MakeFile is;

EXPERIMENTAL_DOMAINKEYS=yes
CFLAGS += -I/usr/local/include
LDFLAGS += -ldomainkeys -L/usr/local/lib

My exim.conf includes;

remote_smtp:
driver = smtp
dk_selector = myselector
dk_private_key = /usr/local/src/dk/rsa.private
dk_canon = nofws

Any ideas?
 

28 Studios

Verified User
I am trying to compile exim with domainkey support;

Everything seem ok but when i try to restart exim it returns;

Starting exim: 2008-05-24 08:19:08 Exim configuration error in line 835 of /etc/exim.conf:
option "dk_selector" unknown
I had this problem. When you do 'make install' for exim it installs it as /usr/sbin/exim-4.xx-y where xx is the verison number and y is another integer. Make a backup of /usr/sbin/exim and make a symlink to the new exim-4.xx-y binary.

I found that if you compile exim multiple times trying to get it right, you get different copies with different values for y. Make sure you link to the correct file.

A quick test to make sure you have the right one is

Code:
strings /usr/sbin/exim | grep dk_selector
If this doesn't output anything, you're pointing to the wrong version.
 

parsajax

Verified User
is there any usefull step by step help to install exim with domainkey on Directadmin ??? i need my mails go to yahoo inbox please help me
 

parsajax

Verified User
hi
i do compile exim width domainkey support and when i send an email too yahoo users there is my email set az domainkey verified but still my email go to bulk
is there any one who know what is the problem?
 

gozargah

Verified User
hi
i do compile exim width domainkey support and when i send an email too yahoo users there is my email set az domainkey verified but still my email go to bulk
is there any one who know what is the problem?
Are you set correct SPF for your domain too? And do you have RDNS for your mail server ip too?
 

Rhee

Verified User
I was able to set Domainkey properly but im still receiving email in bulk folder. I check the headers and its says "domainkeys=pass (ok)" but in bulk folder.

Any idea why? I have other settings made already.

1. RDNS
2. Non-Recursive NS
3. SPF
4. Domainkey

Anything I left out?
 
Top