Displaying 3 results from an estimated 3 matches for "mailnotify".
2017 Jun 26
0
Help with Elite 800VA usb UPS
...G+WALL+EXEC
NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
NOTIFYFLAG NOPARENT SYSLOG+WALL+EXEC
and enabled my email script:
NOTIFYCMD /root/mailnotify.sh
This is my working script:
#!/bin/sh
echo "$UPSNAME in is $NOTIFYTYPE state" | mailx -v -r "adelutti at gmail.com"
-s "$NOTIFYTYPE" -S smtp="smtp.gmail.com:587" -S smtp-use-starttls -S
smtp-auth=login -S smtp-auth-user="adelutti at gmail.com"...
2020 Oct 15
2
lib22_push_notification_lua_plugin.so: undefined symbol: dlua_dovecot_register
...essages" {
special_use = \Sent
}
mailbox Trash {
auto = no
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
passdb {
args = /etc/dovecot/dovecot-oauth2.plain.conf.ext
driver = oauth2
mechanisms = plain login
}
plugin {
push_lua_url = http://localhost:5678/mailnotify
push_notification_driver = lua:file=/notify.lua
quota = maildir:User quota
quota_rule = *:storage=5MB
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full
quota_status_success = DUNNO
}
protocols = imap lmtp
service doveadm {
inet_listener http {
port = 8...
2017 Jun 16
3
Help with Elite 800VA usb UPS
Thanks mates,
as suggested I have added
runtimecal = 240,100,720,50
default.battery.voltage.low = 10.4
default.battery.voltage.high = 13.8 (the actual charging voltage)
In ups.conf
I have also added the startup procedure in rc.local file, everything is
fine...
I have only to make a deep test.
Is there a way to add a NOTIFYMSG value for the battery test?
Thank you lots
Andrea