Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 13th June 2010, 19:41
Sinchan Sinchan is offline
Join Date: Nov 2006
Posts: 48
Thanks: 14
Thanked 2 Times in 2 Posts
Question DKIM with amavisd-new installation problem

Hi all,
I have ISPConfig on my debian lenny and now i want to implement domainkeys since all my email marked as ***SPAM*** when received from yahoo email.
I follow perfect debian guide. And in that guide say to install amavisd-new.
Then, now i'll try to follow DKIM FaqForge and IJS's DKIM, but in this DKIM guide thats say amavisd (not amavisd-new).

Since iam never found amavisd command and amavisd.conf, then i'll try like this :
1. Create keys :
# updatedb
# locate amavisd.conf
# which amavisd
# which amavisd-new

# mkdir /etc/amavis/dkim
# amavisd-new genrsa /etc/amavis/dkim/hidden-mydomain-com.key.pem
Private RSA key successfully written to file "/etc/amavis/dkim/hidden-mydomain-com.key.pem" (1024 bits, PEM format)
2. Insert domain keys and enable dkim in /etc/amavis/conf.d/50-user :
# vi /etc/amavis/conf.d/50-user 
$inet_socket_port = [10024,10026,9998];
$enable_dkim_signing = 1;
dkim_key('mydomain.com', 'mail', '/etc/amavis/dkim/hidden-mydomain-com.key.pem');
$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = { 
  originating => 1, 
  smtpd_discard_ehlo_keywords => ['8BITMIME'],
3. Restart amavis and postfix service
# /etc/init.d/amavis restart
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
unicorn:~# /etc/init.d/postfix reload
Reloading Postfix configuration...done.
4. Show keys and add to TXT DNS Records :
# amavisd-new showkeys
mail._domainkey.mydomain.com.	3600 TXT (
  "v=DKIM1; p="
In ISPConfig dns, iam insert txt record :
Hostname : mail._domainkey.mydomain.com.
Text : v=DKIM1; p=abcdefghijklmnopqrstuvwxyz
5. Test keys :
# amavisd-new testkeys
TESTING: mail._domainkey.mydomain.com => invalid (public key: not available)
Any suggestions about this problem please ?
notes : i already have PTR and SPF record before
Reply With Quote
Sponsored Links


amavisd-new, dkim, domainkeys, postfix

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
HAProxy Installation problem Paladinemishakal Installation/Configuration 2 11th November 2008 10:54
Zivios Ubuntu howto - Openldap installation problem vcorreia HOWTO-Related Questions 3 24th September 2008 16:21
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47
Installation problem: PHP problem? hgoor Installation/Configuration 7 21st August 2005 23:15
Installation Problem _InFeCtOr Installation/Configuration 5 8th August 2005 16:34

All times are GMT +2. The time now is 16:25.

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