Re: [exim] Disclaimer and DKIM

Top Page
Delete this message
> {CR}{LF}{SP}{BO}font-family:Calibri;{CR}{LF}{SP}panose-1:2{SP}15{SP}5{SP}2{SP}2{SP}2{SP}4{SP}3{SP}2{SP}4;{BC}{CR}{LF}/*{SP}Style{SP}Definitions{SP}*/{CR}{LF}p.MsoNormal,{SP}li.MsoNormal,{SP}div.MsoNormal{CR}{LF}{SP}{BO}margin:0cm;{CR}{LF}{SP}margin-bottom:.0001pt;{CR}{LF}{SP}font-size:11.0pt;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}mso-fareast-language:EN-US;{BC}{CR}{LF}a:link,{SP}span.MsoHyperlink{CR}{LF}{SP}{BO}mso-style-priority:99;{CR}{LF}{SP}color:#0563C1;{CR}{LF}{SP}text-decoration:underline;{BC}{CR}{LF}a:visited,{SP}span.MsoHyperlinkFollowed{CR}{LF}{SP}{BO}mso-style-priority:99;{CR}{LF}{SP}color:#954F72;{CR}{LF}{SP}text-decoration:underline;{BC}{CR}{LF}span.EmailStyle17{CR}{LF}{SP}{BO}mso-style-type:personal-compose;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}color:windowtext;{BC}{CR}{LF}.MsoChpDefault{CR}{LF}{SP}{BO}mso-style-type:export-only;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}mso-fareast-language:EN-US;{BC}{CR}{LF}@page{SP}WordSection1{CR}{LF}{SP}{BO}size:612.0pt{SP}792.0pt;{CR}{LF}{SP}margin:72.0pt{SP}72.0pt{SP}72.0pt{SP}72.0pt;{BC}{CR}{LF}div.WordSection1{CR}{LF}{SP}{BO}page:WordSection1;{BC}{CR}{LF}--></style>%7BCR%7D%7BLF%7D</head>%7BCR%7D%7BLF%7D<body%7BSP%7Dlang=3D%22EN-GB%22%7BSP%7Dlink=3D%22#0563C1%22%7BSP%7Dvlink=3D%22#954F72%22>%7BCR%7D%7BLF%7D<div%7BSP%7Dclass=3D%22WordSection1%22>%7BCR%7D%7BLF%7D<p%7BSP%7Dclass=3D%22MsoNormal%22>Why%7BSP%7Ddoes%7BSP%7Dthis%7BSP%7Dnot%7BSP%7Dwork<o:p></o:p></p>%7BCR%7D%7BLF%7D</div>%7BCR%7D%7BLF%7D%7BCR%7D%7BLF%7D<br>=%7BCR%7D%7BLF%7D=0AThis%7BSP%7De-mail%7BSP%7Dand%7BSP%7Dits%7BSP%7Dattachments,%7BSP%7Dif%7BSP%7Dany,%7BSP%7Dcontains%7BSP%7Dinformation%7BSP%7Dintended%7BSP%7Dfor%7BSP%7Dthe%7BSP%7Daddressee%7BSP%7Donly.%7BSP%7DIt%7BSP%7Dmay%7BSP%7Dbe%7BSP%7Dconfidential%7BSP%7Dand%7BSP%7Dmay%7BSP%7Dbe%7BSP%7Dthe%7BSP%7Dsubject%7BSP%7Dof%7BSP%7Dlegal%7BSP%7Dand/or%7BSP%7Dprofessional%7BSP%7Dprivilege.%7BSP%7DIf%7BSP%7Dyou%7BSP%7Dare%7BSP%7Dnot%7BSP%7Dthe%7BSP%7Daddressee%7BSP%7Dyou%7BSP%7Dare%7BSP%7Dnot%7BSP%7Dauthorised%7BSP%7Dto%7BSP%7Ddisseminate,%7BSP%7Ddistribute%7BSP%7D,%7BSP%7Dcopy%7BSP%7Dor%7BSP%7Duse%7BSP%7Dthis%7BSP%7De-mail%7BSP%7Dor%7BSP%7Dany%7BSP%7Dattachment%7BSP%7Dto%7BSP%7Dit.%7BSP%7DThe%7BSP%7Dcontent%7BSP%7Dmay%7BSP%7Dbe%7BSP%7Dpersonal%7BSP%7Dor%7BSP%7Dcontain%7BSP%7Dpersonal%7BSP%7Dopinions%7BSP%7Dand%7BSP%7Dunless%7BSP%7Dspecifically%7BSP%7Dstated%7BSP%7Dor%7BSP%7Dfollowed%7BSP%7Dup%7BSP%7Din%7BSP%7Dwriting,%7BSP%7Dthe%7BSP%7Dcontent%7BSP%7Dcannot%7BSP%7Dbe%7BSP%7Dtaken%7BSP%7Dto%7BSP%7Dform%7BSP%7Da%7BSP%7Dcontract%7BSP%7Dor%7BSP%7Dto%7BSP%7Dbe%7BSP%7Dan%7BSP%7Dexpression%7BSP%7Dof%7BSP%7DBT%7BSP%7DLancashire%7BSP%7DServices'%7BSP%7Dposition.%7BSP%7DIf%7BSP%7Dyou%7BSP%7Dreceive%7BSP%7Dan%7BSP%7Demail%7BSP%7Din%7BSP%7Derror%7BSP%7Dfrom%7BSP%7DBT%7BSP%7DLancashire%7BSP%7DServices%7BSP%7Dplease%7BSP%7Dcontact%7BSP%7Dthe%7BSP%7Dsender%7BSP%7Dand%7BSP%7Ddelete%7BSP%7Dthe%7BSP%7Demail%7BSP%7Dfrom%7BSP%7Dyour%7BSP%7Dsystem.%7BSP%7DBT%7BSP%7DLancashire%7BSP%7DServices%7BSP%7Dreserves%7BSP%7Dthe%7BSP%7Dright%7BSP%7Dto%7BSP%7Dmonitor%7BSP%7Dall%7BSP%7Dincoming%7BSP%7Dand%7BSP%7Doutgoing%7BSP%7Demail.%7BSP%7DBT%7BSP%7DLancashire%7BSP%7DServices%7BSP%7Dhas%7BSP%7Dtaken%7BSP%7Dreasonable%7BSP%7Dsteps%7BSP%7Dto%7BSP%7Densure%7BSP%7Dthat%7BSP%7Doutgoing%7BSP%7Dcommunications%7BSP%7Ddo%7BSP%7Dnot%7BSP%7Dcontain%7BSP%7Dmalicious%7BSP%7Dsoftware%7BSP%7Dand%7BSP%7Dit%7BSP%7Dis%7BSP%7Dyour%7BSP%7Dresponsibility%7BSP%7Dto%7BSP%7Dcarry%7BSP%7Dout%7BSP%7Dany%7BSP%7Dchecks%7BSP%7Don%7BSP%7Dthis%7BSP%7Demail%7BSP%7Dbefore%7BSP%7Daccepting%7BSP%7Dthe%7BSP%7Demail%7BSP%7Dand%7BSP%7Dopening%7BSP%7Dattachments.=0ABT%7BSP%7DLancashire%7BSP%7DServices,%7BSP%7DCounty%7BSP%7DHall,%7BSP%7DFishergate,%7BSP%7DPreston,%7BSP%7DLancashire,%7BSP%7DPR1%7BSP%7D8XJ.%7BSP%7DCompany%7BSP%7DNumber%7BSP%7D07444626.=0A%7BCR%7D%7BLF%7D<br>=%7BCR%7D%7BLF%7D</body>%7BCR%7D%7BLF%7D</html>%7BCR%7D%7BLF%7D%7BCR%7D%7BLF%7D--_000_F8FE3C9E29310D4CB7531234C4EF1EB6010352DBF5EXMBX3adlancs_--%7BCR%7D%7BLF%7DPDKIM%0A>%20>%20<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%0A>%20>%20PDKIM%20%5Bbtlancashire.co.uk%5D%20Body%20bytes%20hashed:%204424%0A>%20>%20PDKIM%20%5Bbtlancashire.co.uk%5D%20bh%20%20computed:%0A>%20>%2084985faa485f6ee3cbf18cb28d66c883b93344519e786b709b1458db750b3fb2%0A>%20>%20PDKIM%20>>%20Hashed%20header%20data,%20canonicalized,%20in%20sequence%20>>>>>>>>>>>>>>%0A>%20>%20date:Thu,%7BSP%7D8%7BSP%7DNov%7BSP%7D2018%7BSP%7D12:04:51%7BSP%7D+0000%7BCR%7D%7BLF%7D%0A>%20>%20subject:test%7BSP%7Dhtml%7BSP%7Dfaile%7BCR%7D%7BLF%7D%0A>%20>%20to:%22dandouglio.dd@???%22%7BSP%7D<dandouglio.dd@???%0A>%20>%20>%7BCR%7D%7BLF%7D%0A>%20>%20from:%22Douglas,%7BSP%7DDaniel%22%7BSP%7D<Daniel.Douglas@???>%7BCR%7D%7BLF%7D%0A>%20>%20PDKIM%20<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%0A>%20>%20PDKIM%20>>%20Signed%20DKIM-Signature%20header,%20canonicalized%20>>>>>>>>>>>>>>>>>%0A>%20>%0A>%20>%20dkim-signature:v=1;%7BSP%7Da=rsa-sha256;%7BSP%7Dq=dns/txt;%7BSP%7Dc=relaxed/relaxed;%7BSP%7Dd=%0A>%20>%20btlancashire.co.uk%0A>%20>%20;%7BSP%7Ds=x;%7BSP%7Dh=Date:Subject:To:From;%7BSP%7Dbh=hJhfqkhfbuPL8YyyjWbIg7kzRFGeeGtwmxRY23ULP7I=;%7BSP%7Db=;%0A>%20>%20PDKIM%20<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%0A>%20>%20PDKIM%20%5Bbtlancashire.co.uk%5D%20hh%20computed:%0A>%20>%20a04cbda8e03dc0f96d0a7a60ebdb98935ae7e3ee3db5e4b4b6fd400bae6a5680%0A>%20>%20PDKIM%20%5Bbtlancashire.co.uk%5D%20b%20computed:%0A>%20>%20538776377471bdf031090c8c4ac01fabfe18acfd717f8507ae90fbff26fa65658864c031e430061559b69319615d7a94c2382a1dee4553ce3743db6c3b97b756b8bc808bf67cdc17efb6bb458d8184b5f390c22152a9d7fe3faa8878f441d5c3d3d56d1a6fda0e638da1bfc3a89be67238f842573525385e18ca84ac5d18bfcf%0A>%20>%2022484%20tls_do_write(0x556cba892830,%20352)%0A>%20>%0A>%20>%0A>%20>%0A>%20>%0A>%20>%20On%202018-11-07%2019:12,%20Jasen%20Betts%20wrote:%0A>%20>%20>%20On%202018-11-07,%20Douglas,%20Daniel%20via%20Exim-users%20<exim-users@???>%20wrote:%0A>%20>%20>%20>%20Message%20classification:%20OFFICIAL%0A>%20>%20>%20>%0A>%20>%20>%20>%20Hi%20all%0A>%20>%20>%20>%0A>%20>%20>%0A>%20>%20>%20DKIM%20signing%20is%20done%20after%20the%20transport%20filter.%20(and%20headers_add%20etc)%0A>%20>%20>%20this%20is%20not%20the%20problem.%0A>%20>%20>%0A>%20>%20>%20>%20Is%20there%20any%20way%20to%20add%20the%20disclaimer%20before%20the%20DKIM%20signature%20is%0A>%20>%20>%20>%20generated%20that%20anyone%20knows%20of%20or%20a%20different%20way%20of%20adding%0A>%20>%20disclaimers?%0A>%20>%20>%0A>%20>%20>%20I'm%20doing%20pretty-much%20what%20you%20are%20and%20it's%20working.%0A>%20>%20>%0A>%20>%20>%20--%0A>%20>%20>%20%20%20When%20I%20tried%20casting%20out%20nines%20I%20made%20a%20hash%20of%20it.%0A>%20>%20>%0A>%20>%20>%0A>%20>%0A>%20>%0A>%20>%20********************%0A>%20>%0A>%20>%20This%20e-mail%20contains%20information%20intended%20for%20the%20addressee%20only.%0A>%20>%20It%20may%20be%20confidential%20and%20may%20be%20the%20subject%20of%20legal%20and/or%20professional%0A>%20>%20privilege.%0A>%20>%20If%20you%20are%20not%20the%20addressee%20you%20are%20not%20authorised%20to%20disseminate,%0A>%20>%20distribute,%20copy%20or%20use%20this%20e-mail%20or%20any%20attachment%20to%20it.%0A>%20>%20The%20content%20may%20be%20personal%20or%20contain%20personal%20opinions%20and%20unless%0A>%20>%20specifically%20stated%20or%20followed%20up%20in%20writing,%20the%20content%20cannot%20be%20taken%0A>%20>%20to%20form%20a%20contract%20or%20to%20be%20an%20expression%20of%20the%20County%20Council's%20position.%0A>%20>%20Lancashire%20County%20Council%20reserves%20the%20right%20to%20monitor%20all%20incoming%20and%0A>%20>%20outgoing%20email.%0A>%20>%20Lancashire%20County%20Council%20has%20taken%20reasonable%20steps%20to%20ensure%20that%0A>%20>%20outgoing%20communications%20do%20not%20contain%20malicious%20software%20and%20it%20is%20your%0A>%20>%20responsibility%20to%20carry%20out%20any%20checks%20on%20this%20email%20before%20accepting%20the%0A>%20>%20email%20and%20opening%20attachments.%0A>%20>%20--%0A>%20>%20##%20List%20details%20at%20https://lists.exim.org/mailman/listinfo/exim-users%0A>%20>%20##%20Exim%20details%20at%20http://www.exim.org/%0A>%20>%20##%20Please%20use%20the%20Wiki%20with%20this%20list%20-%20http://wiki.exim.org/%0A>%20>%0A>%20%0A>%20%0A>%20--%20%0A>%20Best%20regards,%0A>%20Odhiambo%20WASHINGTON,%0A>%20Nairobi,KE%0A>%20+254%207%203200%200004/+254%207%202274%203223%0A>%20%22Oh,%20the%20cruft.%22%0A>%20">Reply to this message
Author: Odhiambo Washington
Date:  
To: Daniel.Douglas
CC: exim users
Subject: Re: [exim] Disclaimer and DKIM
I am following for when there is definitive way to do it.
Yes, it's better to do it at MTA level!

