Re: [exim] SMTP Data termination in test mode

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-users
Betreff: Re: [exim] SMTP Data termination in test mode
Hi,

Ivo Truxa <truxa@???> (So 15 Jan 2017 12:49:14 CET):
> Does anyone know how to correctly terminate the data when testing with "exim -bh"? When using CRLF-dot-CRLF, the data terminates
> correctly, but Exim includes the extra dot-CRLF to the canonicalized body when calculating the DKIM body hash, which then leads to
> an incorrect hash value. When using Ctrl-D or Ctrl-C, the connection is dropped without calculating the DKIM, of course. Is there
> any other way?


How did you test it?

Here an excerpt from `exim -bh 8.8.8.8` on my personal laptop:

    250 Accepted
    DATA
    354 Enter message, ending with "." on a line by itself
    Subject: Hi


    PDKIM >> Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    >>> host in ignore_fromline_hosts? no (option unset)
    hello
    .
    PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    >>> using ACL "acl_check_data"
    >>> processing "accept"
    >>> accept: condition test succeeded in ACL "acl_check_data"
    LOG: [28856] 1cT32p-0007VQ-8q <= <> H=google-public-dns-a.google.com (ME) [8.8.8.8] P=esmtp S=193
    250 OK id=1cT32p-0007VQ-8q


    **** SMTP testing: that is not a real message id!


No DKIM configured. But the same I got on my MX host, where DKIM checks
are enabled. (I don't paste it here, it's quite long output because of
the ACLs there.


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -