On Mon, Sep 04, 2023 at 11:43:06AM -0400, Wietse Venema via Postfix-users wrote:

> This is now included with the Postfix 3.9 development release (i.e.
> it will be part of the Postfix 3.9 stable release early 2024. I
> changed the name for clarity, and the updated manpage text is below.
> 
>       Wietse
> 
> https://www.postfix.org/postconf.5.html#force_mime_input_conversion

It is best to enable this for outbound mail only, i.e. messages that
arrive on the submission ports or through local submission via
sendmail(1)->postdrop(1)->pickup(8).  That way, inbound 8bit mail will
not fail DKIM signature checks.

One way to do that is to tweak the master.cf file to match the below:

    $ postconf -P '*/inet/enforce_mime_input_conversion'
    smtps/inet/enforce_mime_input_conversion = yes
    submission/inet/enforce_mime_input_conversion = yes

    $ postconf -Mf pickup/unix cleanups/unix
    pickup     unix  n       -       n       60      1       pickup
        -o cleanup_service_name=cleanups
    cleanups   unix  n       -       n       -       0       cleanup
        -o enforce_mime_input_conversion=yes

[ Your service name for wrapper-mode SMTP on port 465 may be
  "submissions" or just "465", ... The "cleanups" service entry
  is a clone of the "cleanup" entry with a tweak. ]

If you have a dedicated submission server, or a separate Postfix
instance for submission, then there's no need for such master.cf tweaks.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to