Mail Issues since last update. Receiving fine, can't send or save to drafts

Nextcloud version (eg, 29.0.2): 29.0.2
Operating system and version (eg, Ubuntu 29.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.59 (Debian)
PHP version (eg, 8.3): PHP 8.2.19

The issue you are facing:
Mail App - Receiving emails is working fine, but since the app update, I cannot send or save to drafts.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Create a new email - Send or Save to Drafts and the email just reloads.
  2. Reply to an email - Send or Save to Drafts and the email just reloads.

The output of your Nextcloud log in Admin > Logging:

{
  "reqId": "kmH4Mrn9Ewjnqp8U3rbU",
  "level": 3,
  "time": "2024-06-25T14:38:10+00:00",
  "remoteAddr": "REDACTED",
  "user": "REDACTED",
  "app": "mail",
  "method": "POST",
  "url": "/index.php/apps/mail/api/outbox/from-draft/416",
  "message": "requestMdn is not a valid attribute",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "version": "29.0.2.2",
  "exception": {
    "Exception": "BadFunctionCallException",
    "Message": "requestMdn is not a valid attribute",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 167,
        "function": "setter",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 75,
        "function": "__call",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 321,
        "function": "fromRow",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 361,
        "function": "mapRowToEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Db/LocalMessageMapper.php",
        "line": 117,
        "function": "findEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Service/DraftsService.php",
        "line": 210,
        "function": "findById",
        "class": "OCA\\Mail\\Db\\LocalMessageMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Controller/OutboxController.php",
        "line": 160,
        "function": "getMessage",
        "class": "OCA\\Mail\\Service\\DraftsService",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 232,
        "function": "createFromDraft",
        "class": "OCA\\Mail\\Controller\\OutboxController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 138,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/base.php",
        "line": 1050,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/index.php",
        "line": 49,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
    "Line": 138,
    "message": "requestMdn is not a valid attribute",
    "exception": [],
    "CustomMessage": "requestMdn is not a valid attribute"
  },
  "id": "667ad65ad716f"
}

{
  "reqId": "5nxmwmj3NNL7Q5Fugmml",
  "level": 3,
  "time": "2024-06-25T14:31:09+00:00",
  "remoteAddr": "REDACTED",
  "user": "REDACTED",
  "app": "mail",
  "method": "POST",
  "url": "/index.php/apps/mail/api/drafts/move/415",
  "message": "requestMdn is not a valid attribute",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "version": "29.0.2.2",
  "exception": {
    "Exception": "BadFunctionCallException",
    "Message": "requestMdn is not a valid attribute",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 167,
        "function": "setter",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 75,
        "function": "__call",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 321,
        "function": "fromRow",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 361,
        "function": "mapRowToEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Db/LocalMessageMapper.php",
        "line": 117,
        "function": "findEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Service/DraftsService.php",
        "line": 210,
        "function": "findById",
        "class": "OCA\\Mail\\Db\\LocalMessageMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Controller/DraftsController.php",
        "line": 221,
        "function": "getMessage",
        "class": "OCA\\Mail\\Service\\DraftsService",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 232,
        "function": "move",
        "class": "OCA\\Mail\\Controller\\DraftsController",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 138,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/base.php",
        "line": 1050,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/index.php",
        "line": 49,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
    "Line": 138,
    "message": "requestMdn is not a valid attribute",
    "exception": [],
    "CustomMessage": "requestMdn is not a valid attribute"
  },
  "id": "667ad65ad745c"
}

{
  "reqId": "hfgysU8dyN9mB0FxZu7e",
  "level": 3,
  "time": "2024-06-25T14:28:08+00:00",
  "remoteAddr": "REDACTED",
  "user": "REDACTED",
  "app": "mail",
  "method": "POST",
  "url": "/index.php/apps/mail/api/outbox/from-draft/414",
  "message": "requestMdn is not a valid attribute",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "version": "29.0.2.2",
  "exception": {
    "Exception": "BadFunctionCallException",
    "Message": "requestMdn is not a valid attribute",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 167,
        "function": "setter",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 75,
        "function": "__call",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 321,
        "function": "fromRow",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 361,
        "function": "mapRowToEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Db/LocalMessageMapper.php",
        "line": 117,
        "function": "findEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Service/DraftsService.php",
        "line": 210,
        "function": "findById",
        "class": "OCA\\Mail\\Db\\LocalMessageMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Controller/OutboxController.php",
        "line": 160,
        "function": "getMessage",
        "class": "OCA\\Mail\\Service\\DraftsService",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 232,
        "function": "createFromDraft",
        "class": "OCA\\Mail\\Controller\\OutboxController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 138,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/base.php",
        "line": 1050,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/index.php",
        "line": 49,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
    "Line": 138,
    "message": "requestMdn is not a valid attribute",
    "exception": [],
    "CustomMessage": "requestMdn is not a valid attribute"
  },
  "id": "667ad4b0091fc"
}

{
  "reqId": "hfgysU8dyN9mB0FxZu7e",
  "level": 3,
  "time": "2024-06-25T14:28:08+00:00",
  "remoteAddr": "REDACTED",
  "user": "REDACTED",
  "app": "mail",
  "method": "POST",
  "url": "/index.php/apps/mail/api/outbox/from-draft/414",
  "message": "requestMdn is not a valid attribute",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "version": "29.0.2.2",
  "exception": {
    "Exception": "BadFunctionCallException",
    "Message": "requestMdn is not a valid attribute",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 167,
        "function": "setter",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 75,
        "function": "__call",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 321,
        "function": "fromRow",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 361,
        "function": "mapRowToEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Db/LocalMessageMapper.php",
        "line": 117,
        "function": "findEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Service/DraftsService.php",
        "line": 210,
        "function": "findById",
        "class": "OCA\\Mail\\Db\\LocalMessageMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Controller/OutboxController.php",
        "line": 160,
        "function": "getMessage",
        "class": "OCA\\Mail\\Service\\DraftsService",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 232,
        "function": "createFromDraft",
        "class": "OCA\\Mail\\Controller\\OutboxController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 138,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/base.php",
        "line": 1050,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/index.php",
        "line": 49,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
    "Line": 138,
    "message": "requestMdn is not a valid attribute",
    "exception": [],
    "CustomMessage": "requestMdn is not a valid attribute"
  },
  "id": "667ad409d9c0c"
}

{
  "reqId": "rbXSf32vzTlec9WpxBoO",
  "level": 3,
  "time": "2024-06-25T14:14:18+00:00",
  "remoteAddr": "REDACTED",
  "user": "REDACTED",
  "app": "mail",
  "method": "PUT",
  "url": "/index.php/apps/mail/api/drafts/413",
  "message": "requestMdn is not a valid attribute",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "version": "29.0.2.2",
  "exception": {
    "Exception": "BadFunctionCallException",
    "Message": "requestMdn is not a valid attribute",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 167,
        "function": "setter",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
        "line": 75,
        "function": "__call",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 321,
        "function": "fromRow",
        "class": "OCP\\AppFramework\\Db\\Entity",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/public/AppFramework/Db/QBMapper.php",
        "line": 361,
        "function": "mapRowToEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Db/LocalMessageMapper.php",
        "line": 117,
        "function": "findEntity",
        "class": "OCP\\AppFramework\\Db\\QBMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Service/DraftsService.php",
        "line": 210,
        "function": "findById",
        "class": "OCA\\Mail\\Db\\LocalMessageMapper",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/apps/mail/lib/Controller/DraftsController.php",
        "line": 172,
        "function": "getMessage",
        "class": "OCA\\Mail\\Service\\DraftsService",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 232,
        "function": "update",
        "class": "OCA\\Mail\\Controller\\DraftsController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 138,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/REDACTED/lib/base.php",
        "line": 1050,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/REDACTED/index.php",
        "line": 49,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/REDACTED/lib/public/AppFramework/Db/Entity.php",
    "Line": 138,
    "message": "requestMdn is not a valid attribute",
    "exception": [],
    "CustomMessage": "requestMdn is not a valid attribute"
  },
  "id": "667ad4191bd9a"
}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'REDACTED',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' => 
  array (
    0 => 'REDACTED',
  ),
  'datadirectory' => '/var/REDACTED',
  'dbtype' => 'mysql',
  'version' => '29.0.2.2',
  'overwrite.cli.url' => 'REDACTED',
  'dbname' => 'REDACTED',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'maintenance' => true,
  'maintenance_window_start' => 1,
  'default_phone_region' => 'ZA',
  'default_language' => 'en_GB',
  'default_locale' => 'en_ZA',
  'skeletondirectory' => '/var/REDACTED/skeletondir',
  'filelocking.enabled' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
    'password' => '',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'REDACTED',
  'mail_domain' => 'REDACTED',
  'mail_smtphost' => 'REDACTED',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'REDACTED',
  'mail_smtppassword' => 'REDACTED',
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => 'REDACTED',
);

