On Mon, Feb 17, 2014 at 5:38 PM, Sachin Divekar <[email protected]> wrote:
>
>
> I have found that you are using Postfix on Debian. I haven't set up
> DKIM in such set up. But in short you will have to do following.
>
> 1. Create a public and private key pair required for signing. You can
> use openssl to generate the key pair.
> 2. Install and configure openDKIM
> 3. Modify Postfix to use OpenDKIM for signing mails.
> 4. Now you will publish the public key using TXT record in your DNS config.
>
> Google keywords for set up guide: debian postfix dkim
>
> Regards,
> Sachin Divekar
>
>
I used amavisd-new with IPConfig 3 and a patch -> details
http://blog.schaal-24.de/?p=2223&lang=en
command "sudo amavisd-new testkey" says:

default._domainkey.revant.me      => pass

I've set TXT record default.domainkey at godaddy -> v=DKIM1; t=s;
p=Public-KEY
http://dkimcore.org/c/keycheck says valid key

Yet when I tried sending email I cannot! No errors, Roundcube/email client
says email sent but nothing happens! recipient doesn't receive message.

I got send/receive working back again without DKIM by editing following
lines from edited postfix's main.cf

--------- Edited As per blog's instructions (not working) -----------
smtpd_sender_restrictions =
  check_sender_access regexp:/etc/postfix/tag_as_originating.re
  permit_mynetworks
  permit_sasl_authenticated
  check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf,
regexp:/etc/postfix/tag_as_foreign.re

Note: /etc/postfix/tag_as_originating.re has a line "/^/ FILTER
amavis:[127.0.0.1]:10026" and /etc/postfix/tag_as_foreign.re has a line
"/^/ FILTER amavis:[127.0.0.1]:10024"

--------- Edited As per blog's instructions (not working) -----------

instead I set it to just as before.

-----Default Working Settings-------
smtpd_sender_restrictions = check sender access mysql:/etc/postfix/
mysql-virtual_sender.cf
-----Default Working Settings-------

I've no DKIM but mail works.
I am confused with amavisd-new ports 10024, 10025, 10026, 10027 and so is
my server!
Any Idea?

Revant
-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to