Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #24484 > unrolled thread
| Started by | Ferannia <ferannia@mouse-potato.com> |
|---|---|
| First post | 2018-09-12 01:16 -0700 |
| Last post | 2018-09-23 20:12 +0000 |
| Articles | 20 on this page of 36 — 14 participants |
Back to article view | Back to comp.os.linux.misc
Health related - linux please help Ferannia <ferannia@mouse-potato.com> - 2018-09-12 01:16 -0700
Re: Health related - linux please help The Natural Philosopher <tnp@invalid.invalid> - 2018-09-12 11:53 +0100
Re: Health related - linux please help Joe Beanfish <joebeanfish@nospam.duh> - 2018-09-12 13:37 +0000
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-12 08:28 -0400
Re: Health related - linux please help Jean-David Beyer <jeandavid8@verizon.net> - 2018-09-12 09:21 -0400
Re: Health related - linux please help Dan Espen <dan1espen@gmail.com> - 2018-09-12 09:22 -0400
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-12 11:06 -0400
Re: Health related - linux please help Eli the Bearded <*@eli.users.panix.com> - 2018-09-12 18:11 +0000
Re: Health related - linux please help Dan Espen <dan1espen@gmail.com> - 2018-09-12 15:35 -0400
Re: Health related - linux please help Sylvain Robitaille <syl@alcor.concordia.ca> - 2018-09-12 15:31 +0000
Re: Health related - linux please help "Carlos E. R." <robin_listas@es.invalid> - 2018-09-12 12:14 -0400
Re: Health related - linux please help "Carlos E. R." <robin_listas@es.invalid> - 2018-09-12 16:50 -0400
Re: Health related - linux please help Joe Beanfish <joebeanfish@nospam.duh> - 2018-09-13 13:41 +0000
Re: Health related - linux please help The Natural Philosopher <tnp@invalid.invalid> - 2018-09-14 06:18 +0100
Re: Health related - linux please help Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2018-09-12 13:27 -0400
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-12 15:12 -0400
Ping Dave Hodgins (was Re: Health related - linux please help) Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2018-09-12 20:24 -0400
Re: Health related - linux please help Jean-David Beyer <jeandavid8@verizon.net> - 2018-09-12 20:40 -0400
Re: Health related - linux please help "Carlos E. R." <robin_listas@es.invalid> - 2018-09-12 21:36 -0400
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-13 02:41 -0400
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-13 02:45 -0400
Re: Health related - linux please help Rich <rich@example.invalid> - 2018-09-13 11:25 +0000
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-13 08:16 -0400
Re: Health related - linux please help Jean-David Beyer <jeandavid8@verizon.net> - 2018-09-13 11:01 -0400
Re: Health related - linux please help Wouter Verhelst <w@uter.be> - 2018-09-14 11:14 +0200
Re: Health related - linux please help Richard Kettlewell <invalid@invalid.invalid> - 2018-09-13 16:08 +0100
Re: Health related - linux please help "Carlos E. R." <robin_listas@es.invalid> - 2018-09-13 22:51 -0400
Re: Health related - linux please help Eli the Bearded <*@eli.users.panix.com> - 2018-09-14 06:28 +0000
Re: Health related - linux please help "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2018-09-14 06:07 -0400
Re: Health related - linux please help Eli the Bearded <*@eli.users.panix.com> - 2018-09-14 21:35 +0000
Re: Health related - linux please help Jean-David Beyer <jeandavid8@verizon.net> - 2018-09-14 20:20 -0400
Re: Health related - linux please help Eli the Bearded <*@eli.users.panix.com> - 2018-09-15 18:36 +0000
Re: Health related - linux please help "Carlos E. R." <robin_listas@es.invalid> - 2018-09-14 16:37 -0400
Re: Health related - linux please help Eli the Bearded <*@eli.users.panix.com> - 2018-09-14 21:45 +0000
Re: Health related - linux please help tom <tom@0.0.0.0> - 2018-09-23 11:39 -0700
Re: Health related - linux please help Rich <rich@example.invalid> - 2018-09-23 20:12 +0000
Page 1 of 2 [1] 2 Next page →
| From | Ferannia <ferannia@mouse-potato.com> |
|---|---|
| Date | 2018-09-12 01:16 -0700 |
| Subject | Health related - linux please help |
| Message-ID | <pnai0a$1pu9$1@gioia.aioe.org> |
It's about an elderly gentleman who is quite active on internet, but he loves to click on every file and link he receives, yet he pay his bills online - hence the linux is installed on his PC. He has a very weak heart. I am looking for any linux mailer, or mailer's scripting trick, or other application which will initiate a mailer to send an alert message to couple of addresses if he doesn't respond to application's call within a given time frame. Please, does it exist ? For ex. mailer's pop-up dialog which he'll have to hit and close within 10 hours after it shows up on his screen. If he doesn't hit OK button, an email message will be sent to couple of his relatives to check up on him. Has anyone ever heard about such a mailer or other application ? I am not a programmer, so I am unable to code anything similar, but I hope there is an application or a mailer available which can do that. I have meager knowledge in bash scripting. Thank you.
[toc] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2018-09-12 11:53 +0100 |
| Message-ID | <pnar6o$kfg$1@dont-email.me> |
| In reply to | #24484 |
On 12/09/18 09:16, Ferannia wrote: > It's about an elderly gentleman who is quite active on internet, but he > loves to click on every file and link he receives, yet he pay his bills > online - hence the linux is installed on his PC. > > He has a very weak heart. > > I am looking for any linux mailer, or mailer's scripting trick, or other > application which will initiate a mailer to send an alert message to > couple of addresses if he doesn't respond to application's call within a > given time frame. > > Please, does it exist ? For ex. mailer's pop-up dialog which he'll have > to hit and close within 10 hours after it shows up on his screen. If he > doesn't hit OK button, an email message will be sent to couple of his > relatives to check up on him. > > Has anyone ever heard about such a mailer or other application ? > > I am not a programmer, so I am unable to code anything similar, but I > hope there is an application or a mailer available which can do that. I > have meager knowledge in bash scripting. > > Thank you. > I have been thinking of writing this to run on one of my public facing servers. Say the server were to send him an email every day with a 'click on this link to say you are OK' and no click sends an email to someone else? Obviously a home server would also be OK IF IT WERE UP 24/7... -- Karl Marx said religion is the opium of the people. But Marxism is the crack cocaine.
[toc] | [prev] | [next] | [standalone]
| From | Joe Beanfish <joebeanfish@nospam.duh> |
|---|---|
| Date | 2018-09-12 13:37 +0000 |
| Message-ID | <pnb4r5$v6g$1@dont-email.me> |
| In reply to | #24485 |
On Wed, 12 Sep 2018 11:53:11 +0100, The Natural Philosopher wrote: > On 12/09/18 09:16, Ferannia wrote: >> It's about an elderly gentleman who is quite active on internet, but he >> loves to click on every file and link he receives, yet he pay his bills >> online - hence the linux is installed on his PC. >> >> He has a very weak heart. >> >> I am looking for any linux mailer, or mailer's scripting trick, or other >> application which will initiate a mailer to send an alert message to >> couple of addresses if he doesn't respond to application's call within a >> given time frame. >> >> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have >> to hit and close within 10 hours after it shows up on his screen. If he >> doesn't hit OK button, an email message will be sent to couple of his >> relatives to check up on him. >> >> Has anyone ever heard about such a mailer or other application ? >> >> I am not a programmer, so I am unable to code anything similar, but I >> hope there is an application or a mailer available which can do that. I >> have meager knowledge in bash scripting. >> >> Thank you. >> > I have been thinking of writing this to run on one of my public facing > servers. > > Say the server were to send him an email every day with a 'click on this > link to say you are OK' and no click sends an email to someone else? > > > Obviously a home server would also be OK IF IT WERE UP 24/7... Yeah, the email solution is better since it doesn't rely on the machine being up/not rebooting while the message is up. The trigger needs to be somewhat independent of his computer. I guess it partly depends on how reliable it needs to be. Extra checkins by his relatives probably wouldn't be bad. Launching nukes based on a missed click might be bad...lol
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2018-09-12 08:28 -0400 |
| Message-ID | <op.zo799ds3a3w0dxdave@hodgins.homeip.net> |
| In reply to | #24484 |
On Wed, 12 Sep 2018 04:16:10 -0400, Ferannia <ferannia@mouse-potato.com> wrote: > It's about an elderly gentleman who is quite active on internet, but he > loves to click on every file and link he receives, yet he pay his bills > online - hence the linux is installed on his PC. There is no "the linux". There are many linux distributions. In order to help, info such as ... Which Linux distribution (Suse, Ubuntu, Mageia, ...)? Which release of that distribution? That info should be available from a file such as /etc/lsb-release, or /etc/os-release, or /etc/product.id. Which desktop environment (KDE, GNOME, XFCE, LXDE, LXQT, Enlightment, etc.)? That should be visible from the logo displayed during the desktop startup. If not, try opening a terminal (such as xterm, or konsole, or gnome-terminal, and running the command ... echo $XDG_CURRENT_DESKTOP > Please, does it exist ? For ex. mailer's pop-up dialog which he'll have > to hit and close within 10 hours after it shows up on his screen. If he > doesn't hit OK button, an email message will be sent to couple of his > relatives to check up on him. That should be relatively simple to set up, using a bash script running the dialog command to display the pop-up, the "at" command to control when it's run, and the nail command to send the email. If those commands are not already installed on that system, you may also need assistance getting them installed. Regards, Dave Hodgins -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
| From | Jean-David Beyer <jeandavid8@verizon.net> |
|---|---|
| Date | 2018-09-12 09:21 -0400 |
| Message-ID | <pnb3sp0afg@news3.newsguy.com> |
| In reply to | #24486 |
On 09/12/2018 08:28 AM, David W. Hodgins wrote: > > There is no "the linux". There are many linux distributions. In order to > help, info such as ... > Which Linux distribution (Suse, Ubuntu, Mageia, ...)? > Which release of that distribution? > > That info should be available from a file such as /etc/lsb-release, > or /etc/os-release, or /etc/product.id. There are even more possibilities ... $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.10 (Santiago) $ > > Which desktop environment (KDE, GNOME, XFCE, LXDE, LXQT, Enlightment, > etc.)? > That should be visible from the logo displayed during the desktop startup. None. > If not, try opening a terminal (such as xterm, or konsole, or > gnome-terminal, and running the command ... > echo $XDG_CURRENT_DESKTOP $ echo $XDG_CURRENT_DESKTOP $ Actually, I am running Gnome and metacity. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key:166D840A 0C610C8B Registered Machine 1935521. /( )\ Shrewsbury, New Jersey http://linuxcounter.net ^^-^^ 09:05:01 up 7 days, 14 min, 3 users, load average: 4.16, 4.25, 4.39
[toc] | [prev] | [next] | [standalone]
| From | Dan Espen <dan1espen@gmail.com> |
|---|---|
| Date | 2018-09-12 09:22 -0400 |
| Message-ID | <pnb3u7$lki$1@dont-email.me> |
| In reply to | #24486 |
"David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:
> On Wed, 12 Sep 2018 04:16:10 -0400, Ferannia <ferannia@mouse-potato.com> wrote:
>
>> It's about an elderly gentleman who is quite active on internet, but he
>> loves to click on every file and link he receives, yet he pay his bills
>> online - hence the linux is installed on his PC.
>
> There is no "the linux". There are many linux distributions. In order to
> help, info such as ...
> Which Linux distribution (Suse, Ubuntu, Mageia, ...)?
> Which release of that distribution?
>
> That info should be available from a file such as /etc/lsb-release,
> or /etc/os-release, or /etc/product.id.
>
> Which desktop environment (KDE, GNOME, XFCE, LXDE, LXQT, Enlightment, etc.)?
> That should be visible from the logo displayed during the desktop startup.
> If not, try opening a terminal (such as xterm, or konsole, or
> gnome-terminal, and running the command ...
> echo $XDG_CURRENT_DESKTOP
>
>> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have
>> to hit and close within 10 hours after it shows up on his screen. If he
>> doesn't hit OK button, an email message will be sent to couple of his
>> relatives to check up on him.
>
> That should be relatively simple to set up, using a bash script running
> the dialog command to display the pop-up, the "at" command to control
> when it's run, and the nail command to send the email. If those commands
^^^^ mail
> are not already installed on that system, you may also need assistance
> getting them installed.
>
> Regards, Dave Hodgins
--
Dan Espen
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2018-09-12 11:06 -0400 |
| Message-ID | <op.zo8hkhhia3w0dxdave@hodgins.homeip.net> |
| In reply to | #24488 |
On Wed, 12 Sep 2018 09:22:15 -0400, Dan Espen <dan1espen@gmail.com> wrote: > "David W. Hodgins" <dwhodgins@nomail.afraid.org> writes: >> That should be relatively simple to set up, using a bash script running >> the dialog command to display the pop-up, the "at" command to control >> when it's run, and the nail command to send the email. If those commands > ^^^^ mail $ ll /usr/bin/nail lrwxrwxrwx 1 root root 14 Mar 2 2016 /usr/bin/nail -> ../../bin/mail* Guess nail is an old name, though still valid on Mageia 6 systems, and it's from a package called nail. $ rpm -q -i nail Name : nail <snip> URL : http://heirloom.sourceforge.net/mailx.html Summary : A MIME capable implementation of the mailx command Description : Nail is derived from Berkeley Mail and is intended to provide the functionality of the POSIX.2 mailx command with additional support for MIME, UTF-8, POP3/POP3s, IMAP, SMTP (SSL, TLS, AUTH), S/MIME, Maildir, and more. It provides enhanced features for interactive use, such as caching and disconnected operation for IMAP, message threading, scoring, filtering, and Bayesian junk mail filter. It is also usable as a mail batch language, both for sending and receiving mail. Since version 12.0 Nail has been integrated into the Heirloom project, Regards, Dave Hodgins -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2018-09-12 18:11 +0000 |
| Message-ID | <eli$1809121402@qaz.wtf> |
| In reply to | #24490 |
In comp.os.linux.misc, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote: > On Wed, 12 Sep 2018 09:22:15 -0400, Dan Espen <dan1espen@gmail.com> wrote: >>> when it's run, and the nail command to send the email. If those commands >> ^^^^ mail > > $ ll /usr/bin/nail > lrwxrwxrwx 1 root root 14 Mar 2 2016 /usr/bin/nail -> ../../bin/mail* > > Guess nail is an old name, though still valid on Mageia 6 systems, and > it's from a package called nail. Nail is a rewrite of the `mailx' command (often used to provide `mail') which has some understanding of MIME conventions. Since `mailx' dated to 1978, the new headers were not supported. I believe `nail' has become the new default for providing `mail' on many distros now. Outside of MIME encoding issues, `nail' and `mailx' should have the same interface. Elijah ------ in a manpage quote style mood
[toc] | [prev] | [next] | [standalone]
| From | Dan Espen <dan1espen@gmail.com> |
|---|---|
| Date | 2018-09-12 15:35 -0400 |
| Message-ID | <pnbppf$7pn$1@dont-email.me> |
| In reply to | #24490 |
"David W. Hodgins" <dwhodgins@nomail.afraid.org> writes: > On Wed, 12 Sep 2018 09:22:15 -0400, Dan Espen <dan1espen@gmail.com> wrote: > >> "David W. Hodgins" <dwhodgins@nomail.afraid.org> writes: >>> That should be relatively simple to set up, using a bash script running >>> the dialog command to display the pop-up, the "at" command to control >>> when it's run, and the nail command to send the email. If those commands >> ^^^^ mail > > $ ll /usr/bin/nail > lrwxrwxrwx 1 root root 14 Mar 2 2016 /usr/bin/nail -> ../../bin/mail* > > Guess nail is an old name, though still valid on Mageia 6 systems, and > it's from a package called nail. It's on Fedora too, who knew, sure looked like a typo to me. I said to myself, gee, you should check before you post. Then I thought, nah, that's a typo. -- Dan Espen
[toc] | [prev] | [next] | [standalone]
| From | Sylvain Robitaille <syl@alcor.concordia.ca> |
|---|---|
| Date | 2018-09-12 15:31 +0000 |
| Message-ID | <slrnppicae.m1v.syl@elvira.therockgarden.ca> |
| In reply to | #24484 |
On 2018-09-12, Ferannia wrote: > I am looking for any linux mailer, or mailer's scripting trick, or > other application which will initiate a mailer to send an alert > message to couple of addresses if he doesn't respond to application's > call within a given time frame. See the manual page for xmessage, which should be available on just about any current Linux distribution, and work with any window manager (not necessarily a desktop environment). Wrap it in a simple shell script that sends the mail message you need if xmessage times out, or performs some other action to indicate the patient is fine if he reponds. Launch the wrapping shell script periodically from cron; It would be even better if the script checks first to see if a previous invocation is still running, so it doesn't make a nuisance of itself by popping up multiple message windows, causing your patient to ultimately ignore the thing. I hope that helps ... -- ---------------------------------------------------------------------- Sylvain Robitaille syl@encs.concordia.ca Systems analyst / AITS Concordia University Faculty of Engineering and Computer Science Montreal, Quebec, Canada ----------------------------------------------------------------------
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2018-09-12 12:14 -0400 |
| Message-ID | <fvssbjFbt9rU1@mid.individual.net> |
| In reply to | #24484 |
On 12/09/2018 04.16, Ferannia wrote:
> It's about an elderly gentleman who is quite active on internet, but he
> loves to click on every file and link he receives, yet he pay his bills
> online - hence the linux is installed on his PC.
>
> He has a very weak heart.
>
> I am looking for any linux mailer, or mailer's scripting trick, or other
> application which will initiate a mailer to send an alert message to
> couple of addresses if he doesn't respond to application's call within a
> given time frame.
>
> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have
> to hit and close within 10 hours after it shows up on his screen. If he
> doesn't hit OK button, an email message will be sent to couple of his
> relatives to check up on him.
>
> Has anyone ever heard about such a mailer or other application ?
No, sorry.
No, the Linux flavour or desktop is not really relevant. Not yet: first
find a suitable app, then find out if it is available on said distro.
I can ask other people for you.
I could create some script to do it, but I don't know if I have the time.
I think this is called "dead man switch".
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2018-09-12 16:50 -0400 |
| Message-ID | <fvtcgsFf6ngU1@mid.individual.net> |
| In reply to | #24492 |
On 12/09/2018 12.14, Carlos E. R. wrote:
> On 12/09/2018 04.16, Ferannia wrote:
...
>
> I can ask other people for you.
They told me about this site: <https://www.deadmansswitch.net/>
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | Joe Beanfish <joebeanfish@nospam.duh> |
|---|---|
| Date | 2018-09-13 13:41 +0000 |
| Message-ID | <pndpdr$nc$1@dont-email.me> |
| In reply to | #24497 |
On Wed, 12 Sep 2018 16:50:36 -0400, Carlos E. R. wrote: > On 12/09/2018 12.14, Carlos E. R. wrote: >> On 12/09/2018 04.16, Ferannia wrote: > ... >> >> I can ask other people for you. > > They told me about this site: <https://www.deadmansswitch.net/> I've long thought of writing some kind of thing like deadmansswitch for myself. I wouldn't want to use an external provider for the info I would want to pass along when dead/incapacitated.
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2018-09-14 06:18 +0100 |
| Message-ID | <pnfgbc$t83$3@dont-email.me> |
| In reply to | #24506 |
On 13/09/18 14:41, Joe Beanfish wrote: > On Wed, 12 Sep 2018 16:50:36 -0400, Carlos E. R. wrote: > >> On 12/09/2018 12.14, Carlos E. R. wrote: >>> On 12/09/2018 04.16, Ferannia wrote: >> ... >>> >>> I can ask other people for you. >> >> They told me about this site: <https://www.deadmansswitch.net/> > > I've long thought of writing some kind of thing like deadmansswitch > for myself. I wouldn't want to use an external provider for the > info I would want to pass along when dead/incapacitated. > I think its going to be my winter project. SQL database, intefacing to mail systems, Web programming. What's not to like? -- There’s a mighty big difference between good, sound reasons and reasons that sound good. Burton Hillis (William Vaughn, American columnist)
[toc] | [prev] | [next] | [standalone]
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Date | 2018-09-12 13:27 -0400 |
| Message-ID | <pnbial$944$1@dont-email.me> |
| In reply to | #24484 |
Ferannia wrote:
> It's about an elderly gentleman who is quite active on internet, but he
> loves to click on every file and link he receives, yet he pay his bills
> online - hence the linux is installed on his PC.
>
> He has a very weak heart.
>
> I am looking for any linux mailer, or mailer's scripting trick, or other
> application which will initiate a mailer to send an alert message to
> couple of addresses if he doesn't respond to application's call within a
> given time frame.
>
> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have
> to hit and close within 10 hours after it shows up on his screen. If he
> doesn't hit OK button, an email message will be sent to couple of his
> relatives to check up on him.
>
> Has anyone ever heard about such a mailer or other application ?
>
> I am not a programmer, so I am unable to code anything similar, but I
> hope there is an application or a mailer available which can do that. I
> have meager knowledge in bash scripting.
>
> Thank you.
Something like this might suffice
#!/bin/sh
# How long the friend has before the message times out, in seconds
TIMEOUT=36000
# The email address(es) to send a notice to
EMAIL=email@example.com otheremail@somewhere.else
if xmessage -buttons "Yes I am:1,I need help:0" \
-default "I need help" \
-timeout $TIMEOUT -nearmouse "Are you well?"
then
echo "Your friend failed to confirm his health at $(date)" |
mailx -s "Your friend requires help" $EMAIL
xmessage -timeout 30 -nearmouse "I have sent an alert message to $EMAIL"
fi
# END of script
substituting, of course, the appropriate commandline email client.
Put this sort of script in your friend's desktop startup scripts, and make
sure that the email system is configured properly.
--
Lew Pitcher
"In Skills, We Trust"
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2018-09-12 15:12 -0400 |
| Message-ID | <op.zo8sy8oka3w0dxdave@hodgins.homeip.net> |
| In reply to | #24484 |
On Wed, 12 Sep 2018 04:16:10 -0400, Ferannia <ferannia@mouse-potato.com> wrote: > Please, does it exist ? For ex. mailer's pop-up dialog which he'll have > to hit and close within 10 hours after it shows up on his screen. If he > doesn't hit OK button, an email message will be sent to couple of his > relatives to check up on him. Not so simple any more due to spammers using infected windows boxes to send their spam. I've just found out that my isp now blocks direct outgoing connections to tcp port 25 (i.e. smtp or email). So in order to send the mail I have to relay it through another service, which requires logging into that service. Given the description of the intended user, it's highly likely to be the case for him too, which makes sending email using a script much more difficult. Regards, Dave Hodgins -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Date | 2018-09-12 20:24 -0400 |
| Subject | Ping Dave Hodgins (was Re: Health related - linux please help) |
| Message-ID | <pncanl$i3a$1@dont-email.me> |
| In reply to | #24498 |
David W. Hodgins wrote: > On Wed, 12 Sep 2018 04:16:10 -0400, Ferannia <ferannia@mouse-potato.com> > wrote: > >> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have >> to hit and close within 10 hours after it shows up on his screen. If he >> doesn't hit OK button, an email message will be sent to couple of his >> relatives to check up on him. > > Not so simple any more due to spammers using infected windows boxes to > send their spam. I've just found out that my isp now blocks direct > outgoing connections to tcp port 25 (i.e. smtp or email). > > So in order to send the mail I have to relay it through another service, > which requires logging into that service. Have you considered configuring your MDA to relay through your ISP? I know that this works with your ISP; I do it myself. -- Lew Pitcher "In Skills, We Trust"
[toc] | [prev] | [next] | [standalone]
| From | Jean-David Beyer <jeandavid8@verizon.net> |
|---|---|
| Date | 2018-09-12 20:40 -0400 |
| Message-ID | <pncblt01phv@news4.newsguy.com> |
| In reply to | #24498 |
On 09/12/2018 03:12 PM, David W. Hodgins wrote: > Not so simple any more due to spammers using infected windows boxes to > send their spam. I've just found out that my isp now blocks direct outgoing > connections to tcp port 25 (i.e. smtp or email). My ISP will not answer tcp port 25 for smtp, but they will take port 465. They want a normal user name and password and SSL/TLS protocol. Then they will talk to my sendmail, and I normally use -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key:166D840A 0C610C8B Registered Machine 1935521. /( )\ Shrewsbury, New Jersey http://linuxcounter.net ^^-^^ 20:10:01 up 7 days, 11:19, 3 users, load average: 4.31, 4.37, 4.27
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2018-09-12 21:36 -0400 |
| Message-ID | <fvtt9cFicnnU1@mid.individual.net> |
| In reply to | #24498 |
On 12/09/2018 15.12, David W. Hodgins wrote:
> On Wed, 12 Sep 2018 04:16:10 -0400, Ferannia <ferannia@mouse-potato.com>
> wrote:
>
>> Please, does it exist ? For ex. mailer's pop-up dialog which he'll have
>> to hit and close within 10 hours after it shows up on his screen. If he
>> doesn't hit OK button, an email message will be sent to couple of his
>> relatives to check up on him.
>
> Not so simple any more due to spammers using infected windows boxes to
> send their spam. I've just found out that my isp now blocks direct outgoing
> connections to tcp port 25 (i.e. smtp or email).
>
> So in order to send the mail I have to relay it through another service,
> which requires logging into that service.
>
> Given the description of the intended user, it's highly likely to be
> the case for him too, which makes sending email using a script much
> more difficult.
Not really.
You just tell the mail program to use the smtp server of your provider,
on the port they want, with login/pass - see man mailx for how.
Or configure the local MTA (postfix, sendmail, whatever) to talk to the
mail account smtp server, using the login/password as required. This is
what I use. Of course, this is not trivial to setup. Easy, but not
trivial ;-)
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2018-09-13 02:41 -0400 |
| Message-ID | <op.zo9ou00ra3w0dxdave@hodgins.homeip.net> |
| In reply to | #24501 |
On Wed, 12 Sep 2018 21:36:43 -0400, Carlos E. R. <robin_listas@es.invalid> wrote: > Or configure the local MTA (postfix, sendmail, whatever) to talk to the > mail account smtp server, using the login/password as required. This is > what I use. Of course, this is not trivial to setup. Easy, but not > trivial ;-) I have no problem sending email from my system, using my isp, gmail, yahoo, and even hotmail. This was about a script requested by Ferannia for a non-computer literate user that would require that user to click a dialog box once a day, or send an email to others if he fails to click it. I wrote the script (appended), tested it with email within my lan, decided to test it sending to gmail, but that failed. After switching from nail to nc, to sendmail, realized it had been a long time since I'd run a script that sent email. Did some checking and realized that when I switched from dsl to cable, I ended up with output tcp port 25 blocked. Confirmed that with telnet tests. In order to complete the script so it can work on a system with such a block, I'd need to know what mta the non-computer literate user can use, with the id and password, to allow proper testing. Regards, Dave Hodgins $ cat bin/okcheck.sh #!/bin/bash TitleString="Checking to see if you are ok" DisplayText="Click the X in the top right of this box to show you are ok." let Timeout=7*3600*1000 # Sets timout in seconds, in this example 7 hours TimeOfDayToRun="8:00" DestEmailList="dave@hodgins.homeip.net,davidwhodgins@gmail.com" MailSubject="Time to check on So and so again" MailMessage="So and so failed to close the dialog again. Please check on him" # No changes should be needed after this line FromUser="$USER" FromHostName="$HOSTNAME" MaxLines=200 MaxColumns=2000 ScriptPathName="$0" at -f "$ScriptPathName" "$TimeOfDayToRun" # run this script again tomorrow Xdialog --title "$TitleString" --no-buttons --infobox \ "$DisplayText" "$MaxLines" "$MaxColumns" "$Timeout" DialogRc=$? if [ $DialogRc == 0 ] ; then # Timout reached, so send mail sendmail "$DestEmailList" << EOF HELO $DestEmailHostName MAIL FROM: $FromUser@$FromHostName RCPT TO: $DestEmailUser@$DestEmailHostName DATA SUBJECT: $MailSubject $MailMessage . QUIT EOF fi exit -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.os.linux.misc
csiph-web