Pinkman
To use pinkman, follow the following steps:
Create a python virtual environment or use system wide environment
$ python3 -m venv venv
$ source venv/bin/activate
Install pinkman package with pip.
$ pip install pinkman
Create the config file.
server:
hostname: localhost
port: 1025
cache:
type: sqlite
path: /tmp/pinkman.db
backend:
type: http
method: post
url: https://pinkman.free.beeceptor.com
apikey: 5ab99869-f403-4481-bed6-da7c8aad7521
Run the pinkman server.
$ pinkman server run -c /etc/config.pinkman.prod.yml
Run the pinkman worker.
$ pinkman worker run -c /etc/config.pinkman.prod.yml
Forward packets from port 1025 to port 25.
$ iptables -t nat -A PREROUTING -p tcp --dport 1025 -j REDIRECT --to-port 25
Metadata
Release files for pinkman 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pinkman-0.1.7.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pinkman-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.4 kB
Release files / pinkman-0.1.7.tar.gz
| Download URL | pinkman-0.1.7.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47e86bc251748f0b8c37c79fa5081849620126a40dec3015dde25a84ac59bf8f
|
|
BLAKE2b-256 checksum How to use checksums |
540f8fd656293dc6f59b82c6c4c6988251c08a9fdb90f360b986d20e36273c21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / pinkman-0.1.7-py3-none-any.whl
| Download URL | pinkman-0.1.7-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0100d7da0a5c821a0035b9633bc732e41b40120ab1d8f3efa15296edb7ec0370
|
|
BLAKE2b-256 checksum How to use checksums |
79e3be88b2db07ef5f67a076d153d2ceb00791e40dd1dc91912a92d8a924b72e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|