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 '"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 381B

5 years ago
123456789101112131415161718
  1. # Rewrite 'From' Header
  2. ## Description
  3. A script to get mail from info@example.com and re-write the 'From"' Header
  4. as "From: John Doe via info at example.com <noreply@example.com>'"
  5. ## Installation Instuctions
  6. * Place the script under */usr/local/sbin/rewrite_from.py*.
  7. * Edit */etc/aliases*:
  8. ```
  9. info: "|/usr/local/sbin/rewrite_from.py"
  10. ```
  11. * Run the `newaliases` command.