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 '"
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Theodotos Andreou 0b9f69f28d Initial Commit před 5 roky
LICENSE Initial Commit před 5 roky
README.md Initial Commit před 5 roky
rewrite_from.py Initial Commit před 5 roky

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.