<html><head></head><body>Try ALL:ALL in /etc/hosts.allow temporarily. If that still doesn't work, it's likely something else. If it does, only then screw with creating narrow rules . . .<br>
<br>
- Tim<br><br><div class="gmail_quote">On November 25, 2016 6:37:02 AM CST, Roger Price <roger@rogerprice.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Fri, 25 Nov 2016, Jonah Naylor wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> upsd : ipaddressofclientgoeshere<br /></blockquote><br />If it were me I would write<br /><br /> upsd : ipaddressofclient :\<br /> spawn (/bin/mail -r hosts.allow@localhost\<br /> -s '%s@%h accepted access to %d from %c'\<br /> sysadmin@somedomain) & : ALLOW<br /><br /> upsd : ALL :\<br /> spawn (/bin/mail -r hosts.allow@localhost\<br /> -s '%s@%h refused access to %d from %c'\<br /> sysadmin@somedomain) & : DENY<br /><br />so I get a trace of what happens, at least during testing.<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> ups : monuser@127.0.0.1/32 monuser@masterstaticIP
monuser@slavestaticIP<br /></blockquote><br />I'm not sure what you are trying to do here. In any case, the <br />daemon_list should specify upsd, not ups. See man 5 hosts_access.<br /><br />Rogr<br /><br /><hr /><br />Nut-upsuser mailing list<br />Nut-upsuser@lists.alioth.debian.org<br /><a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>