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.
9 lines
122 B
Bash
Executable File
9 lines
122 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo $0 > ../.data/post-data.out
|
|
|
|
echo "X-Post-DATA: This starts like a header"
|
|
echo
|
|
echo "But then is not"
|
|
|