To all ISPC experts: In a multi server setup based on Debian 10 with a master-, web-, dns- and mail-server I get an error message in debugging mode (except mail server): sh: /usr/sbin/sendmail: No such file or directory It seems that the sendmail package is no longer installed on debian 10 by default and must be installed and configured manually on all slave servers but mail. Q: Is sendmail still the preferred (standard) MTA for ISPC to send log messages or do you recommend a different package? I don't want to install an smtp client like msmtp... Q: Is a standard installation of sendmail sufficient (like below) Code: sudo apt install sendmail sendmail-cf sudo sendmailconfig (-yes ...) Thanks in advance.
I use sendmail and it works perfectly fine. You want to setup sendmail to relay the email through your mail server, or add the IP address(es) to your SPF record(s).
@Th0m: thank you for your experience! Sounds perfect! I don't want sendmail sends messages over port 25. ISPC should send system messages via smtp account (SSL / TLS) which is set up under System -> Main Config and uses an external Mail-Account (not within the multiserver setup) to do that. Therefore I think the Sendmail configuration with ip/spf isn´t necessary, isn´t it ? What do you think about this?
ISPConfig 3 does not support sendmail at all, the only supported MTA is postfix. Thus said, you can install sendmail instead on nodes that shall not send emails which means the mail system is not configured by ISPConfig at all. Personally, I use postfix on such non-mail servers as well. Just: apt-get install postfix
Thx Till! My preferred method of sending system messages would be SMTP. I tried to make ISPC act as a MUA in this case: under System -> Main Config -> Email -> Use SMTP to send system mails. Host, port, user password and encryption are correct: can send/receive emails with this settings (thunderbird) to Administrator's e-mail . It seems, that ISPC takes no notice of these settings (3.1.15p3). Loglevel of this server is: Debug Send email to admin starting with the following level: Debug ISPC Master Server: tail -f /var/log/ispconfig/cron.log Sun 23 Feb 2020 07:24:01 PM CET 23.02.2020-19:24 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. Sun 23 Feb 2020 07:24:01 PM CET sh: /usr/sbin/sendmail: No such file or directory Sun 23 Feb 2020 07:24:01 PM CET 23.02.2020-19:24 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock Sun 23 Feb 2020 07:24:01 PM CET sh: /usr/sbin/sendmail: No such file or directory Sun 23 Feb 2020 07:24:01 PM CET finished. Nothing happens at the receiving mail server (not part of the multiserver setup; production mail server within our company). Is it still necessary to install Postfix as system mta when Use SMTP to send system mails is set? Any ideas?
No. Sending mails by smtp works fine, I use it on my server for years now. If it does not work on your system, then either one of your SMTP settings is wrong or you did not turn on sending by smtp or you use tls and the php version on your master has problems with the tls version or ssl cert verification on the target smtp server.