I do not know why despite sending emails correctly from the command line
Unfortunately, the sending of e-mails does not work with the program itself.
Sorry for my English.
Code: Select all
echo "Hello, World" | mail -s "My email check" user@linux.pl
echo "Subject: sendmail test" | sendmail -v XXX@linux.pl
However, when checking the logs, nothing happens?
Code: Select all
tail -f /var/log/syslog
If it is not a program error or its version under ARM, it is probably the fault of my poor knowledge of Zoneminder
my choice in email options:
I installed Zoneminder using a script method :
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
Code: Select all
#!/bin/sh
clear
read -p "This script installs Apache2, Mariadb Server, PHP and Zoneminder 1.32.x on Ubuntu 18.04 ...
Press Enter to continue or Ctrl + c to quit" nothing
clear
read -p "You must be logged in as root using sudo su ...
Press Enter to continue or Ctrl + c to quit" nothing
apt install -y apache2 php mariadb-server php-mysql libapache2-mod-php7.2
clear
read -p "Next secure MySQL server by entering requested information. Press enter to continue" nothing
mysql_secure_installation
clear
read -p "Next we will add the PPA repository, install and configure the system to run Zoneminder.
Press enter to continue" nothing
apt install -y software-properties-common
clear
add-apt-repository ppa:iconnor/zoneminder-1.32
apt update
clear
awk '$0="date.timezone = "$0' /etc/timezone >> /etc/php/7.2/apache2/php.ini
clear
apt install -y zoneminder
systemctl enable zoneminder
service zoneminder start
adduser www-data video
a2enconf zoneminder
a2enmod rewrite
chown -R www-data:www-data /usr/share/zoneminder/
service apache2 reload
clear
read -p "Install complete.Press enter to continue" nothing
clear