Sending/receiving email Mail Server (Synology Nas)

Sending/receiving email in Mail Server

Hello everyone. I recently got onlyoffice workspace ce installed on my synology nas. I was having some issues with connecting the mx record/hostname, but I got it fixed. According to the compose provided by onlyoffice, ports 25, 143, and 587 are available to the mail server. I’ve made sure to forward port 25. I attempt to send an email out, it says sent successfully, but never receive the email. I check the logs for the mailserver and community server and theres no logs saying that it failed to be sent. I made sure that the ports were open in the firewall as well. I checked docker ps to make sure the ports were correct for each container and they are. Am I missing something? I also verified with telnet on port 25 that its accessable. I also used https://portchecker.co/ to verify that port 25 was open, which it is. Any suggestions? Thanks.

Hello @Keith
Port 25 is used by SMTP for notifications (account creation, password change, portal feed, etc.).
Do I understand it right that you’re able to send\receive emails except portal email notifications? If so, you need to check that 25 port isn’t blocked by firewall or your server hoster.
Additionally, please show us your SMTP settings > try to send test letter > collect entire Community server logs folder.

So I’m able to create an account, setup dns records mx records and all of that, but sending or receiving is a no go. Ill try and grab some logs, but when I have tried before, I never got any errors or any indication that something was sent out.

Community Server after attempt to send email

Failed to look up module alias 'autofs4': Function not implemented
systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Detected virtualization docker.
Detected architecture x86-64.
Failed to create symlink /sys/fs/cgroup/cpu: File exists
Failed to create symlink /sys/fs/cgroup/cpuacct: File exists

Welcome to Ubuntu 22.04.4 LTS!

Queued start job for default target Graphical Interface.
[  OK  ] Reached target Path Units.
[  OK  ] Reached target Slice Units.
[  OK  ] Reached target Swaps.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Socket Units.
         Starting Remount Root and Kernel File Systems...
         Starting Create Static Device Nodes in /dev...
systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
(This warning is only shown for the first unit using IP firewalling.)
         Starting Journal Service...
[  OK  ] Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
[  OK  ] Reached target Local File Systems.
         Starting Enable support fo…l executable binary formats...
[  OK  ] Finished Enable support fo…nal executable binary formats.
[  OK  ] Started Journal Service.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Run certbot twice daily.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Save initial kernel messages after boot.
         Starting God Service...
         Starting LSB: Mono XSP4...
         Starting MySQL Community Server...
         Starting A high performanc… and a reverse proxy server...
         Starting ONLYOFFICE SsoAuth Service...
         Starting ONLYOFFICE Thumb Service...
         Starting Advanced key-value store...
         Starting System Logging Service...
[  OK  ] Started ONLYOFFICE SsoAuth Service.
[  OK  ] Started ONLYOFFICE Thumb Service.
[  OK  ] Started Advanced key-value store.
[  OK  ] Started LSB: Mono XSP4.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started System Logging Service.
[  OK  ] Started God Service.
[  OK  ] Started MySQL Community Server.
         Starting FastCGI Mono server...
         Starting FastCGI Mono server...
         Starting Start ONLYOFFICE Backup Service...
         Starting ONLYOFFICE Feed Service...
         Starting ONLYOFFICE FilesTrashCleaner Service...
         Starting Start ONLYOFFICE Index Service...
         Starting ONLYOFFICE Jabber Service...
         Starting ONLYOFFICE MailAggregator Service...
         Starting ONLYOFFICE MailCleaner Service...
         Starting ONLYOFFICE MailImap Service...
         Starting ONLYOFFICE MailWatchdog Service...
         Starting ONLYOFFICE Notify Service...
         Starting ONLYOFFICE Radicale Service...
         Starting ONLYOFFICE SocketIO Service...
         Starting Start ONLYOFFICE StorageEncryption Service...
         Starting Start ONLYOFFICE StorageMigrate Service...
         Starting ONLYOFFICE Telegram Service...
         Starting ONLYOFFICE ThumbnailBuilder Service...
         Starting ONLYOFFICE UrlShortener Service...
         Starting ONLYOFFICE WebDav Service...
[  OK  ] Started ONLYOFFICE Radicale Service.
[  OK  ] Started ONLYOFFICE SocketIO Service.
[  OK  ] Started ONLYOFFICE UrlShortener Service.
[  OK  ] Started ONLYOFFICE WebDav Service.
[  OK  ] Started FastCGI Mono server.
[  OK  ] Started FastCGI Mono server.
[  OK  ] Started ONLYOFFICE Feed Service.
[  OK  ] Started Start ONLYOFFICE Backup Service.
[  OK  ] Started ONLYOFFICE FilesTrashCleaner Service.
[  OK  ] Started Start ONLYOFFICE Index Service.
[  OK  ] Started ONLYOFFICE Jabber Service.
[  OK  ] Started ONLYOFFICE Notify Service.
[  OK  ] Started Start ONLYOFFICE StorageEncryption Service.
[  OK  ] Started Start ONLYOFFICE StorageMigrate Service.
[  OK  ] Started ONLYOFFICE Telegram Service.
[  OK  ] Started ONLYOFFICE ThumbnailBuilder Service.
[  OK  ] Started ONLYOFFICE MailImap Service.
[  OK  ] Started ONLYOFFICE MailCleaner Service.
[  OK  ] Started ONLYOFFICE MailWatchdog Service.
[  OK  ] Started ONLYOFFICE MailAggregator Service.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.

Mail server after attempt to send email

********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
*   - /usr/src/iRedMail/iRedMail.tips
*
* And it's sent to your mail account postmaster@mail.houseofmanns.com.
*
********************* WARNING **************************************
Waiting for external MySql response
[ INFO ] Configure MySQL database server.
Starting crond:                                            [  OK  ]
Starting Dovecot Imap:                                     [  OK  ]
Starting system logger:                                    [  OK  ]
Starting amavisd:                                          [  OK  ]

Starting postfix:                                          [  OK  ]
Starting cbpolicyd:                                        [  OK  ]
Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
                                                           [  OK  ]
Starting clamd.amavisd: LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
                                                           [  OK  ]
Starting httpd:                                            [  OK  ]
Starting OpenDKIM Milter:                                  [  OK  ]
Starting spamd:                                            [  OK  ]
Starting fail2ban:                                         [  OK  ]
Starting server

Its like I don’t get anymore logs after everything is started

So, the situation is related to MailServer in general, not the SMTP only, am I right?
Please reproduce the situations:

  • show us your SMTP settings > try to send test letter (click the ‘Send Test mail’)
  • try to send\receive any mail via mail module.

Once the situation has been reproduced, please collect logs from these folders:
/app/onlyoffice/CommunityServer/logs/
/app/onlyoffice/MailServer/logs/