X-Git-Url: https://plomlompom.com/repos/?p=pingmail.git;a=blobdiff_plain;f=pingmailrc.example;h=cbaf8c4899e6b377c14c22c6ffdfacf5b958b3fc;hp=6ac22bd303b237acdb18263fa46a3f27766bddab;hb=HEAD;hpb=1b3fa2e791597ba751b18fb321b4fe918aa98cbb diff --git a/pingmailrc.example b/pingmailrc.example index 6ac22bd..cbaf8c4 100644 --- a/pingmailrc.example +++ b/pingmailrc.example @@ -7,9 +7,6 @@ ping_touch=$testdir'/ping_touch' # modification time is when the count for sending checker a warning mail starts reminder_touch=$testdir'/reminder_touch' -# to recursively search for most recent matches to $matchstring as lifesigns -maildir=$HOME'/mail' - # how long to wait for lifesigns before sending a ping; double is time to wait # for a lifesign before sending a warning message to checker wait_time=86400 @@ -34,6 +31,15 @@ msg2checker='pingmail reporting in:\n \nNo life signs from '$id_target' for the last '$reminder_time' seconds. \nMaybe you should give them a call to check if they are okay.' +# mail client command reading message body from stdin and subject from parameter +mailclient_s='mail -s' + +# mailbox file to check for most recent life sign +mbox=$HOME'/mail/foo' + +# to recursively search for most recent matches to $matchstring as lifesigns +maildir=$HOME'/mail' + # pattern to search $maildir for recursively for lifesigns checked_address_escaped=`echo $checked_address | sed 's/\./\\./g'` matchstring='^From: .*('$checked_address_escaped'|alternate@example\.org)'