I'm having trouble getting my web server's MTA (sendMail) to act upon
my .forward file when mail arrives at my domain? I created a .forward
file and have the following line in it:
"! u2/home/mailman"
It is susposed to call mailman, a perl script, as follows:
open (OUTFILE, ">/u2/home/rfresh/test.dat"); #open file for writing
close (OUTFILE); # close the file
exit(0); #exit perl script
When mail arrives at my primemail.com domain, the MTA should send it
to the perl script mailman based on what's in my .forward file but the
incoming test mails don't get written to the test.dat file. I've
tested the mailman script by piping into it's STDIN test mail data so
I know the script is working. The broken link is from the MTA to
forward file or .forward file to mailman.
Any help appreciated...
--Ralph