Socket
Socket
Sign inDemoInstall

pinkman

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pinkman

An SMTP Server to forward Messages into A Backend System.


Maintainers
1

Readme

.. image:: https://img.shields.io/pypi/v/Pinkman.svg :alt: PyPI-Server :target: https://pypi.org/project/Pinkman/ .. image:: https://github.com/Norwik/Pinkman/actions/workflows/ci.yml/badge.svg :alt: Build Status :target: https://github.com/Norwik/Pinkman/actions/workflows/ci.yml

|

======= Pinkman

To use pinkman, follow the following steps:

  1. Create a python virtual environment or use system wide environment

.. code-block::

$ python3 -m venv venv
$ source venv/bin/activate

2. Install pinkman package with pip.

.. code-block::

$ pip install pinkman

3. Create the config file.

.. code-block::

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

4. Run the pinkman server.

.. code-block::

$ pinkman server run -c /etc/config.prod.yml

5. Run the pinkman worker.

.. code-block::

$ pinkman worker run -c /etc/config.prod.yml

6. Forward packets from port 1025 to port 25.

.. code-block::

$ iptables -t nat -A PREROUTING -p tcp --dport 1025 -j REDIRECT --to-port 25

7. Create an A entry which points to the IP address of your server.

.. code-block::

$ [ A ] [ smtp.orangutan.com ] [ x.x.x.x ]

8. Create an MX entry, which points back to the A entry above

.. code-block::

$ [ MX ] [ orangutan.com ] [ smtp.orangutan.com ]

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc