The following question is not really related to Nethserver, but might be understood somehow as a feature request as well as a call for know how / experience
I am looking for a simple tool which allows me to send recurrent email, e.g. reminders, to specific users on a weekly, monthly or annual basis. I do not want to run this on a separate client. Furthermore, I prefer to run such a service on the (Neth-) server (centos). Of course, such service should be handled as simple as possible, preferable from within the NS-cockpit
What is the problem I would like to solve with this? Quite simple. The company of my wife changed its provision of payment slips from surface mail to âdownload from the intranetâ. Now I would like to remind my wife (and from 2023 myself) on each end of every month to download and send it to our document management system.
I think an appropriate workaround is to use the crontab management tool provided by stephdl. Yes, this will work, but I will have to write a little script for each email to be sent - I would like to have a more handy tool. But any other alternative service running on CentOS is welcome.
Doesnât webtop, roundcube (with some plugin) or nextcloud (calendar, mailâŚ) have this feature?
What could be even better (but maybe more difficult to implement) would be some kind of automation that downloads the file for you. Something like zapier, n8n.io, beehive, huginnâŚ
Edit: Sorry, I missed the Intranet part, if those automation systems do not have Intranet access a notification like you request could be good enough.
Do not know if some command line mail client can do this too.
I was just thinking for the simplest thing but I keep forgetting roundcube has plugins but my point about api would be a scripted version of your zapier etc suggestion since he said about not wanting additional things
@thorsten do you know what service they would be using and is it an implementation of existing software or custom built
I think with that info we might be able to think of an automated solution as thereâs a few ways to do email reminders but if it could keep doing what your currently doing (Iâm assuming here that you run an email rule that auto copies email attachment at the moment to your document management system) that would be what Iâd do
Yes, correct, that would exactly work. The advantage would be that I may use the contrab module by stephdl, but I would have to create a separate file per eMail.
yes, I know that would work, but It would have two alternative disadvanages:
Either I would need to schedule other users tasks in my calendar or I would need to have access to another userâs calendar (aka login). Both is not really nice.
In order to get it to send the email end of every month unless you set 1 to every 28 Days you would make 1 script called 3 times by cron in the dash board it should look something like this
As for the file you want to send (ie the email) that would depend on how you want it to appear and how complex it could be a simple txt file which says download payslip
or complex as html file that auto updates the time and date in the email adds a background and has a link to log in to your intra net
You hit exactly the point! 25 years I go, I had a letterbox outside my house and every letter arrived in there, nowhere else! Nowadays, very company requires you to log in their site and download the letters.
Each month, I will need to log in at least 5-10 websites to download phone/internet invoices, payment slips, account slips, insurance invoices⌠They do not even provide a notification by email. I really hate this systems. Meaningful, but a hindrance to implement an automated download, are 2FA systems.
I would be glad if regulatory authorities would enforce the companies to provide such documents as (encrypted) email.
Anyway, no change to complain about here - I try to find a solution.
I use ecoDMS [www.ecodms.de] as a document management system.
I implemented an automated system to most regular invoices as long as it is provided as a pdf by email from an allowed sender to a specific address within my NS domain.
Now I need to get the users and companies to send the pdfs ⌠which is easy in some cases, possible an other cases and impossible in cases of insurances and banks.
I agree but if the software they use has an api it wouldnt mater what they offered you could have a script that connect to there end grab the file in any format and convert to pdf and upload into your document system i could help you get a script together but obviously sometimes companies dont allow access to the api but if there using a prebuilt program they might not no how to but there might be a generic way to do it
I know, but go to your bank front desk and ask the clerk at the counter to provide API documentation ⌠Please try the same on the hotline of your insurance âŚ
Those people will not even understand what you are asking for - âAP-what???â will be their likely answer. Even if you get an ICT person - you will not have the smallest change âŚ
That proposal is for sure valid and would be the most sophisticated solution - but absolutely impossible.
it failed the validation. I would proceed so, If that would be possible from within the crontab manager, but obviously it does not allow connected commands. I would propose
/path/to/myscript.sh
with a script per email - but again - I am looking for something âmore handyâ.
no sorry i didnt save it as it would need to be customised but your right about the cmd it should be /path/to/myscript.sh sorry for that as for the authentication that would depend on how you setup your email (ie user pass user@email.tld pass or sso) my bad i should have explained
update i did test the script
made test.sh containing #!/bin/bash cat ~/email.txt | mail -s "This is a Test" shane@ksatdesign.com.au
what do you want to have happen let me know and I can try to come up with something that suites if itâs automation of data that can be handled in the script and can be made to send one email to you and a separate one to your wife in the same script
@Shane_Treweek thank you for your offer, this is so kind. I think, I will have may different scripts as this will have different time schedules, but maybe if I may send you a proposal to countercheck - my scripting abilities are not the best
AFAIK for calendars an owner can give permission to other users to âmanageâ a calendar. Either read only, but in your case, with full write/edit permissions.
Then you only have to use the caldav location to access the calendar and you can manage the calendar for those users. Works like a charm with SOGo.
/edit: Oh, you needed to do this for email⌠I do think you can also set permissions for a mailbox⌠but need to dive into that on how that worksâŚ
found this: [SOGo] Delegate user's mailbox