Skip to content

Huge font sizes when sending from Outlook for Mac #3881

@mhspelt

Description

@mhspelt

📝 Preliminary Checks

  • I tried searching for an existing issue and followed the debugging docs advice, but still need assistance.

👀 What Happened?

Sometimes emails get delivered where a part of the text is in a huge font, like 110 pt instead of 11.0. So far this seems to happen exclusively to some users that are using Outlook on a Mac. It seems like occasionally (not always), the dot in CSS like "font-size: 11.0pt" is getting removed.

According to this and this Microsoft Community topic, this usually gets caused by a misconfigured SMTP server that does "dot stuffing" or the antivirus engine.

image

Is this something to be fixed on the DMS image side, or something I can do in my configuration? Obviously disabling the antivirus altogether is not my preferred solution.

👟 Reproduction Steps

It's hard to reproduce, but it seems to occur exclusively when sending mail from Outlook on Mac. However, the outgoing emails look fine; by the time they appear in the recipient's inbox they don't.

It only happens occasionally, my guess only when the message body is wrapped at the dot in the font size, like so
<span style="font-size:11 .0pt;....>text</span>

🐋 DMS Version

v13.3.1

💻 Operating System and Architecture

Ubuntu 22.04

⚙️ Container configuration files

mailserver:
    image: ghcr.io/docker-mailserver/docker-mailserver:latest
    container_name: mailserver
    hostname: mail.example.com
    env_file: /srv/docker/dms/mailserver.env
    ports:
      - "25:25"
      - "143:143"
      - "465:465"
      - "587:587"
      - "993:993"
      - "995:995"
    volumes:
      - /var/mail:/var/mail/
      - /srv/docker/dms/state/:/var/mail-state/
      - /srv/docker/dms/logs/:/var/log/mail/
      - /srv/docker/dms/config/:/tmp/docker-mailserver/
      - /srv/docker/dms/postfix:/etc/postfix
      - /srv/docker/dms/dovecot:/etc/dovecot
      - /etc/localtime:/etc/localtime:ro
      - /srv/docker/letsencrypt/:/etc/letsencrypt:ro
    cap_add:
      - NET_ADMIN # For Fail2Ban to work
    restart: unless-stopped
    healthcheck:
      test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1"
      timeout: 3s
      retries: 0

📜 Relevant log output

No response

Improvements to this form?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions