mschlenstedt / Loxberry

Current stable Branch is: *** Please see Releases *** Current developer Branch is: *** master ***
Apache License 2.0
75 stars 27 forks source link

Notify: sendmail: account default not found: no configuration file available error when closing pipe to sendmail: #1007

Closed christianTF closed 4 years ago

christianTF commented 5 years ago

Bei der Plugininstallation in 1.5.0.x habe ich bekommen, vermutlich vom Notify (s.u.)

24.08.2019 13:55:16 <WARNING> The plugin uses hardcoded paths to /opt/loxberry. This may be critical and should be fixed by the Plugin author: michael@loxberry.de
sendmail: account default not found: no configuration file available
error when closing pipe to sendmail: 

Trace begun at /usr/share/perl5/Email/Sender/Transport/Sendmail.pm line 94
Email::Sender::Transport::Sendmail::send_email('Email::Sender::Transport::Sendmail=HASH(0x1efbf00)', 'Email::Abstract=ARRAY(0x1cf2f88)', 'HASH(0x1ee6ca0)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 45
Email::Sender::Role::CommonSending::try {...}  at /usr/share/perl5/Try/Tiny.pm line 102
eval {...} at /usr/share/perl5/Try/Tiny.pm line 93
Try::Tiny::try('CODE(0x1f48be0)', 'Try::Tiny::Catch=REF(0x1eebd90)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 58
Email::Sender::Role::CommonSending::send('Email::Sender::Transport::Sendmail=HASH(0x1efbf00)', 'Email::Abstract=ARRAY(0x1cf2f88)', 'HASH(0x1efbf18)') called at /usr/share/perl5/Email/Sender/Simple.pm line 119
Email::Sender::Simple::send_email('Email::Sender::Simple', 'Email::Abstract=ARRAY(0x1cf2f88)', 'HASH(0x1ee6c10)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 45
Email::Sender::Role::CommonSending::try {...}  at /usr/share/perl5/Try/Tiny.pm line 102
eval {...} at /usr/share/perl5/Try/Tiny.pm line 93
Try::Tiny::try('CODE(0x1ee6d30)', 'Try::Tiny::Catch=REF(0x1cbd130)') called at /usr/share/perl5/Email/Sender/Role/CommonSending.pm line 58
Email::Sender::Role::CommonSending::send('Email::Sender::Simple', 'To: fenzl@t-r-t.at^M^JFrom: "DEV LoxBerry" <fenzl@t-r-t.at>^M^JSubject: DEV LoxBerry INFO in Plugininstall Plugininstall^M^JDate: Sat, 24 Aug 2019 13:55:18 +0200^M^JMIME-Version: 1.0^M^JContent-Type: multipart/related; boundary="15666477180.b4ef535b4.27856"^M^JContent-Transfer-Encoding: 7bit^M^J^M^J^M^J--15666477180.b4ef535b4.27856^M^JDate: Sat, 24 Aug 2019 13:55:18 +0200^M^JMIME-Version: 1.0^M^JContent-Type: text/html; charset="UTF-8"^M^JContent-Transfer-Encoding: quoted-printable^M^J^M^J<html>^M^J^I<body>^M^J=09=09^M^J^I^I<!-- <img src=3D"cid:info" alt=3D"Info-Symbol" /> -->^M^J^I^I<p style=3D"color:blue">^M^J=09=09^M^J^I^I^I<b>Plugininstall notifies about the following system INFORMATION:</b>^M^J^I^I</p>^M^J^I^I<p style=3D"font-size:120%">^M^J^I^IWARNING NUKI SmartLock: The plugin uses hardcoded paths to /opt/loxberry.=^M^J This may be critical and should be fixed by the Plugin author: michael@lox=^M^Jberry.de<br>^M^J^I^I</p>^M^J=09=09^M^J=09=09^M^J^I^I<hr />^M^J^I^IThis notification was sent by <a href=3D"http://loxberry-dev.brunnenweg.l=^M^Jan:80">DEV LoxBerry</a> (loxberry-dev.brunnenweg.lan)^M^J^I^I<br />^M^J^I^ISent at: 24.08.2019 13:55:18=20^M^J^I^I<p>^M^J^I^I<!-- <img src=3D"cid:img1" alt=3D"Logo" width=3D"470px" height=3D"64px" /=^M^J> -->^M^J^I^I</p>^M^J^I</body>^M^J</html>^M^J^M^J--15666477180.b4ef535b4.27856--^M^J') called at /usr/share/perl5/Sub/Exporter/Util.pm line 18
Sub::Exporter::Util::__ANON__('To: fenzl@t-r-t.at^M^JFrom: "DEV LoxBerry" <fenzl@t-r-t.at>^M^JSubject: DEV LoxBerry INFO in Plugininstall Plugininstall^M^JDate: Sat, 24 Aug 2019 13:55:18 +0200^M^JMIME-Version: 1.0^M^JContent-Type: multipart/related; boundary="15666477180.b4ef535b4.27856"^M^JContent-Transfer-Encoding: 7bit^M^J^M^J^M^J--15666477180.b4ef535b4.27856^M^JDate: Sat, 24 Aug 2019 13:55:18 +0200^M^JMIME-Version: 1.0^M^JContent-Type: text/html; charset="UTF-8"^M^JContent-Transfer-Encoding: quoted-printable^M^J^M^J<html>^M^J^I<body>^M^J=09=09^M^J^I^I<!-- <img src=3D"cid:info" alt=3D"Info-Symbol" /> -->^M^J^I^I<p style=3D"color:blue">^M^J=09=09^M^J^I^I^I<b>Plugininstall notifies about the following system INFORMATION:</b>^M^J^I^I</p>^M^J^I^I<p style=3D"font-size:120%">^M^J^I^IWARNING NUKI SmartLock: The plugin uses hardcoded paths to /opt/loxberry.=^M^J This may be critical and should be fixed by the Plugin author: michael@lox=^M^Jberry.de<br>^M^J^I^I</p>^M^J=09=09^M^J=09=09^M^J^I^I<hr />^M^J^I^IThis notification was sent by <a href=3D"http://loxberry-dev.brunnenweg.l=^M^Jan:80">DEV LoxBerry</a> (loxberry-dev.brunnenweg.lan)^M^J^I^I<br />^M^J^I^ISent at: 24.08.2019 13:55:18=20^M^J^I^I<p>^M^J^I^I<!-- <img src=3D"cid:img1" alt=3D"Logo" width=3D"470px" height=3D"64px" /=^M^J> -->^M^J^I^I</p>^M^J^I</body>^M^J</html>^M^J^M^J--15666477180.b4ef535b4.27856--^M^J') called at /opt/loxberry/sbin/notifyproviders/email.pl line 163
/tmp/uploads/u1k4UryZJY/LoxBerry-Plugin-Nuki-master/bin/remove_callbacks.sh
christianTF commented 5 years ago

Fehler tritt auf, wenn E-Mail aktiviert ist, aber die Felder leer sind.