trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: July 2018

Re: [trinity-users] Re: You found it!!!!!!!!!!! I have sound after a tdm restart, and after a reboot!!!!!!!!

From: Gene Heskett <gheskett@...>
Date: Sun, 8 Jul 2018 03:56:07 -0400
On Sunday 08 July 2018 02:55:33 J Leslie Turriff wrote:

> On 2018-07-08 01:39:53 Michele Calgaro wrote:
> > > Yes, and because in my excitement over its working, I neglected to
> > > start ~/bin/mailwatcher after the reboot, which starts fetchmail
> > > for me, and links the incoming email directly into kmail, I did
> > > not get the first thank you message back, and just now sent
> > > another when I saw there had been no incoming while I was taking a
> > > morning nap. Fixed, 31 fetched when fetchmail was launched.
> >
> > Why don't you set it to start automatically when you log into TDE?
> > So you won't forget again.
>
> 	I believe the idea is to have mailwatcher running whether or not one
> is logged in, so that the mail is delivered as e.g. USPS requires.*
>
> Leslie

Not really. It has to run as me, the only carbon-based lifeform that 
accesses this computer, and once booted, I rarely log out for weeks at a 
time.

Running as me, also leads to all sorts of logging permission problems 
in /var/log, so I finally gave up and moved all those log files into 
~/log, redirecting logrotate to do its thing there. I did that about 4 
years ago and haven't had to putz with it since.

fetchmail feeds procmail, who proceeds to check incoming for viri and 
spam, and sends several phony illegits to /dev/null, the spam gets 
graded by spamassassin but still comes into kmail by being placed 
in /var/mail/me. procmail can also generate other names depending on who 
its from.  Where mailwatcher comes into play is it launches an instance 
of inotifywait to watch /var/mail, returning the name of the file that 
the mail was written to when its closed. That triggers a dbus msg to 
kmail to go get the mail, and it relaunches another instance of 
inotifywait to replace the one that died returning the filename.

All this, when working, reduces my work to handle incoming mail to 
hitting the + key to goto the next unread msg, if I can reply, I select 
the reply style, type my answer as I'm doing now, and a ctrl+return 
sends it.  Everything else is done by the computer and these scripts 
with zero intervention by me.  I mean, computers are supposed to do as 
we wish, right? Makes perfect sense to me. :)

Now, if I just had a good idea where to put the launching command so it 
was started by my logging in, the only other thing would be to assure 
that kmail is running on workspace 10. Sometimes it autostarts, but only 
sometimes. 

-- 
Cheers Leslie, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>