I’m a long-time (and usually self-sufficient) experienced user, and have searched the web and this forum, but can’t find an answer for how to specify the same settings for this module as I have successfully applied in “Sending Email” under “Webmin Configuration”.
In other words, I get emails fine about software packages needing to be updated, but can’t get emails when monitored services go down.
In particular what I see missing from “Scheduled Monitoring” in “System and Server Status” is: SMTP authentication method SMTP port Use SMTP SSL encryption
I don’t have any MTA, postfix, sendmail or otherwise installed on this machine, and I’d like to keep it that way.
Does anyone know of a way to either have “Scheduled Monitoring” use the webmin-config settings or alter webmin in such a way to add those vital settings (I’m using AWS SES in case anyone is curious, but it should not matter AFAIK) without having to then redo them the next time I update webmin?
Webmin is a control panel for managing your services, it doesn’t actually provide those services.
Without a mail server, there is nothing for it to manage. There also won’t be mail.
It’s like pushing the accelerator in your car but it doesn’t have an engine.
For more context as to why I don’t run an MTA, it’s because I can’t. I would, of course, take the path of least resistance if I could. In fact, I used to run postfix on my webmin/virtualmin instances until this happened. And no, I won’t leave DigitalOcean. First, I like them; second, I was an early customer and am grandfathered in for unlimited bandwidth.
I decided to try out OpenAI’s Codex on this, and it worked.
Here is a zip file with the two patch files (one for the repo, one for patching an installed version), and a README file. All were generated by the LLM.
I have only done some “smoke testing”, so use at your own risk, no warranties expressed or implied, etc. I made a prior snapshot of the VM I applied this to, and you should do something similar.