[exim] Re: disclaimer + DKIM does not work (reopened)

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: brunoc68
Dátum:  
Címzett: exim-users
CC: Jeremy Harris
Tárgy: [exim] Re: disclaimer + DKIM does not work (reopened)
Le 20/10/2023 à 11:04, Jeremy Harris via Exim-users a écrit :
> On 19/10/2023 21:24, brunoc68 via Exim-users wrote:
>> *transport_filter = /usr/bin/altermime --input=-
>> --disclaimer=/etc/exim4/textdisclaimer
>> --disclaimer-html=/etc/exim4/htmldisclaimer
>
> The only manpage for altermime I found doesn't even
> list its possible options.  Do you know of a decent one.


Actually the filter works fine : whether one sets up DKIM or not, the
outgoing email gets both disclaimers (txt + html).

However, DKIM check fails (only) when the disclaimers are added.

I do not have more information than the output of the filter itself :

==================================================
altermime --input=<input mime pack>   ( --input=- for stdin )
    [--disclaimer=<disclaimer file>]
    [--disclaimer-html=<HTML disclaimer file>]
    [--disclaimer-b64=<BASE64 encoded dislcaimer>]
    [--htmltoo]
  [--force-into-b64]
    [--force-for-bad-html]
    [--multipart-insert]
    [--remove=<remove file name (regex)>] (if filename contains a /,
matches on mime-type )
    [--removeall]
    [--replace=<filename to replace> --with=<replace with>]
    [--xheader="..."
    [--alter-header="..." --alter-with="..."
--alter-mode=<prefix|suffix|replace>]
    [--altersigned]
    [--no-qmail-bounce]
    [--verbose]
    [--log-stdout]
    [--log-stderr]
    [--log-syslog]
    [--debug]
    [--version]

Option Descriptions:
    --input=, Sets the mailpack file to be the filename supplied,
        if the filename is a single '-' (hyphen) then the mailpack
        is sourced via stdin and outputted via stdout.

    --disclaimer=, Set the plaintext disclaimer source file.
    --disclaimer-html=, Set the HTML disclaimer source file.
    --disclaimer-b64=, Set the BASE64 encoded disclaimer source file
(implies --force-into-b64).

    --htmltoo, Sets alterMIME to insert the plaintext disclaimer into
    --force-into-b64, Sets alterMIME to insert disclaimers into BASE64
encoded text segments
    --force-for-bad-html, Force adding of the HTML disclaimer even when
HTML is not correctly formatted
        the HTML portion of the email body ( if there is no explicitly
        defined HTML dislcaimer, see --disclaimer-html )

    --remove=, Remove any attachments which match the filename supplied,
        if the filename text contains a forward-slash '/', then the
        matching will occur based on content-type headers rather than
        by filename.
    --removeall, Remove all attachments
    --replace=, Replace attachments matching the given filename.
Requires to
        be used with --with.
    --with=, Replace the attachments specified by --replace with the file
        specified.
    --xheader=, Insert a header line as specified into the first set of
headers.
    --alter-header="..." --alter-with="..."
--alter-mode=(prefix|suffix|replace)
        Alter an existing header in the mailpack.  This function
modifies the
        value of the header, as apposed to the header name.
    --altersigned, Force alterMIME to modify 'signed' emails
    --no-qmail-bounce,  Don't search into email bodies for attachment
headers
    --verbose, Describe details of the process occurring
    --log-stdout, Send all output messages to stdout
    --log-stderr, Send all output messages to stderr
    --log-syslog, Send all output messages to syslog
    --debug, Provide greater verbosity and debugging information
    --version, display the alterMIME version string
==================================================







--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/