The output of your Apache/nginx/system log in /var/log/____:

$ cat access.log | grep '25/Jun/2024:16:3' | grep 'mail' | tail -n 50

REDACTED - - [25/Jun/2024:16:33:59 +0200] "GET /index.php/apps/mail/api/avatars/url/list%40wordfence.com HTTP/2.0" 404 55 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:33:59 +0200] "GET /index.php/apps/mail/api/avatars/url/team%40news-mail.elementor.com HTTP/2.0" 404 55 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:33:59 +0200] "GET /index.php/apps/mail/api/avatars/url/domains%40ksthree.com HTTP/2.0" 404 54 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:33:59 +0200] "GET /index.php/apps/mail/api/avatars/url/eppnotice%40registry.net.za HTTP/2.0" 404 54 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:34:00 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3792 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:34:00 +0200] "GET /index.php/apps/mail/api/avatars/image/nca%40zaks.web.za HTTP/2.0" 200 458 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:34:00 +0200] "GET /index.php/apps/mail/api/avatars/image/wordpress%40gwpuzzles.co.za HTTP/2.0" 200 8115 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:34:24 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3794 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:34:55 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3794 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:14 +0200] "GET /index.php/apps/mail/api/messages?mailboxId=38&limit=20 HTTP/2.0" 200 2394 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:14 +0200] "GET /index.php/apps/mail/api/avatars/url/system%40internet.co.za HTTP/2.0" 404 106 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:15 +0200] "POST /index.php/apps/mail/api/mailboxes/38/sync HTTP/2.0" 200 2627 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:14 +0200] "GET /index.php/apps/mail/api/avatars/url/support%40wpdeveloper.com HTTP/2.0" 404 81 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:19 +0200] "PUT /index.php/apps/mail/api/preferences/start-mailbox-id HTTP/2.0" 200 109 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:25 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3794 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:56 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 4000 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:35:58 +0200] "POST /index.php/apps/mail/api/mailboxes/38/sync HTTP/2.0" 200 2624 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:36:26 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3794 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:36:56 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3795 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:36:58 +0200] "POST /index.php/apps/mail/api/mailboxes/38/sync HTTP/2.0" 200 2633 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:11 +0200] "GET /index.php/apps/mail/api/messages?mailboxId=40&limit=20 HTTP/2.0" 200 3749 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:11 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3771 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:14 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3871 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:14 +0200] "GET /index.php/apps/mail/api/avatars/url/thisiszeev%40gmail.com HTTP/2.0" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:15 +0200] "GET /index.php/apps/mail/api/avatars/image/thisiszeev%40gmail.com HTTP/2.0" 200 7567 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:16 +0200] "PUT /index.php/apps/mail/api/preferences/start-mailbox-id HTTP/2.0" 200 108 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:24 +0200] "GET /index.php/apps/mail/api/accounts/8/quota HTTP/2.0" 501 123 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:26 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3892 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:56 +0200] "GET /apps/mail/js/mail.444.d0853460a679e657dc26.js HTTP/2.0" 200 4508 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:56 +0200] "GET /apps/mail/js/mail.new-message-modal.42e48729aecc610160ac.js HTTP/2.0" 200 21613 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:37:57 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3893 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:00 +0200] "GET /index.php/apps/mail/api/autoComplete?term=th HTTP/2.0" 200 402 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:00 +0200] "GET /index.php/apps/mail/box/null HTTP/2.0" 200 17541 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:02 +0200] "GET /index.php/apps/mail/api/messages/2381/thread HTTP/2.0" 200 651 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:02 +0200] "GET /index.php/apps/mail/api/avatars/url/zeev%40zaks.web.za HTTP/2.0" 200 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:02 +0200] "GET /index.php/index.php/apps/mail/api/avatars/image/thisiszeev%40gmail.com HTTP/2.0" 404 17906 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:02 +0200] "GET /index.php/apps/mail/api/messages/2381/body HTTP/2.0" 200 644 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:03 +0200] "GET /index.php/apps/mail/api/messages/2381/itineraries HTTP/2.0" 200 158 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:03 +0200] "GET /index.php/apps/mail/api/messages/2381/dkim HTTP/2.0" 200 88 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:03 +0200] "GET /index.php/apps/mail/api/messages/2381/html HTTP/2.0" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:04 +0200] "GET /apps/mail/js/htmlresponse.js HTTP/2.0" 200 7229 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:05 +0200] "PUT /index.php/apps/mail/api/messages/2381/flags HTTP/2.0" 200 100 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:05 +0200] "GET /index.php/apps/mail/api/messages/2381/html?plain=true HTTP/2.0" 200 782 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:10 +0200] "POST /index.php/apps/mail/api/drafts HTTP/2.0" 201 1647 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:10 +0200] "POST /index.php/apps/mail/api/outbox/from-draft/416 HTTP/2.0" 500 117 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:14 +0200] "POST /index.php/apps/mail/api/drafts HTTP/2.0" 201 1892 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:14 +0200] "POST /index.php/apps/mail/api/outbox/from-draft/417 HTTP/2.0" 500 237 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:28 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:38:59 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3898 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
REDACTED - - [25/Jun/2024:16:39:30 +0200] "POST /index.php/apps/mail/api/mailboxes/40/sync HTTP/2.0" 200 3897 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

