Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

dkim example request

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


a.kostyrev at serverc

Jun 21, 2012, 12:40 AM

Post #1 of 3 (586 views)
Permalink
dkim example request

hello!

Can somebody share working example of DKIM checks.

I've googled a lot of these but they seemed to be broken:
all that I got is "temporarily rejected after DATA: cannot test dkim_signers condition in DATA ACL" message (when I send mail from gmail to myself for example).

for example, config that gives me such error is:
warn add_header = X-DKIM-Status: $dkim_verify_status [($dkim_cur_signer) - $sender_host_address]
sender_domains = $sender_address_domain:$dkim_signers
dkim_signers = $sender_address_domain:$dkim_signers
dkim_status = invalid
condition = ${if eq {${lc:$dkim_verify_status}{invalid}{true}{false}}}
set acl_c_spamscore = ${eval:$acl_c_spamscore+20}
set acl_c_bouncemessage = $acl_c_bouncemessage DKIM is invalid;

warn add_header = X-DKIM-Status: $dkim_verify_status [($dkim_cur_signer) - $sender_host_address]
sender_domains = $sender_address_domain:$dkim_signers
dkim_signers = $sender_address_domain:$dkim_signers
dkim_status = fail
condition = ${if eq {${lc:$dkim_verify_status}{fail}{true}{false}}}
set acl_c_spamscore = ${eval:$acl_c_spamscore+20}
set acl_c_bouncemessage = $acl_c_bouncemessage DKIM check failed;

warn add_header = X-DKIM-Status: $dkim_verify_status [($dkim_cur_signer) - $sender_host_address]
sender_domains = $sender_address_domain:$dkim_signers
dkim_signers = $sender_address_domain:$dkim_signers
dkim_status = none
condition = ${if eq {${lc:$dkim_verify_status}{none}{true}{false}}}
set acl_c_spamscore = ${eval:$acl_c_spamscore+20}
set acl_c_bouncemessage = $acl_c_bouncemessage No DKIM;

warn add_header = X-DKIM-Status: $dkim_verify_status [($dkim_cur_signer) - $sender_host_address]
sender_domains = $sender_address_domain:$dkim_signers
dkim_signers = $sender_address_domain:$dkim_signers
dkim_status = pass
condition = ${if eq {${lc:$dkim_verify_status}{pass}{true}{false}}}


what I want to achive is to add some points when dkim is absent or invalid or failed.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


graeme at graemef

Jun 21, 2012, 1:46 AM

Post #2 of 3 (555 views)
Permalink
Re: dkim example request [In reply to]

On Thu, 2012-06-21 at 18:40 +1100, Костырев Александр Алексеевич wrote:
> I've googled a lot of these but they seemed to be broken:
> all that I got is "temporarily rejected after DATA: cannot test dkim_signers condition in DATA ACL" message (when I send mail from gmail to myself for example).

You need to do it in the DKIM acl, not the DATA acl.

See Chapter 56 of the documentation.

Graeme


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


a.kostyrev at serverc

Jun 21, 2012, 5:31 PM

Post #3 of 3 (552 views)
Permalink
Re: dkim example request [In reply to]

thanks alot
sorry for my inadvertence



-----Original Message-----
From: exim-users-bounces+a.kostyrev=serverc.ru [at] exim [mailto:exim-users-bounces+a.kostyrev=serverc.ru [at] exim] On Behalf Of Graeme Fowler
Sent: Thursday, June 21, 2012 7:46 PM
To: exim-users [at] exim
Subject: Re: [exim] dkim example request

On Thu, 2012-06-21 at 18:40 +1100, Костырев Александр Алексеевич wrote:
> I've googled a lot of these but they seemed to be broken:
> all that I got is "temporarily rejected after DATA: cannot test dkim_signers condition in DATA ACL" message (when I send mail from gmail to myself for example).

You need to do it in the DKIM acl, not the DATA acl.

See Chapter 56 of the documentation.

Graeme


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.