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 '"
| LICENSE | ||
| README.md | ||
| rewrite_from.py | ||
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
newaliasescommand.