See above

This is used for toggle on Read Receipts.

You’re seeing this in the release from just a few hours ago (3.7.2)?

Hmm. That worked in testing. It almost sounds like the db migration in 3.7.2 that adds the column for MDN didn’t run for you for some reason.

I just re-tested on another instance (that wasn’t updated before). Both before and after updating and I can’t reproduce this behavior. I also tested with Read Receipt enabled.

Hmm.

Anything in your log during the time window you updated the Mail app?

Correct

The problem is gone now after updating Nextcloud to 29.0.3.

If you really want to try and get to the bottom of it, i have now made a backup of my nextcloud.log and access.log, will hang onto it for a few weeks. Let me know. Otherwise, unless someone else has the same issue, and updating to 29.0.3 doesn’t fix it, then I wouldn’t worry about digging any deeper. It might be a once off issue. A red herring so to speak.

1 Like

I had the exact same issue.

ALTER TABLE oc_mail_local_messages DROP request_mdn;

Fixed it. But after the upgrade to Nextcloud 29.0.3 I had to do

ALTER TABLE oc_mail_local_messages ADD request_mdn BOOLEAN;

So updating to Nextcloud 29.0.3 is probably the best solution. I cannot recommend manually fiddeling with the database.

Hello, I have the exact same problem in Nextcloud 29.0.6 and Mail 3.7.8 (both fresh install)

But it happens only with some users and not the others. They all use the same email servers though.

Any idea ?