I am stumped on this project. I am attempting to configure a script to handle an incoming email, parse the headers and enter the addresses into a database. The script works fine from command line when I have it open a mock text file with headers.
I simply have a .forward in a user folder named "bounce" that has the standard: (in /users/home/bounce)
"|/path/to/script.php"
on the first line. No matter what I put in script.php the script never executes when I email "bounce". The maillog even shows that /users/home/bounce/.forward is being opened so I know it gets that far.
I have a standard Redhat 7.1/Sendmail 8.x installation with zero customizations.
Any help at all would be appreciated as I am quite stumped on where to proceed from here. Let me know if you need more info. Just keep in mind the script itself works so I didn't supply the code, the problem is that mailing to "bounce" never executes the script even though a .forward file points to the script.
TIA!!!