On Thu, 8 Nov 2018 at 15:25, Douglas, Daniel via Exim-users <
exim-users@???> wrote:

> I have made some progress. The disclaimers work in plain text emails but
> not html.
>
> OS - Ubuntu 16.04.5 LTS (Xenial Xerus)
> EXIM - 4.86_2
>
> In debug mode I get the output below which shows the DKIM running after
> the transport filter as you said so I guess that isn't the issue. I'll play
> around with the disclaimer and see if it's some sort of formatting issue.
>
> 22484 Calling gnutls_record_recv(0x556cba492390, 0x7ffdfcc5d8f0, 4096)
> 22484 read response data: size=157
> 22484   SMTP<< 250-mx.google.com at your service,
> 22484          250-SIZE 157286400
> 22484          250-8BITMIME
> 22484          250-ENHANCEDSTATUSCODES
> 22484          250-PIPELINING
> 22484          250-CHUNKING
> 22484          250 SMTPUTF8
> 22484 173.194.76.27 in hosts_avoid_pipelining? no (option unset)
> 22484 using PIPELINING
> 22484 use_dsn=0
> 22484 173.194.76.27 in hosts_require_auth? no (option unset)
> 22484 direct command:
> 22484   argv[0] = /usr/bin/altermime
> 22484   argv[1] = --verbose
> 22484   argv[2] = --log-syslog
> 22484   argv[3] = --input=-
> 22484   argv[4] =
> --disclaimer=/etc/exim4/local/disclaimers/$acl_c_disclaimer/textdisclaimer
> 22484   argv[5] =
> --disclaimer-b64=/etc/exim4/local/disclaimers/$acl_c_disclaimer/disclaimer.b64
> 22484   argv[6] =
> --disclaimer-html=/etc/exim4/local/disclaimers/$acl_c_disclaimer/htmldisclaimer
> 22484 direct command after expansion:
> 22484   argv[0] = /usr/bin/altermime
> 22484   argv[1] = --verbose
> 22484   argv[2] = --log-syslog
> 22484   argv[3] = --input=-
> 22484   argv[4] = --disclaimer=/etc/exim4/local/disclaimers/
> btlancashire.co.uk/textdisclaimer
> 22484   argv[5] = --disclaimer-b64=/etc/exim4/local/disclaimers/
> btlancashire.co.uk/disclaimer.b64
> 22484   argv[6] = --disclaimer-html=/etc/exim4/local/disclaimers/
> btlancashire.co.uk/htmldisclaimer
> 22484   SMTP>> MAIL FROM:<Daniel.Douglas@???>
> 22484   SMTP>> RCPT TO:<dandouglio.dd@???>
> 22484   SMTP>> DATA
> 22484 tls_do_write(0x7ffdfcc5e8f0, 93)
> 22484 gnutls_record_send(SSL, 0x7ffdfcc5e8f0, 93)
> 22484 outbytes=93
> 22484 Calling gnutls_record_recv(0x556cba492390, 0x7ffdfcc5d8f0, 4096)
> 22484 read response data: size=45
> 22484   SMTP<< 250 2.1.0 OK n13-v6si3772576wri.199 - gsmtp
> 22484 Calling gnutls_record_recv(0x556cba492390, 0x7ffdfcc5d8f0, 4096)
> 22484 read response data: size=45
> 22484   SMTP<< 250 2.1.5 OK n13-v6si3772576wri.199 - gsmtp
> 22484 Calling gnutls_record_recv(0x556cba492390, 0x7ffdfcc5d8f0, 4096)
> 22484 read response data: size=46
> 22484   SMTP<< 354  Go ahead n13-v6si3772576wri.199 - gsmtp
> 22484   SMTP>> writing message and terminating "."
> 22484 process 22485 running as transport filter: write=13 read=14
> 22484 process 22486 writing to transport filter
> 22484 copying from the filter
> 22486 added header line:
> 22486 X-disclaimer-domain: btlancashire.co.uk
> 22486 ---
> 22486 writing data block fd=13 size=4304 timeout=300
> 22484 waiting for filter process
> 22484 waiting for writing process
> 22484 writing data block fd=11 size=6646 timeout=300
> 22484 end of filtering transport writing: yield=1
> PDKIM >> Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>

