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 '"
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Theodotos Andreou 0b9f69f28d Initial Commit hace 5 años
LICENSE Initial Commit hace 5 años
README.md Initial Commit hace 5 años
rewrite_from.py Initial Commit hace 5 años

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.