Re: [exim] Can't get Exim to DKIM-sign

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Can't get Exim to DKIM-sign
On 30/01/16 22:12, Andrey Utkin wrote:
> I seek for evidence of DKIM signature being created but find none.
>
> When I do this locally:
> echo TEST-TEST | mail -v -s TEST -S smtp=localhost me@???
>
> I get this in verbose log of exim:
> https://gist.github.com/andrey-utkin/f96395f7327df32ea93f
>
> The reply from gmail is here:
> https://gist.github.com/andrey-utkin/182a1bbd55fbe2092609


I think that G decided it didn't like you before you got
to the point of starting to DKIM-sign the message you
were sending. This is why there is not evidence of
DKIM in your debug output (thanks for gathering that,
by the way. It helps a lot).

starting line 548:
12121 SMTP>> MAIL FROM:<root@???> SIZE=1550
12121 SMTP>> RCPT TO:<andrey.od.utkin@???>
12121 SMTP>> DATA
12121 tls_do_write(0x7ffdc6193d30, 81)
12121 gnutls_record_send(SSL, 0x7ffdc6193d30, 81)
12121 outbytes=81
12121 Calling gnutls_record_recv(0x564e359e9130, 0x7ffdc6192d30, 4096)
12121 read response data: size=42
12121 SMTP<< 250 2.1.0 OK m189si5279995wmb.98 - gsmtp
12121 Calling gnutls_record_recv(0x564e359e9130, 0x7ffdc6192d30, 4096)
12121 read response data: size=42
12121 SMTP<< 250 2.1.5 OK m189si5279995wmb.98 - gsmtp
12121 Calling gnutls_record_recv(0x564e359e9130, 0x7ffdc6192d30, 4096)
12121 read response data: size=43
12121 SMTP<< 354 Go ahead m189si5279995wmb.98 - gsmtp
12121 SMTP>> writing message and terminating "."
12121 writing data block fd=7 size=530 timeout=300
12121 tls_do_write(0x564e359e3a40, 530)
12121 gnutls_record_send(SSL, 0x564e359e3a40, 530)
12121 outbytes=530
12121 Calling gnutls_record_recv(0x564e359e9130, 0x7ffdc6192d30, 4096)
12121 read response data: size=326
12121 SMTP<< 550-5.7.1 [2a01:4f8:c17:16c8::2] Our system has detected
that this message does

we send (pipelined) mail, rcpt, data. It responds ok, ok, go-ahead.
We send one small data chunk. It says "go away".



Compare with one of the testsuite testcases (non-tls,
but...):

SMTP>> MAIL FROM:<eximtest@???> SIZE=1375
SMTP>> RCPT TO:<a@???>
SMTP>> DATA

read response data: size=78
SMTP<< 250 OK
SMTP<< 250 Accepted
SMTP<< 354 Enter message, ending with "." on a line by itself
SMTP>> writing message and terminating "."

writing data block fd=9 size=355 timeout=300
PDKIM >> Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>

... again a single small data block is sent as first data, and then
we hit a PDKIM debug output line. It happens to be the first one
of the delivery.


So, quite possibly your DKIM config is fine, but there's some other
reason that G does not like you.
--
Cheers,
Jeremy