>
> --_000_F8FE3C9E29310D4CB7531234C4EF1EB6010352DBF5EXMBX3adlancs_{CR}{LF}Content-Type:{SP}text/plain;{SP}charset="us-ascii"{CR}{LF}Content-Transfer-Encoding:{SP}quoted-printable{CR}{LF}{CR}{LF}Why{SP}does{SP}this{SP}not{SP}work{CR}{LF}{CR}{LF}=0AThis{SP}e-mail{SP}and{SP}its{SP}attachments,{SP}if{SP}any,{SP}contains{SP}information{SP}intended{SP}for{SP}the{SP}addressee{SP}only.{SP}It{SP}may{SP}be{SP}confidential{SP}and{SP}may{SP}be{SP}the{SP}subject{SP}of{SP}legal{SP}and/or{SP}professional{SP}privilege.{SP}If{SP}you{SP}are{SP}not{SP}the{SP}addressee{SP}you{SP}are{SP}not{SP}authorised{SP}to{SP}disseminate,{SP}distribute{SP},{SP}copy{SP}or{SP}use{SP}this{SP}e-mail{SP}or{SP}any{SP}attachment{SP}to{SP}it.{SP}The{SP}content{SP}may{SP}be{SP}personal{SP}or{SP}contain{SP}personal{SP}opinions{SP}and{SP}unless{SP}specifically{SP}stated{SP}or{SP}followed{SP}up{SP}in{SP}writing,{SP}the{SP}content{SP}cannot{SP}be{SP}taken{SP}to{SP}form{SP}a{SP}contract{SP}or{SP}to{SP}be{SP}an{SP}expression{SP}of{SP}BT{SP}Lancashire{SP}Services'{SP}position.{SP}If{SP}you{SP}receive{SP}an{SP}email{SP}in{SP}error{SP}from{SP}BT{SP}Lancashire{SP}Services{SP}please{SP}contact{SP}the{SP}sender{SP}and{SP}delete{SP}the{SP}email{SP}from{SP}your{SP}system.{SP}BT{SP}Lancashire{SP}Services{SP}reserves{SP}the{SP}right{SP}to{SP}monitor{SP}all{SP}incoming{SP}and{SP}outgoing{SP}email.{SP}BT{SP}Lancashire{SP}Services{SP}has{SP}taken{SP}reasonable{SP}steps{SP}to{SP}ensure{SP}that{SP}outgoing{SP}communications{SP}do{SP}not{SP}contain{SP}malicious{SP}software{SP}and{SP}it{SP}is{SP}your{SP}responsibility{SP}to{SP}carry{SP}out{SP}any{SP}checks{SP}on{SP}this{SP}email{SP}before{SP}accepting{SP}the{SP}email{SP}and{SP}opening{SP}attachments.=0ABT{SP}Lancashire{SP}Services,{SP}County{SP}Hall,{SP}Fishergate,{SP}Preston,{SP}Lancashire,{SP}PR1{SP}8XJ.{SP}Company{SP}Number{SP}07444626.=0A{CR}{CR}{LF}{CR}{LF}--_000_F8FE3C9E29310D4CB7531234C4EF1EB6010352DBF5EXMBX3adlancs_{CR}{LF}Content-Type:{SP}text/html;{SP}charset="us-ascii"{CR}{LF}Content-Transfer-Encoding:{SP}quoted-printable{CR}{LF}{CR}{LF}<html{SP}xmlns:v=3D"urn:schemas-microsoft-com:vml"{SP}xmlns:o=3D"urn:schemas-micr={CR}{LF}osoft-com:office:office"{SP}xmlns:w=3D"urn:schemas-microsoft-com:office:word"{SP}={CR}{LF}xmlns:m=3D"
> http://schemas.microsoft.com/office/2004/12/omml
> "{SP}xmlns=3D"http:={CR}{LF}//www.w3.org/TR/REC-html40
> ">{CR}{LF}<head>{CR}{LF}<meta{SP}http-equiv=3D"Content-Type"{SP}content=3D"text/html;{SP}charset=3Dus-ascii"={CR}{LF}>{CR}{LF}<meta{SP}name=3D"Generator"{SP}content=3D"Microsoft{SP}Word{SP}15{SP}(filtered{SP}medium)">{CR}{LF}<style><!--{CR}{LF}/*{SP}Font{SP}Definitions{SP}*/{CR}{LF}@font-face
> {CR}{LF}{SP}{BO}font-family:"Cambria{SP}Math";{CR}{LF}{SP}panose-1:2{SP}4{SP}5{SP}3{SP}5{SP}4{SP}6{SP}3{SP}2{SP}4;{BC}{CR}{LF}@font-face
> {CR}{LF}{SP}{BO}font-family:Calibri;{CR}{LF}{SP}panose-1:2{SP}15{SP}5{SP}2{SP}2{SP}2{SP}4{SP}3{SP}2{SP}4;{BC}{CR}{LF}/*{SP}Style{SP}Definitions{SP}*/{CR}{LF}p.MsoNormal,{SP}li.MsoNormal,{SP}div.MsoNormal{CR}{LF}{SP}{BO}margin:0cm;{CR}{LF}{SP}margin-bottom:.0001pt;{CR}{LF}{SP}font-size:11.0pt;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}mso-fareast-language:EN-US;{BC}{CR}{LF}a:link,{SP}span.MsoHyperlink{CR}{LF}{SP}{BO}mso-style-priority:99;{CR}{LF}{SP}color:#0563C1;{CR}{LF}{SP}text-decoration:underline;{BC}{CR}{LF}a:visited,{SP}span.MsoHyperlinkFollowed{CR}{LF}{SP}{BO}mso-style-priority:99;{CR}{LF}{SP}color:#954F72;{CR}{LF}{SP}text-decoration:underline;{BC}{CR}{LF}span.EmailStyle17{CR}{LF}{SP}{BO}mso-style-type:personal-compose;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}color:windowtext;{BC}{CR}{LF}.MsoChpDefault{CR}{LF}{SP}{BO}mso-style-type:export-only;{CR}{LF}{SP}font-family:"Calibri",sans-serif;{CR}{LF}{SP}mso-fareast-language:EN-US;{BC}{CR}{LF}@page{SP}WordSection1{CR}{LF}{SP}{BO}size:612.0pt{SP}792.0pt;{CR}{LF}{SP}margin:72.0pt{SP}72.0pt{SP}72.0pt{SP}72.0pt;{BC}{CR}{LF}div.WordSection1{CR}{LF}{SP}{BO}page:WordSection1;{BC}{CR}{LF}--></style><!--[if{SP}gte{SP}mso{SP}9]><xml>{CR}{LF}<o:shapedefaults{SP}v:ext=3D"edit"{SP}spidmax=3D"1026"{SP}/>{CR}{LF}</xml><![endif]--><!--[if{SP}gte{SP}mso{SP}9]><xml>{CR}{LF}<o:shapelayout{SP}v:ext=3D"edit">{CR}{LF}<o:idmap{SP}v:ext=3D"edit"{SP}data=3D"1"{SP}/>{CR}{LF}</o:shapelayout></xml><![endif]-->{CR}{LF}</head>{CR}{LF}<body{SP}lang=3D"EN-GB"{SP}link=3D"#0563C1"{SP}vlink=3D"#954F72">{CR}{LF}<div{SP}class=3D"WordSection1">{CR}{LF}<p{SP}class=3D"MsoNormal">Why{SP}does{SP}this{SP}not{SP}work<o:p></o:p></p>{CR}{LF}</div>{CR}{LF}{CR}{LF}<br>={CR}{LF}=0AThis{SP}e-mail{SP}and{SP}its{SP}attachments,{SP}if{SP}any,{SP}contains{SP}information{SP}intended{SP}for{SP}the{SP}addressee{SP}only.{SP}It{SP}may{SP}be{SP}confidential{SP}and{SP}may{SP}be{SP}the{SP}subject{SP}of{SP}legal{SP}and/or{SP}professional{SP}privilege.{SP}If{SP}you{SP}are{SP}not{SP}the{SP}addressee{SP}you{SP}are{SP}not{SP}authorised{SP}to{SP}disseminate,{SP}distribute{SP},{SP}copy{SP}or{SP}use{SP}this{SP}e-mail{SP}or{SP}any{SP}attachment{SP}to{SP}it.{SP}The{SP}content{SP}may{SP}be{SP}personal{SP}or{SP}contain{SP}personal{SP}opinions{SP}and{SP}unless{SP}specifically{SP}stated{SP}or{SP}followed{SP}up{SP}in{SP}writing,{SP}the{SP}content{SP}cannot{SP}be{SP}taken{SP}to{SP}form{SP}a{SP}contract{SP}or{SP}to{SP}be{SP}an{SP}expression{SP}of{SP}BT{SP}Lancashire{SP}Services'{SP}position.{SP}If{SP}you{SP}receive{SP}an{SP}email{SP}in{SP}error{SP}from{SP}BT{SP}Lancashire{SP}Services{SP}please{SP}contact{SP}the{SP}sender{SP}and{SP}delete{SP}the{SP}email{SP}from{SP}your{SP}system.{SP}BT{SP}Lancashire{SP}Services{SP}reserves{SP}the{SP}right{SP}to{SP}monitor{SP}all{SP}incoming{SP}and{SP}outgoing{SP}email.{SP}BT{SP}Lancashire{SP}Services{SP}has{SP}taken{SP}reasonable{SP}steps{SP}to{SP}ensure{SP}that{SP}outgoing{SP}communications{SP}do{SP}not{SP}contain{SP}malicious{SP}software{SP}and{SP}it{SP}is{SP}your{SP}responsibility{SP}to{SP}carry{SP}out{SP}any{SP}checks{SP}on{SP}this{SP}email{SP}before{SP}accepting{SP}the{SP}email{SP}and{SP}opening{SP}attachments.=0ABT{SP}Lancashire{SP}Services,{SP}County{SP}Hall,{SP}Fishergate,{SP}Preston,{SP}Lancashire,{SP}PR1{SP}8XJ.{SP}Company{SP}Number{SP}07444626.=0A{CR}{LF}<br>={CR}{LF}</body>{CR}{LF}</html>{CR}{LF}{CR}{LF}--_000_F8FE3C9E29310D4CB7531234C4EF1EB6010352DBF5EXMBX3adlancs_--{CR}{LF}PDKIM
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> PDKIM [btlancashire.co.uk] Body bytes hashed: 4424
> PDKIM [btlancashire.co.uk] bh computed:
> 84985faa485f6ee3cbf18cb28d66c883b93344519e786b709b1458db750b3fb2
> PDKIM >> Hashed header data, canonicalized, in sequence >>>>>>>>>>>>>>
> date:Thu,{SP}8{SP}Nov{SP}2018{SP}12:04:51{SP}+0000{CR}{LF}
> subject:test{SP}html{SP}faile{CR}{LF}
> to:"dandouglio.dd@???"{SP}<dandouglio.dd@???
> >{CR}{LF}
> from:"Douglas,{SP}Daniel"{SP}<Daniel.Douglas@???>{CR}{LF}
> PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> PDKIM >> Signed DKIM-Signature header, canonicalized >>>>>>>>>>>>>>>>>
>
> dkim-signature:v=1;{SP}a=rsa-sha256;{SP}q=dns/txt;{SP}c=relaxed/relaxed;{SP}d=
> btlancashire.co.uk
> ;{SP}s=x;{SP}h=Date:Subject:To:From;{SP}bh=hJhfqkhfbuPL8YyyjWbIg7kzRFGeeGtwmxRY23ULP7I=;{SP}b=;
> PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> PDKIM [btlancashire.co.uk] hh computed:
> a04cbda8e03dc0f96d0a7a60ebdb98935ae7e3ee3db5e4b4b6fd400bae6a5680
> PDKIM [btlancashire.co.uk] b computed:
> 538776377471bdf031090c8c4ac01fabfe18acfd717f8507ae90fbff26fa65658864c031e430061559b69319615d7a94c2382a1dee4553ce3743db6c3b97b756b8bc808bf67cdc17efb6bb458d8184b5f390c22152a9d7fe3faa8878f441d5c3d3d56d1a6fda0e638da1bfc3a89be67238f842573525385e18ca84ac5d18bfcf
> 22484 tls_do_write(0x556cba892830, 352)
>
>
>
>
> On 2018-11-07 19:12, Jasen Betts wrote:
> > On 2018-11-07, Douglas, Daniel via Exim-users <exim-users@???> wrote:
> > > Message classification: OFFICIAL
> > >
> > > Hi all
> > >
> >
> > DKIM signing is done after the transport filter. (and headers_add etc)
> > this is not the problem.
> >
> > > Is there any way to add the disclaimer before the DKIM signature is
> > > generated that anyone knows of or a different way of adding
> disclaimers?
> >
> > I'm doing pretty-much what you are and it's working.
> >
> > --
> > When I tried casting out nines I made a hash of it.
> >
> >
>
>
> ********************
>
> This e-mail contains information intended for the addressee only.
> It may be confidential and may be the subject of legal and/or professional
> privilege.
> If you are not the addressee you are not authorised to disseminate,
> distribute, copy or use this e-mail or any attachment to it.
> The content may be personal or contain personal opinions and unless
> specifically stated or followed up in writing, the content cannot be taken
> to form a contract or to be an expression of the County Council's position.
> Lancashire County Council reserves the right to monitor all incoming and
> outgoing email.
> Lancashire County Council has taken reasonable steps to ensure that
> outgoing communications do not contain malicious software and it is your
> responsibility to carry out any checks on this email before accepting the
> email and opening attachments.
> --
> ## 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/
>



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."