Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmwiedemann/postfixqueuetools
https://github.com/bmwiedemann/postfixqueuetools
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bmwiedemann/postfixqueuetools
- Owner: bmwiedemann
- Created: 2020-06-16T09:51:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T11:34:07.000Z (over 4 years ago)
- Last Synced: 2024-11-20T09:26:19.812Z (about 1 month 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.