X-Git-Url: https://plomlompom.com/repos/?p=pingmail.git;a=blobdiff_plain;f=pingmailrc.example;fp=pingmailrc.example;h=954e8ff0fa13ef66ca030edae587c72d6d39e3f1;hp=97a9de0076d8ce4e899a880895db514f12b6175f;hb=14dfa8853e4014e8d01e6f8ab595bf64a7ec861c;hpb=151d9fbc0afb0f56f3964e0d2d396923e4dd69a3 diff --git a/pingmailrc.example b/pingmailrc.example index 97a9de0..954e8ff 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 @@ -37,6 +34,12 @@ msg2checker='pingmail reporting in:\n # mail client command reading message body from stdin and subject from parameter mailclient_s='mutt -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)'