https://github.com/bmwiedemann/postfixqueuetools
https://github.com/bmwiedemann/postfixqueuetools
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bmwiedemann/postfixqueuetools
- Owner: bmwiedemann
- Created: 2020-06-16T09:51:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T11:34:07.000Z (about 5 years ago)
- Last Synced: 2025-01-21T07:28:26.942Z (5 months ago)
- Language: Perl
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Why
Sometimes you need to manipulate files that are already in the postfix mail queue.
This repo provides tools for that task.
## Usage
`rewritepostqueue.sh MAILQUEUEID`
## Example Output
```
# rewritepostqueue.sh D31192C148
receiver: [email protected] -> [email protected]
length: 739 -> 738
```## Notes
The example code in the `rewritepostqueue` perl script replaces the recipient address domain part.
There are a few simplifications and assertions covered by a "die" - if you hit it, code needs to be extended.