Announcementcenter mail dos not send "As soon as possible"

Operating system: Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64

Webserver: Apache/2.4.41 (Ubuntu) (apache2handler)

Database: mysql 8.0.22

PHP version: 7.4.3

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, ldap, exif, msgpack, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache

Nextcloud version: 20.0.6 - 20.0.6.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array ( )

List of activated apps
Enabled:
 - accessibility: 1.6.0
 - activity: 2.13.4
 - admin_audit: 1.10.0
 - announcementcenter: 4.0.0
 - cloud_federation_api: 1.3.0
 - comments: 1.10.0
 - contactsinteraction: 1.1.0
 - dashboard: 7.0.0
 - dav: 1.16.2
 - federatedfilesharing: 1.10.2
 - federation: 1.10.1
 - files: 1.15.0
 - files_accesscontrol: 1.10.2
 - files_automatedtagging: 1.10.1
 - files_downloadactivity: 1.9.0
 - files_pdfviewer: 2.0.1
 - files_retention: 1.9.0
 - files_rightclick: 0.17.0
 - files_sharing: 1.12.2
 - files_trackdownloads: 1.9.0
 - files_trashbin: 1.10.1
 - files_versions: 1.13.0
 - files_videoplayer: 1.9.0
 - firstrunwizard: 2.9.0
 - flow_notifications: 1.0.3
 - logreader: 2.5.0
 - lookup_server_connector: 1.8.0
 - nextcloud_announcements: 1.9.0
 - notifications: 2.8.0
 - oauth2: 1.8.0
 - password_policy: 1.10.1
 - photos: 1.2.3
 - privacy: 1.4.0
 - provisioning_api: 1.10.0
 - quota_warning: 1.9.1
 - recommendations: 0.8.0
 - serverinfo: 1.10.0
 - settings: 1.2.0
 - sharebymail: 1.10.0
 - support: 1.3.0
 - survey_client: 1.8.0
 - systemtags: 1.10.0
 - text: 3.1.0
 - theming: 1.11.0
 - twofactor_backupcodes: 1.9.0
 - updatenotification: 1.10.0
 - user_ldap: 1.10.2
 - user_retention: 1.3.0
 - user_status: 1.0.1
 - user_usage_report: 1.4.2
 - viewer: 1.4.0
 - weather_status: 1.0.0
 - workflow_script: 1.5.1
 - workflowengine: 2.2.0
Disabled:
 - encryption
 - files_external
 - sharepermissions

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "htaccess.RewriteBase": "\/nextcloud",
    "blacklisted_files": [
        ".htaccess"
    ],
    "trusted_domains": [
        "10.40.1.96"
    ],
    "log_type": "file",
    "logfile": "nextcloud.log",
    "loglevel": 1,
    "logdateformat": "d.m.Y, H:i:s",
    "log.condition": {
        "apps": [
            "admin_audit"
        ]
    },
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": "15, auto",
    "trashbin_purge_limit": 80,
    "dbtype": "mysql",
    "version": "20.0.6.1",
    "overwrite.cli.url": "http:\/\/10.40.1.96\/nextcloud",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "proxy": "10.40.1.80:8080",
    "enable_avatars": false,
    "allow_user_to_change_display_name": false,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "ldapUserCleanupInterval": 51,
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "maintenance": false
}

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database
  • OCA\User_LDAP\User_Proxy
