From 69e09bbc212182afd4b9b03ebc4c845e8ee3d937 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Thu, 8 Oct 2015 16:19:45 -0400 Subject: [PATCH] added procmailrc.example and edward-wrapper this is useful for creating an automated setup with a .procmailrc file in one's home directory. --- edward-wrapper | 24 ++++++++++++++++++++++++ procmailrc.example | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100755 edward-wrapper create mode 100644 procmailrc.example diff --git a/edward-wrapper b/edward-wrapper new file mode 100755 index 0000000..164884a --- /dev/null +++ b/edward-wrapper @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +#************************************************************************* +# Edward is free software: you can redistribute it and/or modify * +# it under the terms of the GNU Affero Public License as published by * +# the Free Software Foundation, either version 3 of the License, or * +# (at your option) any later version. * +# * +# "run-tests" is distributed in the hope that it will be useful, * +# but WITHOUT ANY WARRANTY; without even the implied warranty of * +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +# GNU Affero Public License for more details. * +# * +# You should have received a copy of the GNU Affero Public License * +# along with Edward. If not, see . * +# * +# Copyright (C) 2015 Andrew Engelbrecht (AGPLv3+) * +#************************************************************************* + +. ~/.bashrc +export LC_ALL=en_US.UTF-8 + +tee -a ~/incoming.log | /usr/bin/time -f "\nreal: %E [h:]m:s" ~/edward-src/edward + diff --git a/procmailrc.example b/procmailrc.example new file mode 100644 index 0000000..d251ea5 --- /dev/null +++ b/procmailrc.example @@ -0,0 +1,33 @@ + +#************************************************************************* +# Edward is free software: you can redistribute it and/or modify * +# it under the terms of the GNU Affero Public License as published by * +# the Free Software Foundation, either version 3 of the License, or * +# (at your option) any later version. * +# * +# "run-tests" is distributed in the hope that it will be useful, * +# but WITHOUT ANY WARRANTY; without even the implied warranty of * +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +# GNU Affero Public License for more details. * +# * +# You should have received a copy of the GNU Affero Public License * +# along with Edward. If not, see . * +# * +# Copyright (C) 2014 Josh Drake (AGPLv3+) * +# Copyright (C) 2014 Lisa Marie Maginnis (AGPLv3+) * +# Copyright (C) 2015 Andrew Engelbrecht (AGPLv3+) * +#************************************************************************* + +LOGFILE=$HOME/edward.log + +:0: +* ^From:.*edward.*your-domain.org +/dev/null + +:0: +* ^From:.*MAILER-DAEMON.* +/dev/null + +:0 +| $HOME/edward-src/edward-wrapper + -- 2.25.1