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.
6 lines
110 B
Bash
Executable File
6 lines
110 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo $0 > ../.data/post-data.out
|
|
|
|
echo -n "X-Post-DATA: valid header with no newline at the end"
|