LDAP configuration
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s01                                                                                                                                                                                   |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                                                                                                     |
| homeFolderNamingRule          |                                                                                                                                                                                       |
| lastJpegPhotoLookup           | 0                                                                                                                                                                                     |
| ldapAgentName                 | CN=Otp Check,CN=users,DC=XYZ,DC=grp                                                                                                                                                 |
| ldapAgentPassword             | ***                                                                                                                                                                                   |
| ldapAttributesForGroupSearch  |                                                                                                                                                                                       |
| ldapAttributesForUserSearch   |                                                                                                                                                                                       |
| ldapBackupHost                | DC2.XYZ.grp                                                                                                                                                                |
| ldapBackupPort                |                                                                                                                                                                                       |
| ldapBase                      | DC=XYZ,DC=grp                                                                                                                                                                       |
| ldapBaseGroups                | DC=XYZ,DC=grp                                                                                                                                                                       |
| ldapBaseUsers                 | DC=XYZ,DC=grp                                                                                                                                                                       |
| ldapCacheTTL                  | 600                                                                                                                                                                                   |
| ldapConfigurationActive       | 1                                                                                                                                                                                     |
| ldapDefaultPPolicyDN          |                                                                                                                                                                                       |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                                       |
| ldapEmailAttribute            | mail                                                                                                                                                                                  |
| ldapExperiencedAdmin          | 0                                                                                                                                                                                     |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                                       |
| ldapExpertUUIDUserAttr        |                                                                                                                                                                                       |
| ldapExpertUsernameAttr        |                                                                                                                                                                                       |
| ldapExtStorageHomeAttribute   |                                                                                                                                                                                       |
| ldapGidNumber                 | gidNumber                                                                                                                                                                             |
| ldapGroupDisplayName          | cn                                                                                                                                                                                    |
| ldapGroupFilter               | objectClass=posixGroup                                                                                                                                                                |
| ldapGroupFilterGroups         |                                                                                                                                                                                       |
| ldapGroupFilterMode           | 1                                                                                                                                                                                     |
| ldapGroupFilterObjectclass    | group                                                                                                                                                                                 |
| ldapGroupMemberAssocAttr      | member                                                                                                                                                                                |
| ldapHost                      | DC.XYZ.grp                                                                                                                                                                |
| ldapIgnoreNamingRules         |                                                                                                                                                                                       |
| ldapLoginFilter               | (&(&(|(objectclass=person))(|(|(memberof=CN=G_ASTR_AGG,OU=Kullanicilar,OU=GGG,OU=Bilgi Sistemleri,OU=WZY,OU=Agro,DC=XYZ,DC=grp)(primaryGroupID=5549))))(|(sAMAccountName=%uid))) |
| ldapLoginFilterAttributes     | sAMAccountName                                                                                                                                                                        |
| ldapLoginFilterEmail          | 0                                                                                                                                                                                     |
| ldapLoginFilterMode           | 0                                                                                                                                                                                     |
| ldapLoginFilterUsername       | 0                                                                                                                                                                                     |
| ldapMatchingRuleInChainState  | unknown                                                                                                                                                                               |
| ldapNestedGroups              | 0                                                                                                                                                                                     |
| ldapOverrideMainServer        |                                                                                                                                                                                       |
| ldapPagingSize                | 500                                                                                                                                                                                   |
| ldapPort                      | 3268                                                                                                                                                                                  |
| ldapQuotaAttribute            |                                                                                                                                                                                       |
| ldapQuotaDefault              |                                                                                                                                                                                       |
| ldapTLS                       | 0                                                                                                                                                                                     |
| ldapUserAvatarRule            | default                                                                                                                                                                               |
| ldapUserDisplayName           | displayname                                                                                                                                                                           |
| ldapUserDisplayName2          |                                                                                                                                                                                       |
| ldapUserFilter                | (&(|(objectclass=person))(|(|(memberof=CN=G_ASTR_AGG,OU=Kullanicilar,OU=GGG,OU=Bilgi Sistemleri,OU=WYZ,OU=Agro,DC=XYZ,DC=grp)(primaryGroupID=5549))))                            |
| ldapUserFilterGroups          | G_WYZ_GGG                                                                                                                                                                            |
| ldapUserFilterMode            | 0                                                                                                                                                                                     |
| ldapUserFilterObjectclass     | person                                                                                                                                                                                |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                                  |
| ldapUuidUserAttribute         | auto                                                                                                                                                                                  |
| turnOffCertCheck              | 0                                                                                                                                                                                     |
| turnOnPasswordChange          | 0                                                                                                                                                                                     |
| useMemberOfToDetectMembership | 1                                                                                                                                                                                     |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Even I set Activity Settings as “As Soon As Possible” I can’t get mail in short timewhen I create an Announcemen as admin. It takes mininmum 20 min.
How can I set up that announcement sends mail as soon as possiible?

image