Hi,
I am using an after queue-content filter that signs outgoing emails
(dkimproxy). My problem is that these messages are modified AFTER the
signature was added which breaks the signature. As far as I can see,
"\n" is replaced by "\r\n" and "Content-Transfer-Encoding: 8bit" is
replaced by "Content-Transfer-Encoding: quoted-printable". I have no
problem with these modifications in general, but I would like if postfix
could do these modifications BEFORE passing the mail to my filter. And I
currently do not know how I can enable this.
I have tried postfix versions 2.5.5 and 2.7.1 (Debian) with no luck. I
am also using a similar configuration on another server (with an older
version of postfix) which works as expected (messages are still
modified, but before filtering).
My current work-around is to correctly format my emails in my software
before they are sent to postfix so that the messages are not modified at
all. But that is not the best solution.
-Ulrich
Relevant parts of master.cf:
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
-o receive_override_options=no_address_mappings
-o content_filter=dksign:[127.0.0.1]:10028
dksign unix - - n - 6 smtp
-o smtp_send_xforward_command=yes
-o smtp_discard_ehlo_keywords=8bitmime,starttls
127.0.0.1:10029 inet n - n - 10 smtpd
-o content_filter=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8