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 '"
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Theodotos Andreou 0b9f69f28d Initial Commit il y a 5 ans
LICENSE Initial Commit il y a 5 ans
README.md Initial Commit il y a 5 ans
rewrite_from.py Initial Commit il y a 5 ans

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.