A python script to get mail from info@example.com and re-write the 'From"' Header as "From: John Doe via info at example.com '"
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Theodotos Andreou 0b9f69f28d Initial Commit 5 роки тому
LICENSE Initial Commit 5 роки тому
README.md Initial Commit 5 роки тому
rewrite_from.py Initial Commit 5 роки тому

README.md

Rewrite ‘From’ Header

Description

A script to get mail from info@example.com and re-write the ‘From”’ Header as “From: John Doe via info at example.com noreply@example.com’”

Installation Instuctions

  • Place the script under /usr/local/sbin/rewrite_from.py.

  • Edit /etc/aliases:

info: "|/usr/local/sbin/rewrite_from.py"
  • Run the newaliases command.