Skip to content

VadVergasov/MailRedirector

Repository files navigation

MailRedirector License Stars Codestyle

Simple to use Telegram bot, that can resend emails from the configured account.

Setup

git clone https://github.com/VadVergasov/MailRedirector.git
cd MailRedirector
python3 -m venv env
env\Scripts\activate.bat # For Windows.
source env/bin/activate # For Linux and MacOS
pip install -r requirements.txt

Copy config.py.template to config.py insert all required values, do the same with .service.templates, then run

sudo ln mailredirector_mail.service /etc/systemd/system/mailredirector_mail.service
sudo ln mailredirector_mail.timer /etc/systemd/system/mailredirector_mail.timer
sudo ln mailredirector.service /etc/systemd/system/mailredirector.service
sudo ln mailredirector_telegram.service /etc/systemd/system/mailredirector_telegram.service
sudo systemctl daemon-reload
sudo systemctl enable mailredirector mailredirector_mail.service mailredirector_mail.timer mailredirector_telegram
sudo systemctl start mailredirector

Basic usage

/start and /help commands adds your chat to sending list. /stop removes your chat from sending list.

License

Licensed under GPLv3. See LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages