change default config location and release 1.0.1

This commit is contained in:
2020-04-22 23:13:32 +02:00
parent 01b516ce7c
commit 295aeee83e
4 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
A pymilter based sendmail/postfix pre-queue filter with the ability to add, remove and modify e-mail headers. A pymilter based sendmail/postfix pre-queue filter with the ability to add, remove and modify e-mail headers.
The project is currently in beta status, but it is already used in a productive enterprise environment which processes about a million e-mails per month. The project is currently in beta status, but it is already used in a productive enterprise environment which processes about a million e-mails per month.
The basic idea is to define rules with conditions and do modifications when all conditions are met. The basic idea is to define rules with conditions and modifications which are processed when all conditions are true.
## Dependencies ## Dependencies
Pymodmilter is depending on these python packages, but they are installed automatically if you are working with pip. Pymodmilter is depending on these python packages, but they are installed automatically if you are working with pip.
@@ -13,9 +13,9 @@ Pymodmilter is depending on these python packages, but they are installed automa
* Install pymodmilter with pip and copy the example configuration file. * Install pymodmilter with pip and copy the example configuration file.
```sh ```sh
pip install pymodmilter pip install pymodmilter
cp /usr/share/doc/pymodmilter/pymodmilter.conf.example /etc/pymodmilter.conf cp /etc/pymodmilter/pymodmilter.conf.example /etc/pymodmilter/pymodmilter.conf
``` ```
* Modify /etc/pymodmilter.conf according to your needs. * Modify /etc/pymodmilter/pymodmilter.conf according to your needs.
## Configuration options ## Configuration options
Pymodmilter uses a configuration file in JSON format. The options are described below. Make a copy of the [example configuration file](https://github.com/spacefreak86/pymodmilter/blob/master/docs/pymodmilter.conf.example) in the [docs](https://github.com/spacefreak86/pymodmilter/tree/master/docs) folder to start with. Pymodmilter uses a configuration file in JSON format. The options are described below. Make a copy of the [example configuration file](https://github.com/spacefreak86/pymodmilter/blob/master/docs/pymodmilter.conf.example) in the [docs](https://github.com/spacefreak86/pymodmilter/tree/master/docs) folder to start with.

View File

@@ -35,7 +35,7 @@ def main():
prog, max_help_position=45, width=140)) prog, max_help_position=45, width=140))
parser.add_argument( parser.add_argument(
"-c", "--config", help="Config file to read.", "-c", "--config", help="Config file to read.",
default="/etc/pymodmilter.conf") default="/etc/pymodmilter/pymodmilter.conf")
parser.add_argument( parser.add_argument(
"-s", "-s",
"--socket", "--socket",

View File

@@ -1 +1 @@
__version__ = "1.0.0" __version__ = "1.0.1"

View File

@@ -37,7 +37,7 @@ setup(name = "pymodmilter",
}, },
data_files = [ data_files = [
( (
'usr/share/doc/pymodmilter', 'etc/pymodmilter',
[ [
'docs/pymodmilter.conf.example' 'docs/pymodmilter.conf.example'
] ]