Results 1 to 10 of 10

Thread: succesfully installed exim 4.71 and now?

  1. #1
    Join Date
    Aug 2009
    Posts
    33

    succesfully installed exim 4.71 and now?

    I have installed Exim 4.71 with DKIM support succesfully, using custom_build The configuration file exim.conf is not altered (which is a good thing). Exim 4.71 with the old config is running without problems.

    I will now describe the things I have done so far to get dkim working. Please let me know if these steps are ok/not ok, so i wont mesh things up when it goes into production.

    1. I have generated a key in /etc using "openssl genrsa -out /etc/dkim.key 1024"
    2. Generated a public key in etc using "openssl rsa -in /etc/dkim.key -out /etc/dkim.public -pubout -outform PEM"
    3. removed the begin and end tags in the dkim.public and removed the linebreaks.
    4. i am going to add this line in the DNS record:
    Code:
    mail._domainkey.yourdomain.com. IN TXT "v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3DQE..complete public key...KXaAKH1MH5I4y0+JsqQIDAQAB"
    5. i am going to add these lines in exim.conf
    Code:
    remote_smtp:
    driver = smtp
    #
    dkim_domain=yourdomain.com
    dkim_selector=mail
    dkim_private_key=/etc/dkim.key
    #
    Will everything be ok with this setup?

    Most things I described above are from this site:
    http://atmail.com/kb/2008/installing...ound-messages/

  2. #2
    Join Date
    Aug 2009
    Posts
    33
    I got no response here, and i wanted to give it a try. Unfortunately my registrar don't support DKIM input on dns TXT fields. So now I have two choices.

    1. change registrar
    2. use my own nameserver instead of the registrar one. I must find out now if the default DA setup meets the requirements of the SIDN

  3. #3
    Join Date
    Aug 2009
    Posts
    33
    I have found a registrar who has support for dkim fields in the dns administration. I found out that adding:

    dkim_domain=yourdomain.com

    in exim.conf is the wrong approach because every domain will be signed with yourdomain.com. So i will probably need a macro here. Unfortunately i cant test much because i work on a production server. Anyone already has a macro for dkim_domain?

  4. #4
    Join Date
    Feb 2006
    Posts
    163
    I'm working on a solution with my developers to set up DomainKeys and DKIM in DirectAdmin. I've done it for some customers of mine who host their website with us, as well as have a custom email marketing dedicated server. I'll post back when I get some more information. Thanks!
    True Negative - Complex Hosting Made Simple - AS1636
    Rochester, NY / Buffalo, NY

    Shared / VPS / Dedicated / Colo / App Dev

  5. #5
    Join Date
    Aug 2009
    Posts
    33
    Thank you for your reply. Your input will be highly appreciated.

  6. #6
    Join Date
    Aug 2007
    Posts
    3
    Have there been any updates with this? Exim 4.71 has been out for a few months so I would like to begin using DKIM on outbound mail and eventually inbound. Since I host many domains, I want to make sure it is set for each of them.

    Thanks,

  7. #7
    Join Date
    Aug 2004
    Location
    uk
    Posts
    1,582
    so custombuild is the new method for upgrading exim? as I see no new binaries from DA still but is now a tarball in the custombuild directory.

  8. #8
    Join Date
    Mar 2007
    Posts
    9
    Quote Originally Posted by rvandam View Post
    I have found a registrar who has support for dkim fields in the dns administration. I found out that adding:

    dkim_domain=yourdomain.com

    in exim.conf is the wrong approach because every domain will be signed with yourdomain.com. So i will probably need a macro here. Unfortunately i cant test much because i work on a production server. Anyone already has a macro for dkim_domain?
    In my opininion there is no need of registrar support for especials records in dns

    here you are my configuration of remote smftp transport and is perfectly working for every domain in my server thas has apropiate dns records

    Code:
    remote_smtp:
      driver = smtp
      interface =${lookup{$sender_address_domain}lsearch{/etc/exim4/interfaces}{$value}{95.211.14.35}}
      helo_data="${lookup{$sender_address_domain}lsearch{/etc/exim4/interfaces}{$sender_address_domain}{$primary_hostname}}"
      dkim_domain = "${lookup{$sender_address_domain}lsearch{/etc/exim4/interfaces}{$sender_address_domain}{$primary_hostname}}"
      dkim_selector = dkim
      dkim_private_key = /usr/local/etc/dkim/rsa.private
    notice that you have to create a file that contains

    yourdomain.com 111.222.333.444

    pairs where exim can locate it i have named this interfaces.

    In order to inser apropiate records different domains i have edited txt_template in directadmin data directory so every new domain could have this records by default.

    or clicking default settin in every domain you want to have this records.

    (be careful with this I have broken one of my dns server who has to A records not by default)
    Host4Ever
    Reinventing support

  9. #9
    Join Date
    Nov 2008
    Posts
    1
    Perhaps this could be integrated into the script.

    http://www.directadmin.com/forum/sho...t=16479&page=3

    See post #58 from floyd.

  10. #10
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Into what script?

    If DirectAdmin staff will agree to maintain the file I can certainly add it exim.conf, but if the file doesn't exist, and I've included it in exim.conf, then exim won't run.

    And how do you envision handling domains that aren't in the list? Someone needs to write and test how the default of the servername would run.

    But I still don't like it. Because my understanding of the RFCs is that you're supposed to send mail from a server, not from a domain.

    Note that when I'm working on exim.conf I do NOT look at threads that don't have the word SpamBlocker in the subject line, so I won't be looking at this thread again when working on the SpamBlocker Technology exim.conf file. You'd be better off continuing the thread in South Raven's post directly above.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

Similar Threads

  1. Exim didn't get installed.
    By Manie in forum Debian
    Replies: 10
    Last Post: 05-30-2007, 02:37 AM
  2. No ticket/e-mail when backup MySQL succesfully
    By Wouter in forum Admin-Level Difficulties
    Replies: 1
    Last Post: 07-01-2005, 01:49 PM
  3. Replies: 3
    Last Post: 10-12-2004, 04:13 AM
  4. SpamAssasin installed, exim restarted, mail dont arrived
    By cyberdots in forum Feedback & Feature Requests
    Replies: 1
    Last Post: 09-08-2004, 03:59 AM
  5. Exim not installed after install on FC2
    By wchost in forum General Technical Discussion & Troubleshooting
    Replies: 1
    Last Post: 07-11-2004, 01:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •