From: Andrew Engelbrecht Date: Thu, 8 Oct 2015 20:19:45 +0000 (-0400) Subject: added procmailrc.example and edward-wrapper X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=69e09bbc212182afd4b9b03ebc4c845e8ee3d937;p=edward.git added procmailrc.example and edward-wrapper this is useful for creating an automated setup with a .procmailrc file in one's home directory. --- 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 +