Our aliases are spammed like any other account, but filtering on them would require making a real account. I wanted to be able to filter aliases without creating accounts for everything. My first solution was to create an account and filter on that one, then using $original_local_part I could forward to a filtered alias. This works but if someone discovers the filtered alias, they can bypass the filtering.
The leap second has had been a problem for Java apps (389-console for me) and apparently some ruby apps (seems like puppet ((can't prove it)) ). I found the common fix is to just set the date based on the current date as shown here.
Doing this on all the machines, a single line with func.
We are using gnarwl for vacation notification and I would like gnarwl to only reply if the current time is in the vacationStart vacationEnd window.
Here is the queryfilter to do that using the following information:
<br /> $recepient - receiver of the message<br /> $time - current time in seconds since the epoch
I often use dd to copy large files or make images from hard drives. It's annoying to watch something without any progress indicator, so I use the little known kill switch on dd.
From the man page:
Sending a USR1 signal to a running ‘dd’ process makes it print I/O statistics to standard error and then resume copying.
$ dd if=/dev/zero of=/dev/null& pid=$!
I wanted to monitor the ambient temperature in my computer room and decided to try using the built in sensors on my servers. ipmitool showed an ambient temperature, so I did some sed to get just the temperature.
[thomas@hotstuff: ~] $ sudo ipmitool sdr type "Temperature" |grep Ambient
Ambient Temp | 08h | ok | 7.1 | 22 degrees C
Update: I noticed that the syntax for vacationStart and vacationEnd do not permit integer comparisons. So I changed them from 18.104.22.168.4.1.1422.214.171.124.40 to 126.96.36.199.4.1.14188.8.131.52.15. This change allows you to make a gnarwl search string that uses the current time to check if a vacation is active.
This is just a case of RTFM but I thought I'd share...
Copyright 2019 - All Rights Reserved