This patch implements a post-DATA hook, which is run after receiving the data but before sending a reply. It can be used to implement content filtering when receiving email, for example for passing the email through an anti-spam or an anti-virus.
8 lines
123 B
Bash
Executable File
8 lines
123 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo $0 > ../.data/post-data.out
|
|
|
|
# Just a newline is quite problematic, as it would break the headers.
|
|
echo
|
|
|